2019-11-13 22:47:34 +03:00
|
|
|
variables:
|
|
|
|
CLUSTER_NAME: iowa-a
|
|
|
|
CONFIG_REPO: git@github.com:mozmeao/www-config
|
|
|
|
CONFIG_BRANCH: master
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- update-config
|
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
only:
|
|
|
|
- master
|
2019-11-26 20:26:44 +03:00
|
|
|
- stage
|
|
|
|
- prod
|
2019-11-13 22:47:34 +03:00
|
|
|
tags:
|
2020-05-05 13:08:31 +03:00
|
|
|
- mozmeao
|
|
|
|
- aws
|
2019-11-13 22:47:34 +03:00
|
|
|
script:
|
2020-05-08 23:58:16 +03:00
|
|
|
- bin/build-release-image.sh --push
|
2019-11-13 22:47:34 +03:00
|
|
|
- bin/upload-staticfiles.sh
|
2020-05-26 16:47:58 +03:00
|
|
|
retry: 2
|
2019-11-13 22:47:34 +03:00
|
|
|
|
2019-12-10 17:57:03 +03:00
|
|
|
build-test:
|
|
|
|
stage: build
|
|
|
|
only:
|
|
|
|
- run-integration-tests
|
|
|
|
tags:
|
2020-05-05 13:08:31 +03:00
|
|
|
- mozmeao
|
|
|
|
- aws
|
2019-12-10 17:57:03 +03:00
|
|
|
script:
|
2020-05-08 23:58:16 +03:00
|
|
|
- bin/build-release-image.sh --push
|
2020-05-26 16:47:58 +03:00
|
|
|
retry: 2
|
2019-12-10 17:57:03 +03:00
|
|
|
|
2020-04-23 11:50:21 +03:00
|
|
|
update-l10n:
|
|
|
|
stage: update-config
|
|
|
|
tags:
|
2020-05-05 13:08:31 +03:00
|
|
|
- mozmeao
|
|
|
|
- aws
|
2020-04-23 11:50:21 +03:00
|
|
|
only:
|
|
|
|
changes:
|
|
|
|
- "l10n/**/*"
|
|
|
|
refs:
|
|
|
|
- master
|
|
|
|
except:
|
|
|
|
changes:
|
|
|
|
- "lib/fluent_migrations/**/*"
|
|
|
|
script:
|
|
|
|
- bin/open-ftl-pr.sh
|
2020-05-26 16:47:58 +03:00
|
|
|
retry: 2
|
2020-04-23 11:50:21 +03:00
|
|
|
|
2019-11-13 22:47:34 +03:00
|
|
|
.update-config:
|
|
|
|
stage: update-config
|
|
|
|
tags:
|
2020-05-05 13:08:31 +03:00
|
|
|
- mozmeao
|
|
|
|
- aws
|
2019-11-13 22:47:34 +03:00
|
|
|
script:
|
|
|
|
- bin/update_config.sh
|
2020-05-26 16:47:58 +03:00
|
|
|
retry: 2
|
2019-11-13 22:47:34 +03:00
|
|
|
|
|
|
|
dev:
|
|
|
|
extends: .update-config
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
variables:
|
|
|
|
NAMESPACE: bedrock-dev
|
2019-11-26 20:26:44 +03:00
|
|
|
|
|
|
|
stage:
|
|
|
|
extends: .update-config
|
|
|
|
only:
|
|
|
|
- stage
|
|
|
|
variables:
|
|
|
|
CLUSTERS: iowa-a
|
|
|
|
NAMESPACE: bedrock-stage
|
|
|
|
|
2019-12-10 17:57:03 +03:00
|
|
|
test:
|
|
|
|
extends: .update-config
|
|
|
|
only:
|
|
|
|
- run-integration-tests
|
|
|
|
variables:
|
2020-11-02 17:26:45 +03:00
|
|
|
CLUSTERS: iowa-a
|
2019-12-10 17:57:03 +03:00
|
|
|
NAMESPACE: bedrock-test
|
|
|
|
|
2019-11-26 20:26:44 +03:00
|
|
|
prod:
|
|
|
|
extends: .update-config
|
|
|
|
only:
|
|
|
|
- prod
|
|
|
|
variables:
|
2020-12-02 22:07:55 +03:00
|
|
|
CLUSTERS: mozmeao-fr iowa-a
|
2019-11-26 20:26:44 +03:00
|
|
|
NAMESPACE: bedrock-prod
|