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

TEST

parent 33e80eae
No related tags found
No related merge requests found
Pipeline #8161 failed with stages
in 20 minutes and 24 seconds
...@@ -187,9 +187,17 @@ test: ...@@ -187,9 +187,17 @@ test:
- > - >
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 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
|| FAILED=true || FAILED=true
- |
if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then
ssh -o StrictHostKeyChecking=no acctsvc@$FLOATING_IP '[ $(mount | grep "type nfs" | wc -l) -eq 6 ]' || FAILED=true
elif [ $CI_PIPELINE_SOURCE == 'schedule' ]; then
cp "$SSH_KNOWN_HOSTS" ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
ssh acctsvc@$FLOATING_IP '[ $(mount | grep "type nfs" | wc -l) -eq 6 ]' || FAILED=true
fi
- > - >
ssh -o StrictHostKeyChecking=no acctsvc@$FLOATING_IP '[ $(mount | grep "type nfs" | wc -l) -eq 6 ]' echo "PASS"
|| FAILED=true && FAILED=true
- | - |
if [ "$FAILED" = true ]; then if [ "$FAILED" = true ]; then
openstack server delete $NEW_INSTANCE_ID openstack server delete $NEW_INSTANCE_ID
......
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