Skip to content

Commit

Permalink
github-bot: add IPs of Jenkins workers
Browse files Browse the repository at this point in the history
Providing `$JENKINS_WORKER_IPS` environment variable at startup will
activate the whitelist implemented in the bot, validating who's allowed
pushed Jenkins job updates to inline PRs on github.com.

Refs nodejs/github-bot#142
  • Loading branch information
phillipj committed Nov 7, 2017
1 parent 6fbe300 commit 706cd9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup/github-bot/resources/environment-file
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ LOGS_DIR=/home/{{server_user}}/logs
JENKINS_API_CREDENTIALS={{envs.jenkins_api_credentials}}
JENKINS_JOB_URL_CITGM={{envs.jenkins_job_url_citgm}}
JENKINS_BUILD_TOKEN_CITGM={{envs.jenkins_build_token_citgm}}
JENKINS_WORKER_IPS=147.75.69.113,147.75.73.189

0 comments on commit 706cd9c

Please sign in to comment.