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
15ef2449
Commit
15ef2449
authored
Jul 23, 2018
by
Michael Youngstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump plugins
parent
5871a81c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
41 deletions
+19
-41
playbooks/roles/jenkins_build/defaults/main.yml
+10
-7
playbooks/roles/jenkins_common/defaults/main.yml
+1
-3
playbooks/roles/jenkins_common/tasks/main.yml
+0
-14
playbooks/roles/jenkins_common/templates/config/credentials.yml.j2
+8
-17
No files found.
playbooks/roles/jenkins_build/defaults/main.yml
View file @
15ef2449
...
...
@@ -36,6 +36,9 @@ build_jenkins_plugins_list:
-
name
:
'
antisamy-markup-formatter'
version
:
'
1.5'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
badge'
version
:
'
1.5'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
bouncycastle-api'
version
:
'
2.16.1'
group
:
'
org.jenkins-ci.plugins'
...
...
@@ -61,13 +64,13 @@ build_jenkins_plugins_list:
version
:
'
1.5'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
cobertura'
version
:
'
1.11'
version
:
'
1.1
2.
1'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
copyartifact'
version
:
'
1.39'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
credentials'
version
:
'
2.1.1
6
'
version
:
'
2.1.1
8
'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
credentials-binding'
version
:
'
1.15'
...
...
@@ -100,16 +103,16 @@ build_jenkins_plugins_list:
version
:
'
1.42.0'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
git'
version
:
'
3.
8.0
'
version
:
'
3.
9.1
'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
github'
version
:
'
1.2
8.1
'
version
:
'
1.2
9.2
'
group
:
'
com.coravy.hudson.plugins.github'
-
name
:
'
github-api'
version
:
'
1.90'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
github-branch-source'
version
:
'
2.3.
3
'
version
:
'
2.3.
6
'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
github-oauth'
version
:
'
0.29'
...
...
@@ -157,7 +160,7 @@ build_jenkins_plugins_list:
version
:
'
1.12'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
maven-plugin'
version
:
'
3.1'
version
:
'
3.1
.2
'
group
:
'
org.jenkins-ci.main'
-
name
:
'
monitoring'
version
:
'
1.71.0'
...
...
@@ -205,7 +208,7 @@ build_jenkins_plugins_list:
version
:
'
1.14'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
ssh-credentials'
version
:
'
1.1
3
'
version
:
'
1.1
4
'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
ssh-slaves'
version
:
'
1.26'
...
...
playbooks/roles/jenkins_common/defaults/main.yml
View file @
15ef2449
...
...
@@ -123,8 +123,7 @@ JENKINS_SECRET_FILES_LIST: []
JENKINS_USERNAME_PASSWORD_LIST
:
[]
JENKINS_SECRET_TEXT_LIST
:
[]
JENKINS_CERTIFICATES_LIST
:
[]
JENKINS_MASTER_SSH_LIST
:
[]
JENKINS_CUSTOM_SSH_LIST
:
[]
JENKINS_SSH_LIST
:
[]
# security
jenkins_common_dsl_script_security_enabled
:
true
...
...
@@ -147,7 +146,6 @@ jenkins_common_github_configs:
CACHE_SIZE
:
20
# github oauth settings
jenkins_common_security_scopes
:
'
read:org,user:email'
JENKINS_SECURITY_CLIENT_ID
:
'
'
...
...
playbooks/roles/jenkins_common/tasks/main.yml
View file @
15ef2449
...
...
@@ -316,20 +316,6 @@
-
install:jenkins-configuration
-
jenkins:local-dev
-
name
:
Copy ssh key credentials
copy
:
content
:
"
{{
item.content
}}"
dest
:
'
{{
jenkins_common_config_path
}}/credentials/{{
item.name
}}'
owner
:
'
{{
jenkins_common_user
}}'
group
:
'
{{
jenkins_common_group
}}'
with_items
:
'
{{
JENKINS_CUSTOM_SSH_LIST
}}'
no_log
:
yes
tags
:
-
install
-
install:base
-
install:jenkins-configuration
-
jenkins:local-dev
-
name
:
Copy ec2 key
copy
:
content
:
'
{{
JENKINS_EC2_PRIVATE_KEY
}}'
...
...
playbooks/roles/jenkins_common/templates/config/credentials.yml.j2
View file @
15ef2449
...
...
@@ -30,22 +30,13 @@
description: '{{ cert.description }}'
id: '{{ cert.id }}'
{% endfor %}
{% for
master_ssh in JENKINS_MASTER
_SSH_LIST %}
{% for
ssh in JENKINS
_SSH_LIST %}
- credentialType: 'ssh'
scope: '{{ master_ssh.scope }}'
username: '{{ master_ssh.username }}'
isJenkinsMasterSsh: true
passphrase: '{{ master_ssh.passphrase }}'
description: '{{ master_ssh.description }}'
id: '{{ master_ssh.id }}'
{% endfor %}
{% for custom_ssh in JENKINS_CUSTOM_SSH_LIST %}
- credentialType: 'ssh'
scope: '{{ custom_ssh.scope }}'
username: '{{ custom_ssh.username }}'
isJenkinsMasterSsh: false
path: 'credentials/{{ custom_ssh.name }}'
passphrase: '{{ custom_ssh.passphrase }}'
description: '{{ custom_ssh.description }}'
id: '{{ custom_ssh.id }}'
scope: '{{ ssh.scope }}'
username: '{{ ssh.username }}'
sshKey: |
{{ ssh.sshKey | indent(4) }}
passphrase: '{{ ssh.passphrase }}'
description: '{{ ssh.description }}'
id: '{{ ssh.id }}'
{% 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