Skip to content
Snippets Groups Projects
Commit f591667d authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Merge branch 'fix-duplicate-vol-snapshot-name-error' into 'master'

Workaround the issue of having duplicate names for snapshot failing the TF deploy pipelines

See merge request !36
parents c668e1b0 e61b2d42
No related branches found
No related tags found
1 merge request!36Workaround the issue of having duplicate names for snapshot failing the TF deploy pipelines
Pipeline #9242 passed with stages
in 5 minutes and 51 seconds
...@@ -38,7 +38,7 @@ prep-deploy: ...@@ -38,7 +38,7 @@ prep-deploy:
openstack volume create --snapshot xdmod-dev-volume-snap --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 elif [ "$TARGET_ENV" = "staging" ]; then
TF_VAR_data_volume="xdmod-staging-volume-$BUILD_DATE" TF_VAR_data_volume="xdmod-staging-volume-$BUILD_DATE"
openstack volume create --snapshot xdmod-staging-volume-snap --size 150 $TF_VAR_data_volume openstack volume create --snapshot xdmod-staging-vol-snapshot --size 150 $TF_VAR_data_volume
elif [ "$TARGET_ENV" = "production" ]; then elif [ "$TARGET_ENV" = "production" ]; then
echo $TARGET_ENV echo $TARGET_ENV
else else
......
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