Commit 93652b14 by Ben Patterson

Custom firefox install for jenkins-worker.

parent aaacffff
......@@ -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
......
......@@ -74,7 +74,17 @@
chdir={{ jenkins_home }}
sudo_user: "{{ jenkins_user }}"
# Remove the shallow-clone directory now that we archive
# 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 }} copy=no
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment