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

create vol snapshot

parent 96df7bab
No related branches found
No related tags found
1 merge request!44WIP: Feat vol download from s3
......@@ -43,7 +43,7 @@ prep-deploy:
- 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)
- openstack volume create --size 20 --image $IMAGE_ID xdmod-ci-volume
- openstack volume snapshot create --force --volume xdmod-ci-volume xdmod-dev-volume-snap
- |
if [ "$TARGET_ENV" = "dev" ]; then
TF_VAR_data_volume="xdmod-dev-volume-$BUILD_DATE"
......
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