Gitlab-runner on host with endpoint-device

Hello,

I am wondering about one theoretical problem, i have several gitlab runners as Docker Containers on hosts to which endpoint device are connected via Ethernet cable.

I would like the endpoint device to be turned on only when Gitlab calls a specific Gitlab-runner (the endpoint device is controlled separately) and turned off as soon as the job is completed and the given gitlab-runner is temporarily unemployed.

I don’t know how to approach this problem yet, any suggestions?

Gitlab Server - 16.0.3-CE
Gitlab-runner - 16.0.1

Thanks for all ideas :slightly_smiling_face: