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
9a356610
Commit
9a356610
authored
Aug 24, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Oracle Java 8 on Jenkins workers.
parent
2c2ee6d8
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
18 deletions
+17
-18
playbooks/roles/jenkins_worker/meta/main.yml
+6
-0
playbooks/roles/jenkins_worker/tasks/java.yml
+0
-3
playbooks/roles/jenkins_worker/tasks/main.yml
+0
-1
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
+2
-2
playbooks/roles/jenkins_worker/tasks/test.yml
+2
-2
playbooks/roles/oraclejdk/tasks/main.yml
+1
-1
playbooks/roles/sitespeedio/meta/main.yml
+6
-9
No files found.
playbooks/roles/jenkins_worker/meta/main.yml
View file @
9a356610
...
...
@@ -2,6 +2,12 @@
dependencies
:
-
common
-
jscover
-
role
:
oraclejdk
oraclejdk_version
:
"
8u60"
oraclejdk_base
:
"
jdk1.8.0_60"
oraclejdk_build
:
"
b27"
oraclejdk_link
:
"
/usr/lib/jvm/java-8-oracle"
# dependencies for edx-app jenkins worker:
-
role
:
edxapp_common
when
:
platform_worker is defined
...
...
playbooks/roles/jenkins_worker/tasks/java.yml
deleted
100644 → 0
View file @
2c2ee6d8
---
-
name
:
Install Java
apt
:
pkg=openjdk-7-jre-headless state=present
playbooks/roles/jenkins_worker/tasks/main.yml
View file @
9a356610
...
...
@@ -9,7 +9,6 @@
-
include
:
packer.yml
-
include
:
system.yml
-
include
:
python.yml
-
include
:
java.yml
# only platform workers
-
include
:
ruby.yml
...
...
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
View file @
9a356610
...
...
@@ -47,7 +47,7 @@
requirements={{ jenkins_home }}/shallow-clone/requirements/edx/{{ item }}
extra_args="--exists-action=w"
virtualenv={{ jenkins_home }}/edx-venv
virtualenv_command=virtualenv
-2.7
virtualenv_command=virtualenv
executable=pip
with_items
:
-
pre.txt
...
...
@@ -69,7 +69,7 @@
requirements={{ jenkins_home }}/shallow-clone/requirements/edx/{{ item }}
extra_args="--exists-action=w"
virtualenv={{ jenkins_home }}/edx-venv
virtualenv_command=virtualenv
-2.7
virtualenv_command=virtualenv
executable=pip
with_items
:
-
post.txt
...
...
playbooks/roles/jenkins_worker/tasks/test.yml
View file @
9a356610
...
...
@@ -3,9 +3,9 @@
### Tests ###
-
name
:
Verify java cmd is using v 1.
7
-
name
:
Verify java cmd is using v 1.
8
shell
:
java -version
register
:
java_version
-
assert
:
that
:
-
"
'1.
7
.0'
in
java_version.stderr"
-
"
'1.
8
.0'
in
java_version.stderr"
playbooks/roles/oraclejdk/tasks/main.yml
View file @
9a356610
...
...
@@ -33,7 +33,7 @@
creates=/usr/lib/jvm/{{ oraclejdk_base }}
-
name
:
create symlink expected by elasticsearch
file
:
src=/usr/lib/jvm/{{ oraclejdk_base }} dest={{ oraclejdk_link }} state=link
file
:
src=/usr/lib/jvm/{{ oraclejdk_base }} dest={{ oraclejdk_link }} state=link
force=yes
-
name
:
update alternatives java
alternatives
:
>
...
...
playbooks/roles/sitespeedio/meta/main.yml
View file @
9a356610
...
...
@@ -10,14 +10,11 @@
##
# Role includes for role sitespeedio
#
# Example:
#
# dependencies:
# - {
# role: my_role
# my_role_var0: "foo"
# my_role_var1: "bar"
# }
dependencies
:
-
oraclejdk
-
role
:
oraclejdk
oraclejdk_version
:
"
8u60"
oraclejdk_base
:
"
jdk1.8.0_60"
oraclejdk_build
:
"
b27"
oraclejdk_link
:
"
/usr/lib/jvm/java-8-oracle"
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