From beef73a47cee443eb1a1badd86505495a302de52 Mon Sep 17 00:00:00 2001 From: bacon Date: Mon, 3 Mar 2025 22:15:48 +0300 Subject: [PATCH] fixes --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80786f5..c7d065b 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,11 +32,11 @@ pre_push: - apk add curl script: - echo "Running container to test image" - - docker run -d --name test_container -p 5060:5050 $CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG + - docker run -d --name test_container -p 17000:5050 $CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG - | echo "Waiting for the application to start..." sleep 10 - if curl --fail http://127.0.0.1:5060/health; then + if curl --fail http://localhost:17000/health; then echo "Healthcheck passed" else echo "Healthcheck failed, stopping push"