You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/10/22 16:59:46 UTC
[airflow-ci-infra] 01/01: Add labels to runner service
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch pass-labels-to-service
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git
commit 5375cfa7a2573d23a48564eec29bfe9d5ef27c79
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Oct 22 18:59:23 2023 +0200
Add labels to runner service
---
github-runner-ami/packer/files/actions.runner.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/github-runner-ami/packer/files/actions.runner.service b/github-runner-ami/packer/files/actions.runner.service
index 854bfb4..571f3b6 100644
--- a/github-runner-ami/packer/files/actions.runner.service
+++ b/github-runner-ami/packer/files/actions.runner.service
@@ -23,7 +23,7 @@ BindsTo=actions.runner-supervisor.service
[Service]
ExecStartPre=!/usr/local/sbin/runner-cleanup-workdir.sh
-ExecStart=/home/runner/actions-runner/run.sh --once --startuptype service
+ExecStart=/home/runner/actions-runner/run.sh --once --startuptype service --labels ${RUNNER_LABELS}
ExecStop=/usr/local/bin/stop-runner-if-no-job.sh $MAINPID
EnvironmentFile=/etc/environment
Environment=GITHUB_ACTIONS_RUNNER_CHANNEL_TIMEOUT=300