2020-10-07 20:08:30 -04:00
|
|
|
stages:
|
|
|
|
- provision
|
|
|
|
|
|
|
|
cloud_formation:
|
2022-08-10 20:09:45 -04:00
|
|
|
image: '${CI_TEMPLATE_REGISTRY_HOST}/gitlab-org/cloud-deploy/aws-cloudformation:latest'
|
2020-10-07 20:08:30 -04:00
|
|
|
stage: provision
|
|
|
|
script:
|
|
|
|
- gl-cloudformation create-stack
|
|
|
|
rules:
|
|
|
|
- if: '($AUTO_DEVOPS_PLATFORM_TARGET != "EC2") || ($AUTO_DEVOPS_PLATFORM_TARGET != "ECS")'
|
|
|
|
when: never
|
2021-11-17 22:14:17 -05:00
|
|
|
- if: '$CI_KUBERNETES_ACTIVE || $KUBECONFIG'
|
2020-10-07 20:08:30 -04:00
|
|
|
when: never
|
|
|
|
- if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'
|