enable service discovery artefacts creation
This commit is contained in:
parent
2e1d82e09e
commit
6c25740a75
@ -5,10 +5,13 @@ include:
|
|||||||
file: "/templates/docker/deploy-template.gitlab-ci.yml"
|
file: "/templates/docker/deploy-template.gitlab-ci.yml"
|
||||||
- project: "devops/pena-continuous-integration"
|
- project: "devops/pena-continuous-integration"
|
||||||
file: "/templates/docker/golint.gitlab-ci.yml"
|
file: "/templates/docker/golint.gitlab-ci.yml"
|
||||||
|
- project: "devops/pena-continuous-integration"
|
||||||
|
file: "/templates/docker/service-discovery.gitlab-ci.yml"
|
||||||
stages:
|
stages:
|
||||||
- lint
|
- lint
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
- service-discovery
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
extends: .golint_template
|
extends: .golint_template
|
||||||
@ -30,3 +33,6 @@ deploy-to-prod:
|
|||||||
tags:
|
tags:
|
||||||
- prod
|
- prod
|
||||||
extends: .deploy_template
|
extends: .deploy_template
|
||||||
|
|
||||||
|
service-discovery:
|
||||||
|
extends: .sd_artefacts_template
|
||||||
|
@ -7,11 +7,11 @@ services:
|
|||||||
hostname: feedback
|
hostname: feedback
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
labels:
|
||||||
|
com.pena.allowed_headers: content-type,response-type
|
||||||
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
||||||
ports:
|
ports:
|
||||||
- 10.8.0.6:8006:80
|
- 10.8.0.6:8006:80
|
||||||
labels:
|
|
||||||
com.pena.domains: services.pena.digital
|
|
||||||
environment:
|
environment:
|
||||||
- HTTP_ADDRESS=:80
|
- HTTP_ADDRESS=:80
|
||||||
- HTTP_RATE_LIMIT=30s
|
- HTTP_RATE_LIMIT=30s
|
||||||
@ -21,17 +21,17 @@ services:
|
|||||||
- TRASH_LOG_HOST=10.8.0.15:7113
|
- TRASH_LOG_HOST=10.8.0.15:7113
|
||||||
- MODULE_LOGGER=feedback
|
- MODULE_LOGGER=feedback
|
||||||
manualquiz:
|
manualquiz:
|
||||||
container_name: manualquiz
|
container_name: requestquiz
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
tty: true
|
tty: true
|
||||||
hostname: manualquiz
|
hostname: requestquiz
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
||||||
ports:
|
ports:
|
||||||
- 10.8.0.6:8007:80
|
- 10.8.0.6:8007:80
|
||||||
labels:
|
labels:
|
||||||
com.pena.domains: squiz.pena.digital,shub.pena.digital
|
com.pena.allowed_headers: content-type,response-type
|
||||||
environment:
|
environment:
|
||||||
- HTTP_ADDRESS=:80
|
- HTTP_ADDRESS=:80
|
||||||
- HTTP_RATE_LIMIT=30s
|
- HTTP_RATE_LIMIT=30s
|
||||||
|
Loading…
Reference in New Issue
Block a user