Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ stages:
HOST_NAME: $HOST_NAME_CHINA
KUBE_CONFIG: $KUBE_CONFIG_CHINA

.sg:
before_script:
- cp $PROJECT_CONFIG_SG ./helm/files/production.yaml
variables:
HOST_NAME: $HOST_NAME_SG
KUBE_CONFIG: $KUBE_CONFIG_SG

.docker_build: &DOCKER_BUILD
stage: build_image
image: docker:19.03.12
Expand Down Expand Up @@ -117,3 +124,10 @@ deploy_prod_cn:
variables:
DOCKER_TAG: $CI_COMMIT_SHA
<<: *PROD

deploy_prod_sg:
<<: *DEPLOY
extends: .sg
variables:
DOCKER_TAG: $CI_COMMIT_SHA
<<: *DEV