forked from fareco/tds-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
40 lines (36 loc) · 716 Bytes
/
.gitlab-ci.yml
File metadata and controls
40 lines (36 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
include:
- project: sre/gitlab-ci-templates
ref: v1
file:
- /shared/build-and-push-image.yml
- /shared/deploy-kubefiles.yml
stages:
- image
- deploy-staging
- deploy-production
build-and-push-image:
stage: image
extends:
- .build-and-push-image
variables:
DOCKER_REGISTRY_NAMESPACE: tds
DOCKER_REGISTRY_REPO: tapsdkdoc
only:
- master
deploy-staging:
stage: deploy-staging
extends:
- .deploy-kubefiles-staging
variables:
PROJECT_PATH: tds/tapsdkdoc
when: on_success
only:
- master
deploy-production:
stage: deploy-production
extends:
- .deploy-kubefiles-production
variables:
PROJECT_PATH: tds/tapsdkdoc
only:
- master