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

Merge branch 'feat-staging-pipeline-resources' into 'master'

Change flavor for staging to m1.large

See merge request rc/terraform-openstack!17
parents 2f4fb55f 27f9ab3a
No related branches found
No related tags found
1 merge request!17Change flavor for staging to m1.large
Pipeline #8532 passed with stages
in 2 minutes and 39 seconds
...@@ -37,7 +37,7 @@ prep-deploy: ...@@ -37,7 +37,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"
TF_VAR_flavor="m1.medium" TF_VAR_flavor="m1.large"
openstack volume create --snapshot xdmod-staging-volume-snap --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 elif [ "$TARGET_ENV" = "production" ]; then
TF_VAR_data_volume="xdmod-staging-volume" TF_VAR_data_volume="xdmod-staging-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