Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Deploy-ECS.gitlab-ci.yml « templates « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a41b399032fba1cb42d91843e6653be49f4a85e8 (plain)
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
stages:
  - build
  - test
  - review
  - deploy
  - production

include:
  - template: Jobs/Build.gitlab-ci.yml

.deploy_to_ecs:
  image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-ecs:latest
  script:
    - ecs update-task-definition

review:
  extends: .deploy_to_ecs
  stage: review
  environment:
    name: review/$CI_COMMIT_REF_NAME
  only:
    refs:
      - branches
      - tags
  except:
    refs:
      - master

production:
  extends: .deploy_to_ecs
  stage: production
  environment:
    name: production
  only:
    refs:
      - master