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
531e32af
Commit
531e32af
authored
Jul 27, 2017
by
Nadeem Shahzad
Committed by
GitHub
Jul 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4013 from edx/nadeem/upgrade-gocd
upgrade GoCD
parents
6a3342cc
bf165da5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
19 deletions
+13
-19
playbooks/roles/go-server/defaults/main.yml
+4
-7
playbooks/roles/go-server/meta/main.yml
+0
-8
playbooks/roles/go-server/tasks/main.yml
+9
-4
No files found.
playbooks/roles/go-server/defaults/main.yml
View file @
531e32af
...
@@ -13,16 +13,13 @@
...
@@ -13,16 +13,13 @@
GO_SERVER_SERVICE_NAME
:
"
go-server"
GO_SERVER_SERVICE_NAME
:
"
go-server"
GO_SERVER_USER
:
"
go"
GO_SERVER_USER
:
"
go"
GO_SERVER_GROUP
:
"
{{
GO_SERVER_USER
}}"
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_HOME
:
"
/var/lib/go-server"
GO_SERVER_CONF_HOME
:
"
/etc/go"
GO_SERVER_CONF_HOME
:
"
/etc/go"
GO_SERVER_PLUGIN_DIR
:
"
{{
GO_SERVER_HOME
}}/plugins/external/"
GO_SERVER_PLUGIN_DIR
:
"
{{
GO_SERVER_HOME
}}/plugins/external/"
# Java version settings
#Openjdk PPA Apt source
GO_SERVER_ORACLEJDK_VERSION
:
"
8u65"
openjdk_apt_source
:
"
ppa:openjdk-r/ppa"
GO_SERVER_ORACLEJDK_BASE
:
"
jdk1.8.0_65"
GO_SERVER_ORACLEJDK_BUILD
:
"
b17"
GO_SERVER_ORACLEJDK_LINK
:
"
/usr/lib/jvm/java-8-oracle"
# java tuning
# java tuning
GO_SERVER_JAVA_HOME
:
"
{{
GO_SERVER_ORACLEJDK_LINK
}}"
GO_SERVER_JAVA_HOME
:
"
{{
GO_SERVER_ORACLEJDK_LINK
}}"
...
@@ -31,7 +28,7 @@ GO_SERVER_JAVA_HOME: "{{ GO_SERVER_ORACLEJDK_LINK }}"
...
@@ -31,7 +28,7 @@ GO_SERVER_JAVA_HOME: "{{ GO_SERVER_ORACLEJDK_LINK }}"
GO_SERVER_APT_SOURCE
:
"
deb
https://download.gocd.io
/"
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_KEY_URL
:
"
https://download.gocd.io/GOCD-GPG-KEY.asc"
GO_SERVER_APT_NAME
:
"
go-server"
GO_SERVER_APT_NAME
:
"
go-server"
GO_SERVER_APT_PKGS
:
[
"
apache2-utils"
]
GO_SERVER_APT_PKGS
:
[
"
apache2-utils"
,
"
openjdk-8-jdk"
]
# gocd-oauth-login
# gocd-oauth-login
GO_SERVER_OAUTH_LOGIN_VERSION
:
"
1.2"
GO_SERVER_OAUTH_LOGIN_VERSION
:
"
1.2"
...
...
playbooks/roles/go-server/meta/main.yml
View file @
531e32af
...
@@ -18,11 +18,3 @@
...
@@ -18,11 +18,3 @@
# my_role_var0: "foo"
# my_role_var0: "foo"
# my_role_var1: "bar"
# my_role_var1: "bar"
# }
# }
dependencies
:
-
role
:
oraclejdk
tags
:
java
oraclejdk_version
:
"
{{
GO_SERVER_ORACLEJDK_VERSION
}}"
oraclejdk_base
:
"
{{
GO_SERVER_ORACLEJDK_BASE
}}"
oraclejdk_build
:
"
{{
GO_SERVER_ORACLEJDK_BUILD
}}"
oraclejdk_link
:
"
{{
GO_SERVER_ORACLEJDK_LINK
}}"
playbooks/roles/go-server/tasks/main.yml
View file @
531e32af
...
@@ -40,10 +40,9 @@
...
@@ -40,10 +40,9 @@
url
:
"
{{
GO_SERVER_APT_KEY_URL
}}"
url
:
"
{{
GO_SERVER_APT_KEY_URL
}}"
state
:
present
state
:
present
-
name
:
install go-server using apt-get
-
name
:
install openjdk ppa repository
apt
:
apt_repository
:
name
:
"
{{
GO_SERVER_APT_NAME
}}={{
GO_SERVER_VERSION
}}"
repo
:
"
{{
openjdk_apt_source
}}"
update_cache
:
yes
state
:
present
state
:
present
-
name
:
install other needed system packages
-
name
:
install other needed system packages
...
@@ -54,6 +53,12 @@
...
@@ -54,6 +53,12 @@
cache_valid_time
:
3600
cache_valid_time
:
3600
with_items
:
"
{{
GO_SERVER_APT_PKGS
}}"
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
-
name
:
create go-server plugin directory
file
:
file
:
path
:
"
{{
GO_SERVER_PLUGIN_DIR
}}"
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