add config check to test
This commit is contained in:
@@ -33,8 +33,7 @@ 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"
|
||||
docker exec $CONTAINER_NAME icinga2 daemon -C -X
|
||||
env:
|
||||
DEPLOY_TIME: 15
|
||||
TEST_PORT: 5665
|
||||
|
||||
Reference in New Issue
Block a user