diff options
author | 2018-07-25 11:14:35 -0400 | |
---|---|---|
committer | 2018-07-25 11:14:35 -0400 | |
commit | 7815be76119cc79e187b3a3014778475c9c56f73 (patch) | |
tree | eba2444e3f1f1c37174117e34f5ba1cfd838dc46 /jjb/cperf/cirros-upload.yaml.ansible | |
parent | 2d19c30a4d2c8d67b38fce6ba8ed110e076c1295 (diff) |
CPERF: Upload cirros image for CSIT
CSIT does not have the ability to upload cirros image yet, so this patch
uploads it to the overcloud as a workaround.
Change-Id: I277e37ae28d613771969dca984ef8692e1312fbd
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/cperf/cirros-upload.yaml.ansible')
-rw-r--r-- | jjb/cperf/cirros-upload.yaml.ansible | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/jjb/cperf/cirros-upload.yaml.ansible b/jjb/cperf/cirros-upload.yaml.ansible new file mode 100644 index 000000000..bdf5c55c0 --- /dev/null +++ b/jjb/cperf/cirros-upload.yaml.ansible @@ -0,0 +1,17 @@ +--- +- hosts: all + tasks: + - copy: + src: "{{ item }}" + dest: "/home/heat-admin/{{ item }}" + owner: heat-admin + group: heat-admin + mode: 0775 + with_items: + - cirros-0.3.5-x86_64-disk.img + - overcloudrc + - name: Upload cirros glance image + shell: > + source /home/heat-admin/overcloudrc && openstack image create cirros + --public --file /home/heat-admin/cirros-0.3.5-x86_64-disk.img + --disk-format qcow2 --container-format bare |