diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a67ae2c6..eb38b9ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,9 +3,12 @@ include: file: "/templates/docker/build-template.gitlab-ci.yml" - project: "devops/pena-continuous-integration" file: "/templates/docker/deploy-template.gitlab-ci.yml" + - project: "devops/pena-continuous-integration" + file: "/templates/docker/service-discovery.gitlab-ci.yml" stages: - build - deploy + - service-discovery build-app: extends: .build_template tags: @@ -30,3 +33,6 @@ deploy-to-prod: tags: - front - prod + +service-discovery: + extends: .sd_artefacts_template diff --git a/deployments/staging/docker-compose.yaml b/deployments/staging/docker-compose.yaml index 85b4d792..6ba8ce9c 100644 --- a/deployments/staging/docker-compose.yaml +++ b/deployments/staging/docker-compose.yaml @@ -6,6 +6,8 @@ services: image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID networks: - marketplace_penahub_frontend + labels: + com.pena.domains: squiz.pena.digital hostname: squiz tty: true networks: