debian-mirror-gitlab/lib/gitlab/ci/templates/Jobs/CF-Provision.gitlab-ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
424 B
YAML
Raw Normal View History

2021-01-03 14:25:43 +05:30
stages:
- provision
cloud_formation:
image: 'registry.gitlab.com/gitlab-org/cloud-deploy/aws-cloudformation:latest'
stage: provision
script:
- gl-cloudformation create-stack
rules:
- if: '($AUTO_DEVOPS_PLATFORM_TARGET != "EC2") || ($AUTO_DEVOPS_PLATFORM_TARGET != "ECS")'
when: never
2021-12-11 22:18:48 +05:30
- if: '$CI_KUBERNETES_ACTIVE || $KUBECONFIG'
2021-01-03 14:25:43 +05:30
when: never
- if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'