reverted dns changes

This commit is contained in:
Sumedh
2024-08-13 05:58:23 +00:00
parent 2fd34115b9
commit dd977abb98
2 changed files with 2 additions and 12 deletions

View File

@@ -3,8 +3,7 @@ docker-build:
stage: build
variables:
DOCKER_IMAGE_NAME: olytest/hermione-fe:$CI_COMMIT_SHORT_SHA
LOCAL_DNS: '34.159.118.61 olympus-gateway.gcp.it'
VITE_BACKEND_URL: http://olympus-gateway.gcp.it/hermione
VITE_BACKEND_URL: http://olympus-gateway-service.olympus.svc.cluster.local:8080/hermione
before_script:
- >
echo '{
@@ -19,9 +18,7 @@ docker-build:
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${DOCKER_IMAGE_NAME}"
--build-arg "VITE_BACKEND_URL=http://olympus-gateway.gcp.it/hermione"
--build-arg "IP_ADDRESS=34.159.118.61"
--build-arg "LOCAL_DNS=olympus-gateway.gcp.it"
--build-arg "VITE_BACKEND_URL=${VITE_BACKEND_URL}"
# Run this job in a branch where a Dockerfile exists
rules:
- if: $CI_COMMIT_BRANCH