Skip to content
Snippets Groups Projects
Commit 37becc72 authored by s80984's avatar s80984
Browse files

Update Test Job

parent f8d71f62
No related branches found
No related tags found
No related merge requests found
Pipeline #14152 failed
......@@ -54,7 +54,7 @@ job_build-image:
after_script:
# - docker-compose logs || true
- docker-compose down || true
- docker-compose down
# - docker-compose rm --force "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}"
job_test-image:
......@@ -84,7 +84,8 @@ job_test-image:
sleep 1 && echo sleeping
attempts=$((attempts + 1))
done
- (echo 'process.exit called with "1"' && exit 1)
- (wget --no-cache --quiet --output-document - "http://containerhost:${outerPort}/health" | docker run --rm --interactive stedolan/jq -e '.status == "pass"')
|| (echo 'process.exit called with "1"' && exit 1)
after_script:
# NOTE: clean up after test run (stop and remove container)
# - docker rm --force "${CI_PROJECT_ID}-${CI_PIPELINE_IID}"
......
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