add a second check to check if service stable
This commit is contained in:
@@ -33,6 +33,8 @@ jobs:
|
||||
docker run --rm -d --name $CONTAINER_NAME -p $TEST_PORT:$TEST_PORT -e ICINGA2_API_USER_ROOT_PASS=$TMP_API_PASS $REGISTRY_HOST/$CONTAINER_TAG:$CONTAINER_VERSION
|
||||
sleep $DEPLOY_TIME
|
||||
curl -k -s -S -i -u root:$TMP_API_PASS "https://localhost:$TEST_PORT/v1"
|
||||
sleep 5
|
||||
curl -k -s -S -i -u root:$TMP_API_PASS "https://localhost:$TEST_PORT/v1"
|
||||
env:
|
||||
DEPLOY_TIME: 15
|
||||
TEST_PORT: 5665
|
||||
|
||||
Reference in New Issue
Block a user