Commit f740632e by Michael Youngstrom

fix ghprb config and ec2

parent 1ec301dd
...@@ -28,7 +28,7 @@ CLOUDS: ...@@ -28,7 +28,7 @@ CLOUDS:
REMOTE_ADMIN: '{{ ami.REMOTE_ADMIN }}' REMOTE_ADMIN: '{{ ami.REMOTE_ADMIN }}'
ROOT_COMMAND_PREFIX: '{{ ami.ROOT_COMMAND_PREFIX }}' ROOT_COMMAND_PREFIX: '{{ ami.ROOT_COMMAND_PREFIX }}'
JVM_OPTIONS: '{{ ami.JVM_OPTIONS }}' JVM_OPTIONS: '{{ ami.JVM_OPTIONS }}'
STOP_ON_TERMINATE: '{{ ami.STOP_ON_TERMINATE }}' STOP_ON_TERMINATE: {{ ami.STOP_ON_TERMINATE }}
SUBNET_ID: '{{ ami.SUBNET_ID }}' SUBNET_ID: '{{ ami.SUBNET_ID }}'
TAGS: TAGS:
{% for tag in ami.TAGS %} {% for tag in ami.TAGS %}
...@@ -36,9 +36,9 @@ CLOUDS: ...@@ -36,9 +36,9 @@ CLOUDS:
VALUE: '{{ tag.VALUE }}' VALUE: '{{ tag.VALUE }}'
{% endfor %} {% endfor %}
IDLE_TERMINATION_MINUTES: '{{ ami.IDLE_TERMINATION_MINUTES }}' 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 }}' INSTANCE_CAP: '{{ ami.INSTANCE_CAP }}'
IAM_INSTANCE_PROFILE: '{{ ami.IAM_INSTANCE_PROFILE }}' 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 }}' LAUNCH_TIMEOUT: '{{ ami.LAUNCH_TIMEOUT }}'
{% endfor %} {% endfor %}
--- ---
OAUTH_SETTINGS: SERVER_API_URL: 'https://api.github.com'
GITHUB_WEB_URI: 'https://github.com' ACCESS_TOKEN: '{{ JENKINS_GHPRB_TOKEN }}'
GITHUB_API_URI: 'https://api.github.com' ADMIN_LIST:
CLIENT_ID: '{{ JENKINS_SECURITY_CLIENT_ID }}' {% for admin in JENKINS_GHPRB_ADMIN_LIST %}
CLIENT_SECRET: '{{ JENKINS_SECURITY_CLIENT_SECRET }}' - '{{ admin }}'
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 }}'
{% endfor %} {% endfor %}
- NAME: 'admin' REQUEST_TESTING_PHRASE: ''
PERMISSIONS: WHITE_LIST_PHRASE: '.*[Aa]dd\W+to\W+whitelist.*'
- 'hudson.model.Hudson.Administer' OK_PHRASE: '.*ok\W+to\W+test.*'
USERS: RETEST_PHRASE: '.*jenkins\W+run\W+all.*'
{% for user in JENKINS_SECURITY_ADMIN_LIST %} SKIP_PHRASE: '.*\[[Ss]kip\W+ci\].*'
- '{{ user }}' 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 %} {% endfor %}
- NAME: 'bots' WHITE_LIST_LABELS:
PERMISSIONS: {% for whitelist in JENKINS_GHPRB_WHITE_LIST %}
- 'hudson.model.Item.Cancel' - '{{ whitelist }}'
- 'hudson.model.Item.Read'
- 'hudson.model.Run.Update'
USERS:
{% for user in JENKINS_SECURITY_BOT_LIST %}
- '{{ user }}'
{% endfor %} {% 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment