fixes
This commit is contained in:
@@ -29,11 +29,10 @@ pre_push:
|
|||||||
- build
|
- build
|
||||||
stage: pre_push
|
stage: pre_push
|
||||||
before_script:
|
before_script:
|
||||||
- docker rm -f test_container
|
|
||||||
- apk add curl
|
- apk add curl
|
||||||
script:
|
script:
|
||||||
- echo "Running container to test image"
|
- echo "Running container to test image"
|
||||||
- docker run -d --name test_container -p 5050:5050 $CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG
|
- docker run -d --name test_container $CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG
|
||||||
- |
|
- |
|
||||||
echo "Waiting for the application to start..."
|
echo "Waiting for the application to start..."
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|||||||
Reference in New Issue
Block a user