Skip to content

Commit

Permalink
Merge pull request #36 from stackhpc/upstream/zed-2024-07-15
Browse files Browse the repository at this point in the history
Synchronise zed with upstream
  • Loading branch information
markgoddard authored Jul 16, 2024
2 parents 671c3b1 + 5e9bc9d commit d02493c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitreview
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
host=review.opendev.org
port=29418
project=openstack/glance.git
defaultbranch=stable/zed
defaultbranch=unmaintained/zed
2 changes: 2 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@
The regular tempest-integrated-storage job but with glance metadata injection
post-run: playbooks/post-check-metadata-injection.yaml
vars:
configure_swap_size: 8192
tempest_concurrency: 3
zuul_copy_output:
/etc/glance-remote: logs
devstack_localrc:
Expand Down
16 changes: 10 additions & 6 deletions playbooks/post-check-metadata-injection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@
set -xe
cirrosimg=$(glance image-list | grep cirros | cut -d" " -f 2)
echo "Dumping the cirros image for debugging..."
glance image-show $cirrosimg
# There could be more than one cirros image so traverse through the list
for image in $cirrosimg
do
echo "Dumping the cirros image for debugging..."
glance image-show $image
echo "Checking that the cirros image was decorated with metdata on import..."
glance image-list --property-filter 'glance_devstack_test=doyouseeme?' | grep cirros
echo "Checking that the cirros image was decorated with metdata on import..."
glance image-list --property-filter 'glance_devstack_test=doyouseeme?' | grep $image
echo "Checking that the cirros image was converted to raw on import..."
glance image-show $cirrosimg | egrep -e 'disk_format.*raw'
echo "Checking that the cirros image was converted to raw on import..."
glance image-show $image | egrep -e 'disk_format.*raw'
done
environment: '{{ zuul | zuul_legacy_vars }}'

0 comments on commit d02493c

Please sign in to comment.