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
OpenEdx
configuration
Commits
70561b9b
Commit
70561b9b
authored
9 years ago
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ruby from jenkins-workers.
parent
33ae37fb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
17 deletions
+4
-17
playbooks/roles/jenkins_worker/defaults/main.yml
+2
-4
playbooks/roles/jenkins_worker/meta/main.yml
+0
-6
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
+1
-1
playbooks/roles/jenkins_worker/templates/jenkins_env.j2
+0
-6
util/packer/jenkins_worker.json
+1
-0
No files found.
playbooks/roles/jenkins_worker/defaults/main.yml
View file @
70561b9b
...
...
@@ -6,15 +6,13 @@ jenkins_home: /home/jenkins
# repo for nodejs
jenkins_chrislea_ppa
:
"
ppa:chris-lea/node.js"
jenkins_edx_platform_version
:
master
# System packages
jenkins_debian_pkgs
:
-
nodejs
-
pkg-config
# Ruby Specific Vars
jenkins_rbenv_root
:
"
{{
jenkins_home
}}/.rbenv"
jenkins_ruby_version
:
"
1.9.3-p374"
# packer direct download URL
packer_url
:
"
https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip"
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/jenkins_worker/meta/main.yml
View file @
70561b9b
...
...
@@ -11,12 +11,6 @@ dependencies:
# dependencies for edx-app jenkins worker:
-
role
:
edxapp_common
when
:
platform_worker is defined
-
role
:
rbenv
rbenv_user
:
"
{{
jenkins_user
}}"
rbenv_dir
:
"
{{
jenkins_home
}}"
rbenv_ruby_version
:
"
{{
jenkins_ruby_version
}}"
jenkins_worker
:
true
when
:
platform_worker is defined
# dependencies for sitespeed worker
-
role
:
sitespeedio
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
View file @
70561b9b
...
...
@@ -9,7 +9,7 @@
git
:
>
repo=https://github.com/edx/edx-platform.git
dest={{ jenkins_home }}/shallow-clone
version=
master
version=
{{ jenkins_edx_platform_version }}
depth=1
sudo_user
:
"
{{
jenkins_user
}}"
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/jenkins_worker/templates/jenkins_env.j2
View file @
70561b9b
# Configure Ruby
export GEM_ROOT="{{ jenkins_home }}/.gem"
export GEM_HOME="{{ jenkins_home }}/.gem"
export PATH="{{ jenkins_rbenv_root }}/bin:{{jenkins_rbenv_root }}/shims:{{ jenkins_home }}/.gem/bin:$PATH"
export RBENV_ROOT="{{ jenkins_rbenv_root }}"
# Configure JavaScript coverage
export JSCOVER_JAR=/usr/local/bin/JSCover-all-{{ jscover_version }}.jar
...
...
This diff is collapsed.
Click to expand it.
util/packer/jenkins_worker.json
View file @
70561b9b
...
...
@@ -68,6 +68,7 @@
"command"
:
"source {{user `playbook_remote_dir`}}/packer-venv/bin/activate && ansible-playbook"
,
"inventory_groups"
:
"jenkins_worker"
,
"extra_arguments"
:
[
"-e
\"
jenkins_edx_platform_version={{user `test_platform_version`}}
\"
"
,
"-vvv"
]
},
{
...
...
This diff is collapsed.
Click to expand it.
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