Skip to content

Commit 706cd9c

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 pushed Jenkins job updates to inline PRs on github.com. Refs nodejs/github-bot#142
1 parent 6fbe300 commit 706cd9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup/github-bot/resources/environment-file

+1
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)