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
542f2e99
Commit
542f2e99
authored
Oct 05, 2017
by
Stuart Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add generic config for github plugin
parent
31be8d3e
Hide 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 @
542f2e99
...
...
@@ -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 @
542f2e99
...
...
@@ -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 @
542f2e99
...
...
@@ -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 @
542f2e99
---
{% 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