diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 57f5ed4e1218134575ed69a0f9f0281421e5c2fa..0cf3b6ed0b6feb9356702612f1dc70bac1bde70b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -288,7 +288,6 @@ test_ood_image: --wait $OOD_INSTANCE_NAME) - echo NEW_INSTANCE_ID=$NEW_INSTANCE_ID | tee -a instance.env - - sleep 20 - openstack server add floating ip $NEW_INSTANCE_ID $FLOATING_IP - > curl --retry 10 --retry-delay 20 --retry-connrefused https://knightly.rc.uab.edu/Shibboleth.sso/Metadata --resolve knightly.rc.uab.edu:443:$FLOATING_IP -kf @@ -299,6 +298,7 @@ test_ood_image: elif [ $CI_PIPELINE_SOURCE == 'schedule' ]; then cp "$SSH_KNOWN_HOSTS" ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts + until ssh acctsvc@$FLOATING_IP hostname; do sleep 5; done; ssh acctsvc@$FLOATING_IP '[ $(mount | grep "etc/auto" | wc -l) -eq 6 ]' || FAILED=true fi - |