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

Limit wget to try only three times

parent 3b74afde
No related branches found
No related tags found
1 merge request!10Add gitlab ci into project
......@@ -95,7 +95,7 @@ test:
- echo NEW_INSTANCE_ID=$NEW_INSTANCE_ID | tee -a instance.env
- openstack server add floating ip $NEW_INSTANCE_ID $TEST_IP
- >
wget https://$TEST_IP/Shibboleth.sso/Metadata --no-check-certificate
wget https://$TEST_IP/Shibboleth.sso/Metadata --no-check-certificate -t 3
|| (openstack server delete $NEW_INSTANCE_ID && openstack image delete $BUILT_OOD_IMAGE_ID)
- 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