One more image publishing fix

The image building refactor dropped the step that
tars up the overcloud-full and ramdisk files. We
need that for publishing those as aftifacts of the
delorean promote job.

Change-Id: Id9d50a4b9c12c28cb7ed6c188e68eecac2a355e6
This commit is contained in:
John Trowbridge
2016-02-20 06:49:12 -05:00
parent c2da4c11e4
commit 4fd3e7ae41

View File

@@ -11,4 +11,14 @@
virt-sparsify --tmp {{ working_dir }} --check-tmpdir fail --compress {{ working_dir }}/undercloud-base.qcow2 {{ working_dir }}/undercloud.qcow2;
md5sum {{ working_dir }}/undercloud.qcow2 > {{ working_dir }}/undercloud.qcow2.md5
environment:
LIBGUESTFS_BACKEND: direct
LIBGUESTFS_BACKEND: direct
- name: Tar overcloud-full image files
shell: |
tar -cf overcloud-full.tar overcloud-full*;
md5sum overcloud-full.tar > overcloud-full.tar.md5
- name: Tar agent ramdisk files
shell: |
tar -cf ironic-python-agent.tar ironic-python-agent*;
md5sum ironic-python-agent.tar > ironic-python-agent.tar.md5