bedrock/.gitlab-ci.yml

91 строка
1.3 KiB
YAML

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
- 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