Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github-bot: add IPs of Jenkins workers #985

Merged
merged 3 commits into from
Nov 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ Unsorted stuff of things we need to do/think about
- [ ] add explicit ARCH and DESTCPU for release machines (RV: I'm adding
"arm64" manually for both to force the right thing, from memory I've
needed to do this on x86 and x64, best be explicit to be sure)
- [ ] github-bot: automate list of whitelisted Jenkins worker IPs with
python

[callback]: plugins/inventory/nodejs_yaml.py

2 changes: 2 additions & 0 deletions ansible/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ hosts:
centos7-arm64-2: {ip: 147.75.74.254}
ubuntu1604-arm64-1: {ip: 147.75.77.130}
ubuntu1604-arm64-2: {ip: 147.75.74.174}
# when adding, removing or changing the IPs below,
# remember to update Jenkins worker IP whitelist in github-bot
ubuntu1604-x64-1: {ip: 147.75.69.113, alias: jenkins-workspace-1}
ubuntu1604-x64-2: {ip: 147.75.73.189, alias: jenkins-workspace-2}

Expand Down
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