Skip to content
Snippets Groups Projects
Commit 5df57ada authored by s80984's avatar s80984
Browse files

Update Test Job

parent 4e5e68b8
No related branches found
No related tags found
No related merge requests found
Pipeline #14165 canceled
......@@ -53,18 +53,8 @@ job_test-image:
script:
- docker-compose -f docker-compose.test.yml up --build
# # - docker run
# # --detach
# # --publish "${outerPort}:8080"
# # --name "${CI_PROJECT_ID}-${CI_PIPELINE_IID}"
# # "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}"
# - |
# attempts=1
# while (wget "http://containerhost:${servicePort}" 2>&1 || true) | grep 'Connection refused' && [ "${attempts}" -lt 5 ]; do
# sleep 1 && echo sleeping
# attempts=$((attempts + 1))
# done
- grep 'node-mongo-app-test exited with code 0'
- grep 'exited with code 0'
exit 0
after_script:
......
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