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
to pushed Jenkins job updates as inline PR statuses on github.com.

Refs: nodejs/github-bot#142
PR-URL: #985
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
  • Loading branch information
phillipj committed Nov 27, 2017
1 parent 496fcfd commit bc39ebf
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 bc39ebf

Please sign in to comment.