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

Add retry option to curl

parent a6774d4b
No related branches found
No related tags found
1 merge request!10Add gitlab ci into project
......@@ -109,7 +109,7 @@ test:
- echo NEW_INSTANCE_ID=$NEW_INSTANCE_ID | tee -a instance.env
- openstack server add floating ip $NEW_INSTANCE_ID $TEST_IP
- >
curl https://rc.uab.edu/Shibboleth.sso/Metadata --resolve rc.uab.edu:443:$TEST_IP -kf
curl --retry 6 --retry-delay 20 --retry-connrefused https://rc.uab.edu/Shibboleth.sso/Metadata --resolve rc.uab.edu:443:$TEST_IP -kf
|| (openstack server delete $NEW_INSTANCE_ID && openstack image delete $BUILT_OOD_IMAGE_ID && false)
- openstack server remove floating ip $NEW_INSTANCE_ID $TEST_IP
artifacts:
......
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