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
36cd0ea2
Commit
36cd0ea2
authored
Oct 17, 2017
by
Michael Youngstrom
Committed by
GitHub
Oct 17, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4151 from edx/youngstrom/jenkins_common_simplify_deploy
Add tag for deploying test jenkins to build jenkins
parents
5f114313
b45ce0a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletions
+16
-1
playbooks/edx-east/jenkins_build.yml
+3
-1
playbooks/roles/jenkins_common/meta/main.yml
+1
-0
playbooks/roles/jenkins_common/tasks/main.yml
+12
-0
No files found.
playbooks/edx-east/jenkins_build.yml
View file @
36cd0ea2
...
...
@@ -64,5 +64,7 @@
# e.g. ansible-playbook jenkins_testeng_master.yml -i inventory.ini --tags "splunkonly" -vvvv
-
role
:
splunkforwarder
when
:
COMMON_ENABLE_SPLUNKFORWARDER
tags
:
splunkonly
tags
:
-
splunkonly
-
jenkins:promote-to-production
become
:
True
playbooks/roles/jenkins_common/meta/main.yml
View file @
36cd0ea2
...
...
@@ -17,5 +17,6 @@ dependencies:
jenkins_server_name
:
"
{{
JENKINS_SERVER_NAME
}}"
jenkins_port
:
"
{{
jenkins_common_port
}}"
jenkins_protocol_https
:
"
{{
jenkins_common_protocol_https
}}"
tags
:
jenkins:promote-to-production
-
role
:
oraclejdk
tags
:
java
playbooks/roles/jenkins_common/tasks/main.yml
View file @
36cd0ea2
...
...
@@ -164,11 +164,22 @@
owner
:
'
{{
jenkins_common_user
}}'
group
:
'
{{
jenkins_common_group
}}'
with_items
:
'
{{
jenkins_common_non_plugin_template_files
}}'
register
:
templates_copied
tags
:
-
install
-
install:base
-
install:jenkins-configuration
-
name
:
Update Github OAUTH settings when promoting jenkins instance to production
template
:
src
:
'
{{
role_path
}}/templates/config/security.yml.j2'
dest
:
'
{{
jenkins_common_config_path
}}/security.yml'
owner
:
'
{{
jenkins_common_user
}}'
group
:
'
{{
jenkins_common_group
}}'
when
:
'
"security"
in
jenkins_common_non_plugin_template_files
and
templates_copied
is
not
defined'
tags
:
-
jenkins:promote-to-production
-
name
:
Copy plugins.yml config file
template
:
src
:
'
{{
role_path
}}/templates/config/plugins.yml.j2'
...
...
@@ -268,3 +279,4 @@
-
manage:start
-
install:plugins
-
install:jenkins-configuration
-
jenkins:promote-to-production
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