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
5a081f3b
Commit
5a081f3b
authored
Jul 25, 2017
by
nadeemshahzad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upgrade GoCD
parent
932f5f69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
playbooks/roles/go-server/defaults/main.yml
+8
-5
playbooks/roles/go-server/tasks/main.yml
+9
-4
No files found.
playbooks/roles/go-server/defaults/main.yml
View file @
5a081f3b
...
...
@@ -13,17 +13,20 @@
GO_SERVER_SERVICE_NAME
:
"
go-server"
GO_SERVER_USER
:
"
go"
GO_SERVER_GROUP
:
"
{{
GO_SERVER_USER
}}"
GO_SERVER_VERSION
:
"
17.
1.0-4511
"
GO_SERVER_VERSION
:
"
17.
7.0-5147
"
GO_SERVER_HOME
:
"
/var/lib/go-server"
GO_SERVER_CONF_HOME
:
"
/etc/go"
GO_SERVER_PLUGIN_DIR
:
"
{{
GO_SERVER_HOME
}}/plugins/external/"
# Java version settings
GO_SERVER_ORACLEJDK_VERSION
:
"
8u
65
"
GO_SERVER_ORACLEJDK_BASE
:
"
jdk1.8.0_
65
"
GO_SERVER_ORACLEJDK_BUILD
:
"
b1
7
"
GO_SERVER_ORACLEJDK_VERSION
:
"
8u
131
"
GO_SERVER_ORACLEJDK_BASE
:
"
jdk1.8.0_
131
"
GO_SERVER_ORACLEJDK_BUILD
:
"
b1
1
"
GO_SERVER_ORACLEJDK_LINK
:
"
/usr/lib/jvm/java-8-oracle"
#Openjdk PPA Apt source
openjdk_apt_source
:
"
ppa:openjdk-r/ppa"
# java tuning
GO_SERVER_JAVA_HOME
:
"
{{
GO_SERVER_ORACLEJDK_LINK
}}"
...
...
@@ -31,7 +34,7 @@ GO_SERVER_JAVA_HOME: "{{ GO_SERVER_ORACLEJDK_LINK }}"
GO_SERVER_APT_SOURCE
:
"
deb
https://download.gocd.io
/"
GO_SERVER_APT_KEY_URL
:
"
https://download.gocd.io/GOCD-GPG-KEY.asc"
GO_SERVER_APT_NAME
:
"
go-server"
GO_SERVER_APT_PKGS
:
[
"
apache2-utils"
]
GO_SERVER_APT_PKGS
:
[
"
apache2-utils"
,
"
openjdk-8-jre-headless"
]
# gocd-oauth-login
GO_SERVER_OAUTH_LOGIN_VERSION
:
"
1.2"
...
...
playbooks/roles/go-server/tasks/main.yml
View file @
5a081f3b
...
...
@@ -40,10 +40,9 @@
url
:
"
{{
GO_SERVER_APT_KEY_URL
}}"
state
:
present
-
name
:
install go-server using apt-get
apt
:
name
:
"
{{
GO_SERVER_APT_NAME
}}={{
GO_SERVER_VERSION
}}"
update_cache
:
yes
-
name
:
install openjdk ppa repository
apt_repository
:
repo
:
"
{{
openjdk_apt_source
}}"
state
:
present
-
name
:
install other needed system packages
...
...
@@ -54,6 +53,12 @@
cache_valid_time
:
3600
with_items
:
"
{{
GO_SERVER_APT_PKGS
}}"
-
name
:
install go-server using apt-get
apt
:
name
:
"
{{
GO_SERVER_APT_NAME
}}={{
GO_SERVER_VERSION
}}"
update_cache
:
yes
state
:
present
-
name
:
create go-server plugin directory
file
:
path
:
"
{{
GO_SERVER_PLUGIN_DIR
}}"
...
...
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