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
OpenEdx
configuration
Commits
1dc00c73
Commit
1dc00c73
authored
Oct 06, 2017
by
Stu Young
Committed by
GitHub
Oct 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4134 from edx/estute/configure-jenkins-gh-plugin
add generic config for github plugin
parents
0677092e
542f2e99
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
playbooks/roles/jenkins_build/defaults/main.yml
+4
-0
playbooks/roles/jenkins_build/meta/main.yml
+1
-0
playbooks/roles/jenkins_common/defaults/main.yml
+9
-0
playbooks/roles/jenkins_common/templates/config/github_config.yml.j2
+8
-0
No files found.
playbooks/roles/jenkins_build/defaults/main.yml
View file @
1dc00c73
...
...
@@ -11,6 +11,7 @@ build_jenkins_configuration_scripts:
-
4configureGHOAuth.groovy
-
4configureGHPRB.groovy
-
4configureGit.groovy
-
4configureGithub.groovy
-
4configureHipChat.groovy
-
4configureJobConfigHistory.groovy
-
4configureMailerPlugin.groovy
...
...
@@ -210,6 +211,9 @@ build_jenkins_ghprb_retest_phrase: '.*jenkins\W+run\W+all.*'
build_jenkins_ghprb_skip_phrase
:
'
.*\[[Ss]kip\W+ci\].*'
build_jenkins_ghprb_cron_schedule
:
'
H/5
*
*
*
*'
# github
JENKINS_GITHUB_CONFIG
:
'
'
# hipchat
build_jenkins_hipchat_room
:
'
testeng'
...
...
playbooks/roles/jenkins_build/meta/main.yml
View file @
1dc00c73
...
...
@@ -12,6 +12,7 @@ dependencies:
jenkins_common_ghprb_retest_phrase
:
'
{{
build_jenkins_ghprb_retest_phrase
}}'
jenkins_common_ghprb_skip_phrase
:
'
{{
build_jenkins_ghprb_skip_phrase
}}'
jenkins_common_ghprb_cron_schedule
:
'
{{
build_jenkins_ghprb_cron_schedule
}}'
jenkins_common_github_configs
:
'
{{
JENKINS_GITHUB_CONFIG
}}'
jenkins_common_hipchat_room
:
'
{{
build_jenkins_hipchat_room
}}'
jenkins_common_instance_cap
:
'
{{
build_jenkins_instance_cap
}}'
jenkins_common_seed_name
:
'
{{
build_jenkins_seed_name
}}'
...
...
playbooks/roles/jenkins_common/defaults/main.yml
View file @
1dc00c73
...
...
@@ -29,6 +29,7 @@ jenkins_common_non_plugin_template_files:
-
ec2_config
-
ghprb_config
-
git_config
-
github_config
-
hipchat_config
-
job_config_history
-
log_config
...
...
@@ -128,6 +129,14 @@ JENKINS_SECURITY_GROUPS: []
JENKINS_GIT_NAME
:
'
jenkins'
JENKINS_GIT_EMAIL
:
'
jenkins@example.com'
# github
jenkins_common_github_configs
:
-
CREDENTIAL_ID
:
'
'
MANAGE_HOOKS
:
false
USE_CUSTOM_API_URL
:
false
GITHUB_API_URL
:
'
'
CACHE_SIZE
:
20
# hipchat
jenkins_common_hipchat_room
:
'
'
JENKINS_HIPCHAT_API_TOKEN
:
'
'
...
...
playbooks/roles/jenkins_common/templates/config/github_config.yml.j2
0 → 100644
View file @
1dc00c73
---
{% for config in jenkins_common_github_configs %}
- CREDENTIAL_ID: '{{ config.GITHUB_CREDENTIAL_ID }}'
MANAGE_HOOKS: '{{ config.GITHUB_MANAGE_HOOKS }}'
USE_CUSTOM_API_URL: '{{ config.GITHUB_USE_CUSTOM_API_URL }}'
API_URL: '{{ config.GITHUB_API_URL }}'
CACHE_SIZE: '{{ config.GITHUB_CACHE_SIZE}}'
{% endfor %}
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