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

upload vol to openstack

parent bf4e6cdc
No related branches found
No related tags found
No related merge requests found
Pipeline #9709 failed with stages
in 2 minutes and 25 seconds
...@@ -40,6 +40,7 @@ prep-deploy: ...@@ -40,6 +40,7 @@ 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
- openstack volume create --size 20 --image /tmp/xdmod-dev-volume-snap.raw xdmod-ci-volume
- | - |
if [ "$TARGET_ENV" = "dev" ]; then if [ "$TARGET_ENV" = "dev" ]; then
TF_VAR_data_volume="xdmod-dev-volume-$BUILD_DATE" 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