generated from PenaSide/GolangTemplate
ci: debug servdesc
This commit is contained in:
parent
080339ae5e
commit
fac35dc869
@ -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
|
||||||
@ -26,6 +29,8 @@ deploy-to-prod:
|
|||||||
- if: "$CI_COMMIT_BRANCH == $PRODUCTION_BRANCH"
|
- if: "$CI_COMMIT_BRANCH == $PRODUCTION_BRANCH"
|
||||||
tags:
|
tags:
|
||||||
- prod
|
- prod
|
||||||
after_script:
|
|
||||||
- ls
|
|
||||||
extends: .deploy_template
|
extends: .deploy_template
|
||||||
|
|
||||||
|
service-discovery:
|
||||||
|
extends: .sd_artefacts_template
|
||||||
|
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
#v1.0.0
|
#v1.0.1
|
||||||
|
|
||||||
INTERNAL:
|
INTERNAL:
|
||||||
|
|
||||||
- Добавлено версионирование модели данных. На данный момент модель под версией 1
|
- Добавлено версионирование модели данных. На данный момент модель под версией 1
|
||||||
|
|
||||||
|
|
||||||
FIX:
|
FIX:
|
||||||
|
|
||||||
- При пустой корзине во время оплаты(/cart/pay) больше не будет возвращаться 500, а будет возвращаться 406
|
- При пустой корзине во время оплаты(/cart/pay) больше не будет возвращаться 500, а будет возвращаться 406
|
||||||
|
@ -2,10 +2,12 @@ version: "3.3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
customer-app-stagingv1.0.1:
|
customer-app-stagingv1.0.1:
|
||||||
hostname: customer-service-stagingv1.0.1
|
hostname: customerv1.0.1
|
||||||
container_name: customer-service-stagingv1.0.1
|
container_name: customerv1.0.1
|
||||||
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
||||||
tty: true
|
tty: true
|
||||||
|
labels:
|
||||||
|
com.pena.allowed_headers: content-type,authorization,response-type
|
||||||
environment:
|
environment:
|
||||||
- CLIENT_HTTP_HOST=0.0.0.0
|
- CLIENT_HTTP_HOST=0.0.0.0
|
||||||
- CLIENT_HTTP_PORT=8065
|
- CLIENT_HTTP_PORT=8065
|
||||||
|
Loading…
Reference in New Issue
Block a user