forked from deckhouse/deckhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci-simple.yml
99 lines (85 loc) · 1.62 KB
/
.gitlab-ci-simple.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
variables:
WERF_CHANNEL: "ea"
WERF_ENV: FE
WERF_STAPEL_IMAGE_NAME: "flant/werf-stapel"
WERF_STAPEL_IMAGE_VERSION: "0.6.1"
TEST_TIMEOUT: "15m"
include:
- '.gitlab/ci_includes/terraform_versions.yml'
- '.gitlab/ci_includes/image_versions.yml'
- '.gitlab/ci_templates/build.yml'
- '.gitlab/ci_templates/cleanup.yml'
- '.gitlab/ci_templates/tests.yml'
- '.gitlab/ci_templates/deploy.yml'
stages:
- build_modules_images
- build
- testing
- deploy
- cleanup_registry
- cleanup_builder
Build Modules Images:
extends: .Build Modules Images template
tags:
- deckhouse
Go Generate:
extends: .Go Generate template
tags:
- deckhouse
Build:
extends: .Build template
tags:
- deckhouse
Matrix Tests:
extends: .Matrix Tests template
tags:
- deckhouse
Validators:
extends: .Go Validators template
tags:
- deckhouse
.base_deploy: &base_deploy
extends: .base_deploy_template
tags:
- deckhouse
needs:
- "Matrix Tests"
- "Validators"
- "Build"
- "Build Modules Images"
- "Go Generate"
beta:
<<: *base_deploy
environment:
name: beta
only:
- tags
- master
- /^release-.*$/
early-access:
<<: *base_deploy
environment:
name: early-access
only:
- tags
- master
- /^release-.*$/
stable:
<<: *base_deploy
environment:
name: stable
only:
- tags
- master
Cleanup registry:
extends: .Cleanup registry template
tags:
- deckhouse
Cleanup modules registry:
extends: .Cleanup modules registry template
tags:
- deckhouse
Cleanup modules images:
extends: .Cleanup modules images template
tags:
- deckhouse