Skip to content

Commit 632542a

Browse files
committed
github-bot: add IPs of Jenkins workers
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: nodejs#985 Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
1 parent 496fcfd commit 632542a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup/github-bot/resources/environment-file

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ LOGS_DIR=/home/{{server_user}}/logs
99
JENKINS_API_CREDENTIALS={{envs.jenkins_api_credentials}}
1010
JENKINS_JOB_URL_CITGM={{envs.jenkins_job_url_citgm}}
1111
JENKINS_BUILD_TOKEN_CITGM={{envs.jenkins_build_token_citgm}}
12+
JENKINS_WORKER_IPS=147.75.69.113,147.75.73.189

0 commit comments

Comments
 (0)