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