Skip to content
Snippets Groups Projects

feat: Add new data volume for XDMod queue data

Closed Krish Moodbidri requested to merge feat-test-xdmod-queue-vol into master
Compare and
3 files
+ 7
2
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 5
2
@@ -136,8 +136,11 @@ production-deploy:
@@ -136,8 +136,11 @@ production-deploy:
tags: [build]
tags: [build]
script:
script:
- export prod_instance_id=$(openstack floating ip show $prod_floating_ip -c port_details -f value | awk -F', ' '{print $2}' | awk -F"'" '{print $2}')
- export prod_instance_id=$(openstack floating ip show $prod_floating_ip -c port_details -f value | awk -F', ' '{print $2}' | awk -F"'" '{print $2}')
- export prod_volume=$(openstack server show $prod_instance_id -c volumes_attached -f value | awk -F"'" '{print $4}')
- export prod_volumes=($(openstack server show $prod_instance_id -c volumes_attached -f value | awk -F"'" '{print $4}')) # Iterate over the array and perform actions for each volume
- echo "Detaching prod_volume_id=${prod_volume} from prod_instance_id=${prod_instance_id}"
- for prod_volume in "${prod_volumes[@]}"; do
 
- echo "Detaching prod_volume_id=${prod_volume} from prod_instance_id=${prod_instance_id}"
 
- done
 
- |
- |
eval $(ssh-agent -s)
eval $(ssh-agent -s)
chmod 400 "${SSH_PRIV_KEY}"
chmod 400 "${SSH_PRIV_KEY}"
Loading