From 841875465c4dc1a3cf71275ede385e0cb3b5dc88 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Thu, 6 Aug 2020 01:14:18 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d459ec5..7aeec44 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,10 +71,10 @@ test: before_script: - dnf install curl script: - - podman run -d -p 80:80 --name testing $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG + - podman run -d -p 8080:80 --name testing $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG - sleep 5 - podman exec testing nginx -c /etc/nginx/nginx.conf -t - - curl http://localhost/status.txt | grep -q 'OK' + - curl http://localhost:8080/status.txt | grep -q 'OK' - podman stop testing - podman rm testing except: @@ -88,10 +88,10 @@ test-deploy: before_script: - dnf install curl script: - - podman run -d -p 80:80 --name testing $CI_REGISTRY_IMAGE:latest + - podman run -d -p 8080:80 --name testing $CI_REGISTRY_IMAGE:latest - sleep 5 - podman exec testing nginx -c /etc/nginx/nginx.conf -t - - curl http://localhost/status.txt | grep -q 'OK' + - curl http://localhost:8080/status.txt | grep -q 'OK' - podman stop testing - podman rm testing only: