forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
90 lines (81 loc) · 1.29 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
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
variables:
CLUSTER_NAME: iowa-a
CONFIG_REPO: [email protected]:mozmeao/www-config
CONFIG_BRANCH: master
stages:
- build
- update-config
build:
stage: build
only:
- master
- stage
- prod
tags:
- mozmeao
- aws
script:
- bin/build-release-image.sh --push
- bin/upload-staticfiles.sh
retry: 2
build-test:
stage: build
only:
- run-integration-tests
tags:
- mozmeao
- aws
script:
- bin/build-release-image.sh --push
retry: 2
update-l10n:
stage: update-config
tags:
- mozmeao
- aws
only:
changes:
- "l10n/**/*"
refs:
- master
except:
changes:
- "lib/fluent_migrations/**/*"
script:
- bin/open-ftl-pr.sh
retry: 2
.update-config:
stage: update-config
tags:
- mozmeao
- aws
script:
- bin/update_config.sh
retry: 2
dev:
extends: .update-config
only:
- master
variables:
NAMESPACE: bedrock-dev
stage:
extends: .update-config
only:
- stage
variables:
CLUSTERS: iowa-a
NAMESPACE: bedrock-stage
test:
extends: .update-config
only:
- run-integration-tests
variables:
CLUSTERS: iowa-a
NAMESPACE: bedrock-test
prod:
extends: .update-config
only:
- prod
variables:
CLUSTERS: mozmeao-fr iowa-a
NAMESPACE: bedrock-prod