Skip to content
Snippets Groups Projects
Commit 6ce25af3 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

style: use yaml folded multiline block

parent e22a00e0
No related branches found
No related tags found
1 merge request!1WIP: test ood proxy part of the pipeline
......@@ -44,16 +44,16 @@ deploy_ood_proxy_node:
#!/bin/bash
echo "$DEV_KEY" >> /root/.ssh/authorized_keys
EOF
- |
export NEW_INSTANCE_ID=$(openstack server create \
-c id -f value --image $PROXY_OOD_IMAGE_ID \
--network $OOD_PROXY_NETWORK \
--security-group ood-https-ports \
--security-group node-exporter \
--security-group allow-ssh \
--user-data user_data.txt \
--flavor $INSTANCE_FLAVOR \
--wait \
- >
export NEW_INSTANCE_ID=$(openstack server create
-c id -f value --image $PROXY_OOD_IMAGE_ID
--network $OOD_PROXY_NETWORK
--security-group ood-https-ports
--security-group node-exporter
--security-group allow-ssh
--user-data user_data.txt
--flavor $INSTANCE_FLAVOR
--wait
$OOD_PROXY_INSTANCE_NAME)
- openstack server add floating ip $OOD_PROXY_INSTANCE_NAME $FLOATING_IP
rules:
......@@ -78,16 +78,16 @@ deploy_ssh_proxy_node:
#!/bin/bash
echo "$DEV_KEY" >> /root/.ssh/authorized_keys
EOF
- |
export NEW_INSTANCE_ID=$(openstack server create \
-c id -f value --image $PROXY_SSH_IMAGE_ID \
--network $OOD_PROXY_NETWORK \
--security-group ood-https-ports \
--security-group node-exporter \
--security-group allow-ssh \
--user-data user_data.txt \
--flavor $INSTANCE_FLAVOR \
--wait \
- >
export NEW_INSTANCE_ID=$(openstack server create
-c id -f value --image $PROXY_SSH_IMAGE_ID
--network $OOD_PROXY_NETWORK
--security-group ood-https-ports
--security-group node-exporter
--security-group allow-ssh
--user-data user_data.txt
--flavor $INSTANCE_FLAVOR
--wait
$SSH_PROXY_INSTANCE_NAME)
- openstack server add floating ip $SSH_PROXY_INSTANCE_NAME $FLOATING_IP
rules:
......
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