Skip to content

Commit

Permalink
common: fix proxy domain setup in self-hosted runner
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gromadzki <[email protected]>
  • Loading branch information
grom72 committed Oct 22, 2024
1 parent 09024d2 commit 79d4ac2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils/ansible/configure-self-hosted-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
# export GHA_TOKEN= # a GitHub token generated for a new self-hosted runner
# export HOST_NAME= # host's name that will be visible on GitHub
# export LABELS= # rhel or opensuse
# export VARS_GHA=http_proxy=http://proxy-dmz.{XXX}.com:911,https_proxy=http://proxy-dmz.{XXX}.com:912
# export DOMAIN= # your proxy domain
# export VARS_GHA=http_proxy=http://proxy-dmz.$DOMAIN.com:911,https_proxy=https://proxy-dmz.$DOMAIN.com:912
# ansible-playbook -i $TARGET_IP, configure-self-hosted-runner.yml --extra-vars \
# "host=all ansible_user=pmdkuser ansible_password=$USER_PASSWORD \
# runner_name=$HOST_NAME labels=$LABELS token=$GHA_TOKEN vars_gha=$VARS_GHA"
Expand All @@ -24,7 +25,8 @@
# export GHA_TOKEN= # a GitHub token generated for a new self-hosted runner
# export HOST_NAME= # Host name that will be visible on GitHub (e.g. `hostname`)
# export LABELS= # rhel or opensuse
# export VARS_GHA=http_proxy=http://proxy-dmz.{XXX}.com:911,https_proxy=http://proxy-dmz.{XXX}.com:912
# export DOMAIN= # your proxy domain
# export VARS_GHA=http_proxy=http://proxy-dmz.$DOMAIN.com:911,https_proxy=https://proxy-dmz.$DOMAIN.com:912
# ansible-playbook configure-self-hosted-runner.yml --extra-vars \
# "ansible_user=pmdkuser runner_name=$HOST_NAME labels=$LABELS vars_gha=$VARS_GHA token=$GHA_TOKEN"
#
Expand Down

0 comments on commit 79d4ac2

Please sign in to comment.