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
17139320
Commit
17139320
authored
Mar 10, 2016
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2846 from edx/benp/custom-firefox
Custom firefox install for jenkins-worker.
parents
3d802bd4
fb8d84e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletions
+21
-1
playbooks/roles/jenkins_worker/defaults/main.yml
+4
-0
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
+17
-1
No files found.
playbooks/roles/jenkins_worker/defaults/main.yml
View file @
17139320
...
...
@@ -16,6 +16,10 @@ jenkins_debian_pkgs:
# packer direct download URL
packer_url
:
"
https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip"
# custom firefox
custom_firefox_version
:
42.0
custom_firefox_url
:
"
https://ftp.mozilla.org/pub/firefox/releases/{{
custom_firefox_version
}}/linux-x86_64/en-US/firefox-{{
custom_firefox_version
}}.tar.bz2"
# Pip-accel itself and other workarounds that need to be installed with pip
pip_accel_reqs
:
# Install Shapely with pip as it does not install cleanly
...
...
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
View file @
17139320
...
...
@@ -74,7 +74,23 @@
chdir={{ jenkins_home }}
sudo_user
:
"
{{
jenkins_user
}}"
# Remove the shallow-clone directory now that we ar
chiv
e
# Remove the shallow-clone directory now that we are
# done with it
-
name
:
Remove shallow-clone
file
:
path={{ jenkins_home }}/shallow-clone state=absent
# Although firefox is installed through the browsers role, install
# a newer copy under the jenkins home directory. This will allow
# platform pull requests to use a custom firefox path to a different
# version
-
name
:
Install custom firefox to jenkins home
get_url
:
url
:
"
{{
custom_firefox_url
}}"
dest
:
"
{{
jenkins_home
}}/firefox-{{
custom_firefox_version
}}.tar.bz2"
-
name
:
unpack custom firefox version
unarchive
:
src
:
"
{{
jenkins_home
}}/firefox-{{
custom_firefox_version
}}.tar.bz2"
dest
:
"
{{
jenkins_home
}}"
creates
:
"
{{
jenkins_home
}}/firefox"
copy
:
no
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