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
4fae7318
Commit
4fae7318
authored
Sep 05, 2017
by
Michael Youngstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sort out tags
parent
2d3db0ef
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
4 deletions
+23
-4
playbooks/roles/jenkins_build/tasks/main.yml
+20
-2
playbooks/roles/jenkins_common/tasks/main.yml
+3
-2
No files found.
playbooks/roles/jenkins_build/tasks/main.yml
View file @
4fae7318
...
@@ -22,14 +22,25 @@
...
@@ -22,14 +22,25 @@
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:jenkins-configuration
-
name
:
Copy config files
-
name
:
Copy
non plugins.yml
config files
template
:
src={{ item }} dest='{{ build_jenkins_config_path }}/'
template
:
src={{ item }} dest='{{ build_jenkins_config_path }}/'
with_fileglob
:
with_fileglob
:
-
'
{{
role_path
}}/files/*'
-
'
{{
role_path
}}/files/*'
when
:
"
'plugins.yml'
not
in
item"
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:jenkins-configuration
-
name
:
Copy plugins.yml config file
template
:
src='{{ role_path }}/files/plugins.yml' dest='{{ build_jenkins_config_path }}/'
tags
:
-
install
-
install:base
-
install:plugins
-
install:jenkins-configuration
-
name
:
Copy ec2 config files
-
name
:
Copy ec2 config files
template
:
src={{ item }} dest='{{ build_jenkins_config_path }}/ec2/'
template
:
src={{ item }} dest='{{ build_jenkins_config_path }}/ec2/'
...
@@ -38,6 +49,7 @@
...
@@ -38,6 +49,7 @@
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:jenkins-configuration
-
name
:
Copy xml config files
-
name
:
Copy xml config files
template
:
src={{ item }} dest='{{ build_jenkins_config_path }}/xml/'
template
:
src={{ item }} dest='{{ build_jenkins_config_path }}/xml/'
...
@@ -46,6 +58,7 @@
...
@@ -46,6 +58,7 @@
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:jenkins-configuration
-
name
:
Run plugins.gradle
-
name
:
Run plugins.gradle
shell
:
'
./gradlew
-b
plugins.gradle
plugins'
shell
:
'
./gradlew
-b
plugins.gradle
plugins'
...
@@ -56,8 +69,9 @@
...
@@ -56,8 +69,9 @@
PLUGIN_CONFIG
:
'
{{
build_jenkins_config_path
}}/plugins.yml'
PLUGIN_CONFIG
:
'
{{
build_jenkins_config_path
}}/plugins.yml'
tags
:
tags
:
-
install
-
install
-
install:app-requirements
-
install:base
-
install:base
-
install:plugins
-
install:jenkins-configuration
-
name
:
Copy credentials into files
-
name
:
Copy credentials into files
copy
:
copy
:
...
@@ -68,6 +82,7 @@
...
@@ -68,6 +82,7 @@
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:jenkins-configuration
-
name
:
Copy ec2 key
-
name
:
Copy ec2 key
copy
:
copy
:
...
@@ -77,6 +92,7 @@
...
@@ -77,6 +92,7 @@
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:jenkins-configuration
-
name
:
Start Jenkins Service
-
name
:
Start Jenkins Service
systemd
:
systemd
:
...
@@ -86,3 +102,5 @@
...
@@ -86,3 +102,5 @@
tags
:
tags
:
-
manage
-
manage
-
manage:start
-
manage:start
-
install:plugins
-
install:jenkins-configuration
playbooks/roles/jenkins_common/tasks/main.yml
View file @
4fae7318
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:
plugins
-
install:
jenkins-configuration
-
name
:
Run gradle libs
-
name
:
Run gradle libs
shell
:
'
./gradlew
libs'
shell
:
'
./gradlew
libs'
...
@@ -89,6 +89,7 @@
...
@@ -89,6 +89,7 @@
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:jenkins-configuration
-
name
:
Copy init scripts into init.groovy.d
-
name
:
Copy init scripts into init.groovy.d
command
:
'
cp
{{
jenkins_common_git_home
}}/jenkins-configuration/{{
jenkins_common_configuration_src_path
}}/{{
item
}}
{{
jenkins_common_home
}}/init.groovy.d/'
command
:
'
cp
{{
jenkins_common_git_home
}}/jenkins-configuration/{{
jenkins_common_configuration_src_path
}}/{{
item
}}
{{
jenkins_common_home
}}/init.groovy.d/'
...
@@ -96,4 +97,4 @@
...
@@ -96,4 +97,4 @@
tags
:
tags
:
-
install
-
install
-
install:base
-
install:base
-
install:
plugins
-
install:
jenkins-configuration
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