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
f9a84de3
Commit
f9a84de3
authored
Oct 27, 2016
by
stu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upgrading packer to 0.9.0
parent
600eafba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
playbooks/roles/jenkins_worker/defaults/main.yml
+2
-1
playbooks/roles/jenkins_worker/tasks/packer.yml
+6
-1
No files found.
playbooks/roles/jenkins_worker/defaults/main.yml
View file @
f9a84de3
...
@@ -17,7 +17,8 @@ jenkins_debian_pkgs:
...
@@ -17,7 +17,8 @@ jenkins_debian_pkgs:
-
libsqlite3-dev
-
libsqlite3-dev
# packer direct download URL
# packer direct download URL
packer_url
:
"
https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip"
packer_url
:
"
https://s3.amazonaws.com/edx-testeng-tools/packer/packer_0.9.0-rc2_linux_amd64.zip"
packer_checksum
:
"
13befc52f23861277eafbae99c65b193232c7432e1ff49c371b3c5029675a58c"
# custom firefox
# custom firefox
custom_firefox_version
:
42.0
custom_firefox_version
:
42.0
...
...
playbooks/roles/jenkins_worker/tasks/packer.yml
View file @
f9a84de3
...
@@ -3,6 +3,11 @@
...
@@ -3,6 +3,11 @@
shell
:
"
curl
-L
{{
packer_url
}}
-o
/var/tmp/packer.zip"
shell
:
"
curl
-L
{{
packer_url
}}
-o
/var/tmp/packer.zip"
args
:
args
:
creates
:
/var/tmp/packer.zip
creates
:
/var/tmp/packer.zip
-
name
:
Verify checksum of downloaded packer zip
shell
:
"
sha256sum
/var/tmp/packer.zip"
register
:
packer_download_checksum
-
assert
:
that
:
"
'{{
packer_checksum
}}'
in
packer_download_checksum.stdout"
-
name
:
Unzip packer
-
name
:
Unzip packer
unarchive
:
src=/var/tmp/packer.zip dest=/usr/local/bin copy=no
unarchive
:
src=/var/tmp/packer.zip dest=/usr/local/bin 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