Skip to content
Snippets Groups Projects
Commit 2acdfde1 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

remove prev xdmod-snapshot-image

parent 31d9ff7d
No related branches found
No related tags found
1 merge request!44WIP: Feat vol download from s3
...@@ -40,6 +40,8 @@ prep-deploy: ...@@ -40,6 +40,8 @@ prep-deploy:
- apt-get install -y awscli - apt-get install -y awscli
- s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://xdmod-vol/ /tmp - s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://xdmod-vol/ /tmp
- ls -l /tmp - ls -l /tmp
- rm /tmp/xdmod-snapshot-image
- ls -l /tmp
- openstack image create --container-format bare --disk-format raw --file /tmp/xdmod-dev-volume-snap.raw xdmod-snapshot-image - openstack image create --container-format bare --disk-format raw --file /tmp/xdmod-dev-volume-snap.raw xdmod-snapshot-image
- IMAGE_ID=$(openstack image show -f value -c id xdmod-snapshot-image) - IMAGE_ID=$(openstack image show -f value -c id xdmod-snapshot-image)
- openstack volume create --size 20 --image $IMAGE_ID xdmod-ci-volume - openstack volume create --size 20 --image $IMAGE_ID xdmod-ci-volume
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment