From 6ce25af3a8a371c05e8ca2529505605e832e1c70 Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Thu, 17 Oct 2024 22:21:22 -0500 Subject: [PATCH] style: use yaml folded multiline block --- .gitlab-ci.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 108f72a..b19e023 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: -- GitLab