Commit f9a84de3 by stu

upgrading packer to 0.9.0

parent 600eafba
...@@ -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
......
...@@ -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
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