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

added unique floatingip variables for both instances

parent d7f6778d
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,7 @@ deploy_ood_proxy_node:
--flavor $INSTANCE_FLAVOR
--wait
$OOD_PROXY_INSTANCE_NAME)
- openstack server add floating ip $OOD_PROXY_INSTANCE_NAME $FLOATING_IP
rules:
- openstack server add floating ip $OOD_PROXY_INSTANCE_NAME $OOD_PROXY_FLOATING_IP
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always
- if: $CI_PIPELINE_SOURCE == "web"
......@@ -84,7 +83,7 @@ deploy_ssh_proxy_node:
--flavor $INSTANCE_FLAVOR
--wait
$SSH_PROXY_INSTANCE_NAME)
- openstack server add floating ip $SSH_PROXY_INSTANCE_NAME $FLOATING_IP
- openstack server add floating ip $NEW_INSTANCE_ID $SSH_PROXY_FLOATING_IP
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always
......
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