enable service discovery artefacts creation

This commit is contained in:
skeris 2024-09-06 22:51:16 +03:00
parent d33b5ec0c9
commit 76edc86825
2 changed files with 10 additions and 0 deletions

@ -3,9 +3,13 @@ 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:
tags:
- frontbuild
@ -30,3 +34,6 @@ deploy-to-prod:
tags:
- front
- prod
service-discovery:
extends: .sd_artefacts_template

@ -3,6 +3,9 @@ services:
respondent:
container_name: respondent
restart: unless-stopped
labels:
com.pena.domains: s.hbpn.link
com.pena.front_headers: "Access-Control-Allow-Origin $http_origin always"
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
hostname: respondent
tty: true