Skip to content

Commit

Permalink
Merge pull request pmem#6125 from grom72/proxy-domain
Browse files Browse the repository at this point in the history
common: fix proxy domain setup in self-hosted runner
  • Loading branch information
janekmi authored Oct 22, 2024
2 parents 08c91f0 + 79d4ac2 commit 5903626
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 5903626

Please sign in to comment.