Loading .gitlab-ci.yml +3 −4 Original line number Diff line number Diff line Loading @@ -21,10 +21,11 @@ stages: variables: STACK: client WEB_BUILD_IMAGE: registry.gitlab.com/redmic-project/docker/web-build:latest WEB_BUILD_IMAGE_NAME: registry.gitlab.com/redmic-project/docker/web-build WEB_BUILD_IMAGE_TAG: latest .web-build: image: ${WEB_BUILD_IMAGE} image: ${WEB_BUILD_IMAGE_NAME}:${WEB_BUILD_IMAGE_TAG} cache: paths: - node_modules/ Loading Loading @@ -127,8 +128,6 @@ prepare-built-version: run-functional-tests: stage: test-deploy extends: .prepare-dependencies tags: - functional-testing script: - > grunt test-functional-local --serverUrl="https://${DEV_PUBLIC_HOSTNAME}" --user="${REDMIC_TEST_USER}" Loading deploy/docker-compose.tmpl.yml +10 −5 Original line number Diff line number Diff line Loading @@ -4,16 +4,17 @@ services: web: image: ${IMAGE_NAME}:${IMAGE_TAG:-latest} environment: - OAUTH_URL - OAUTH_CLIENT_SECRET - API_URL - PRODUCTION OAUTH_URL: OAUTH_CLIENT_SECRET: API_URL: PRODUCTION: networks: - traefik-net - metric-net healthcheck: test: wget --spider -q http://localhost:${PORT} interval: 30s timeout: 10s timeout: 30s retries: 3 start_period: 1m deploy: Loading Loading @@ -46,3 +47,7 @@ networks: traefik-net: name: ${TRAEFIK_NET_NAME:-traefik-net} external: true metric-net: name: ${METRIC_NET_NAME:-metric-net} external: true Loading
.gitlab-ci.yml +3 −4 Original line number Diff line number Diff line Loading @@ -21,10 +21,11 @@ stages: variables: STACK: client WEB_BUILD_IMAGE: registry.gitlab.com/redmic-project/docker/web-build:latest WEB_BUILD_IMAGE_NAME: registry.gitlab.com/redmic-project/docker/web-build WEB_BUILD_IMAGE_TAG: latest .web-build: image: ${WEB_BUILD_IMAGE} image: ${WEB_BUILD_IMAGE_NAME}:${WEB_BUILD_IMAGE_TAG} cache: paths: - node_modules/ Loading Loading @@ -127,8 +128,6 @@ prepare-built-version: run-functional-tests: stage: test-deploy extends: .prepare-dependencies tags: - functional-testing script: - > grunt test-functional-local --serverUrl="https://${DEV_PUBLIC_HOSTNAME}" --user="${REDMIC_TEST_USER}" Loading
deploy/docker-compose.tmpl.yml +10 −5 Original line number Diff line number Diff line Loading @@ -4,16 +4,17 @@ services: web: image: ${IMAGE_NAME}:${IMAGE_TAG:-latest} environment: - OAUTH_URL - OAUTH_CLIENT_SECRET - API_URL - PRODUCTION OAUTH_URL: OAUTH_CLIENT_SECRET: API_URL: PRODUCTION: networks: - traefik-net - metric-net healthcheck: test: wget --spider -q http://localhost:${PORT} interval: 30s timeout: 10s timeout: 30s retries: 3 start_period: 1m deploy: Loading Loading @@ -46,3 +47,7 @@ networks: traefik-net: name: ${TRAEFIK_NET_NAME:-traefik-net} external: true metric-net: name: ${METRIC_NET_NAME:-metric-net} external: true