forked from SocialGouv/code-du-travail-numerique
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
54 lines (49 loc) · 1.16 KB
/
.gitlab-ci.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
include:
- project: SocialGouv/gitlab-ci-yml
file: /base_register_stage.yml
ref: v9.1.2
- project: SocialGouv/gitlab-ci-yml
file: /base_docker_helm_image_stage.yml
ref: v9.1.2
- project: SocialGouv/gitlab-ci-yml
file: /base_docker_kubectl_image_stage.yml
ref: v9.1.2
- project: SocialGouv/gitlab-ci-yml
file: /base_deploy_kosko_stage.yml
ref: v20.7.11
- project: SocialGouv/gitlab-ci-yml
file: /base_register_kaniko_stage.yml
ref: v20.7.11
#
- /.gitlab-ci/variables.yml
- /.gitlab-ci/stages/quality.yml
- /.gitlab-ci/stages/register.yml
- /.gitlab-ci/stages/manual.yml
- /.gitlab-ci/stages/scan.yml
- /.gitlab-ci/stages/deploy.yml
- /.gitlab-ci/stages/notify.yml
- /.gitlab-ci/stages/e2e.yml
stages:
- "Prepare"
- "Code Quality"
- "Registration"
- "Deploy"
- "Notify Finished Deployment"
#
.base_stage:
rules:
- if: $PRODUCTION
when: never
- if: $UPDATE_ES_INDEX
when: never
- if: $CI_COMMIT_MESSAGE =~ /^chore(release):*/
when: never
- when: always
k8s test:
stage: Prepare
interruptible: true
needs: []
extends:
- .base_kosko_k8s_test
- .base_stage