Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
f740632e
Commit
f740632e
authored
Sep 06, 2017
by
Michael Youngstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ghprb config and ec2
parent
1ec301dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
42 deletions
+36
-42
playbooks/roles/jenkins_build/templates/ec2_config.yml.j2
+3
-3
playbooks/roles/jenkins_build/templates/ghprb_config.yml.j2
+33
-39
No files found.
playbooks/roles/jenkins_build/templates/ec2_config.yml.j2
View file @
f740632e
...
...
@@ -28,7 +28,7 @@ CLOUDS:
REMOTE_ADMIN: '{{ ami.REMOTE_ADMIN }}'
ROOT_COMMAND_PREFIX: '{{ ami.ROOT_COMMAND_PREFIX }}'
JVM_OPTIONS: '{{ ami.JVM_OPTIONS }}'
STOP_ON_TERMINATE:
'{{ ami.STOP_ON_TERMINATE }}'
STOP_ON_TERMINATE:
{{ ami.STOP_ON_TERMINATE }}
SUBNET_ID: '{{ ami.SUBNET_ID }}'
TAGS:
{% for tag in ami.TAGS %}
...
...
@@ -36,9 +36,9 @@ CLOUDS:
VALUE: '{{ tag.VALUE }}'
{% endfor %}
IDLE_TERMINATION_MINUTES: '{{ ami.IDLE_TERMINATION_MINUTES }}'
USE_PRIVATE_DNS_NAME:
'{{ ami.USE_PRIVATE_DNS_NAME }}'
USE_PRIVATE_DNS_NAME:
{{ ami.USE_PRIVATE_DNS_NAME }}
INSTANCE_CAP: '{{ ami.INSTANCE_CAP }}'
IAM_INSTANCE_PROFILE: '{{ ami.IAM_INSTANCE_PROFILE }}'
USE_EPHEMERAL_DEVICES:
'{{ ami.USE_EPHEMERAL_DEVICES }}'
USE_EPHEMERAL_DEVICES:
{{ ami.USE_EPHEMERAL_DEVICES }}
LAUNCH_TIMEOUT: '{{ ami.LAUNCH_TIMEOUT }}'
{% endfor %}
playbooks/roles/jenkins_build/templates/ghprb_config.yml.j2
View file @
f740632e
---
OAUTH_SETTINGS:
GITHUB_WEB_URI: 'https://github.com'
GITHUB_API_URI: 'https://api.github.com'
CLIENT_ID: '{{ JENKINS_SECURITY_CLIENT_ID }}'
CLIENT_SECRET: '{{ JENKINS_SECURITY_CLIENT_SECRET }}'
SCOPES: 'read:org,user:email'
SECURITY_GROUPS:
- NAME: 'anonymous'
PERMISSIONS:
- 'hudson.model.Hudson.Read'
- 'hudson.model.Item.Discover'
- 'hudson.model.Item.Read'
USERS:
- 'anonymous'
- NAME: 'edx'
PERMISSIONS:
- 'hudson.model.Hudson.Read'
- 'hudson.model.Item.Build'
- 'hudson.model.Item.Cancel'
- 'hudson.model.Item.Read'
- 'hudson.model.Run.Delete'
- 'hudson.model.Run.Update'
USERS:
{% for user in JENKINS_SECURITY_EDX_USERS_LIST %}
- '{{ user }}'
SERVER_API_URL: 'https://api.github.com'
ACCESS_TOKEN: '{{ JENKINS_GHPRB_TOKEN }}'
ADMIN_LIST:
{% for admin in JENKINS_GHPRB_ADMIN_LIST %}
- '{{ admin }}'
{% endfor %}
- NAME: 'admin'
PERMISSIONS:
- 'hudson.model.Hudson.Administer'
USERS:
{% for user in JENKINS_SECURITY_ADMIN_LIST %}
- '{{ user }}'
REQUEST_TESTING_PHRASE: ''
WHITE_LIST_PHRASE: '.*[Aa]dd\W+to\W+whitelist.*'
OK_PHRASE: '.*ok\W+to\W+test.*'
RETEST_PHRASE: '.*jenkins\W+run\W+all.*'
SKIP_PHRASE: '.*\[[Ss]kip\W+ci\].*'
CRON_SCHEDULE: 'H/5 * * * *'
USE_COMMENTS: false
USE_DETAILED_COMMENTS: false
MANAGE_WEBHOOKS: false
UNSTABLE_AS: 'pending'
AUTO_CLOSE_FAILED_PRS: false
DISPLAY_ERRORS_DOWNSTREAM: true
BLACK_LIST_LABELS:
{% for blacklist in JENKINS_GHPRB_BLACK_LIST %}
- '{{ blacklist }}'
{% endfor %}
- NAME: 'bots'
PERMISSIONS:
- 'hudson.model.Item.Cancel'
- 'hudson.model.Item.Read'
- 'hudson.model.Run.Update'
USERS:
{% for user in JENKINS_SECURITY_BOT_LIST %}
- '{{ user }}'
WHITE_LIST_LABELS:
{% for whitelist in JENKINS_GHPRB_WHITE_LIST %}
- '{{ whitelist }}'
{% endfor %}
GITHUB_AUTH: ''
SIMPLE_STATUS: ''
PUBLISH_JENKINS_URL: ''
BUILD_LOG_LINES_TO_DISPLAY: ''
RESULT_MESSAGES:
- STATUS: 'FAILURE'
MESSAGE: 'Test FAILed.'
- STATUS: 'SUCCESS'
MESSAGE: 'Test PASSed.'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment