Skip to content
Snippets Groups Projects
Commit 1f5dc7e6 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Correcting the name of the snapshot

parent 80a3d585
No related branches found
No related tags found
1 merge request!15Create a volume out of a snapshot for dev and staging envs
Pipeline #8504 failed with stages
in 2 minutes and 22 seconds
This commit is part of merge request !15. Comments created here will be created in the context of that merge request.
......@@ -35,11 +35,11 @@ prep-deploy:
if [ "$TARGET_ENV" = "dev" ]; then
TF_VAR_data_volume="xdmod-dev-volume-$BUILD_DATE"
TF_VAR_flavor="m1.medium"
openstack volume create --snapshot xdmod-dev-snapshot --size 20 $TF_VAR_data_volume
openstack volume create --snapshot xdmod-dev-volume-snap --size 20 $TF_VAR_data_volume
elif [ "$TARGET_ENV" = "staging" ]; then
TF_VAR_data_volume="xdmod-staging-volume-$BUILD_DATE"
TF_VAR_flavor="m1.medium"
openstack volume create --snapshot xdmod-dev-snapshot --size 150 $TF_VAR_data_volume
openstack volume create --snapshot xdmod-staging-volume-snap --size 150 $TF_VAR_data_volume
elif [ "$TARGET_ENV" = "production" ]; then
TF_VAR_data_volume="xdmod-staging-volume"
TF_VAR_flavor="m1.xlarge"
......
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