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
4ddbacfe
Commit
4ddbacfe
authored
Oct 05, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Use aptitude to install google chrome
* Update ChromeDriver version
parent
919fdd0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
playbooks/roles/jenkins_worker/defaults/main.yml
+6
-0
playbooks/roles/jenkins_worker/tasks/browsers.yml
+10
-8
No files found.
playbooks/roles/jenkins_worker/defaults/main.yml
View file @
4ddbacfe
...
...
@@ -31,6 +31,12 @@ jenkins_debian_pkgs:
-
unzip
-
xml-twig-tools
# Chrome and ChromeDriver
chrome_apt_key
:
"
https://dl-ssl.google.com/linux/linux_signing_key.pub"
chrome_apt_repo
:
"
http://dl.google.com/linux/chrome/deb/"
chromedriver_version
:
2.3
chromedriver_url
:
"
http://chromedriver.storage.googleapis.com/{{
chromedriver_version
}}/chromedriver_linux64.zip"
# Ruby Specific Vars
rbenv_root
:
"
{{
jenkins_user_home
}}/.rbenv"
rbenv_repo
:
"
https://github.com/sstephenson/rbenv.git"
...
...
playbooks/roles/jenkins_worker/tasks/browsers.yml
View file @
4ddbacfe
...
...
@@ -23,19 +23,21 @@
-
name
:
jenkins_worker | Install Chrome dependencies
apt
:
pkg=libgconf2-4,libxss1,libnss3-1d,libcurl3,xdg-utils
-
name
:
jenkins_worker | Install Google Chrome
get_url
:
url=https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb dest=/var/tmp/google-chrome-stable_current_amd64.deb
-
name
:
jenkins_worker | Google Chrome apt key
apt_key
:
url={{ chrome_apt_key }} state=present
-
name
:
jenkins_worker | Google Chrome apt repo
apt_repository
:
repo='deb {{ chrome_apt_repo }} stable main'
-
name
:
jenkins_worker | Install Google Chrome 2
command
:
dpkg -i google-chrome-stable_current_amd64.deb
chdir=/var/tmp
ignore_errors
:
True
-
name
:
jenkins_worker | Install Google Chrome
apt
:
pkg=google-chrome-stable state=present update_cache=yes
-
name
:
jenkins_worker | Install ChromeDriver
get_url
:
url=https://chromedriver.googlecode.com/files/chromedriver_linux64_2.1.zip dest=/var/tmp/chromedriver_linux64_2.1.zip
get_url
:
url={{ chromedriver_url }}
dest=/var/tmp/chromedriver_{{ chromedriver_version }}.zip
-
name
:
jenkins_worker | Install ChromeDriver 2
shell
:
unzip /var/tmp/chromedriver_
linux64_2.1
.zip
shell
:
unzip /var/tmp/chromedriver_
{{ chromedriver_version }}
.zip
chdir=/var/tmp
-
name
:
jenkins_worker | Install ChromeDriver 3
...
...
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