Commit 1f3add41 authored by Shinya Maeda's avatar Shinya Maeda

Merge branch '299770-migrate-terraform-template' into 'master'

Migrate Terraform template to use rules syntax

See merge request gitlab-org/gitlab!69634
parents 11da5cd8 a8684074
...@@ -53,10 +53,9 @@ cache: ...@@ -53,10 +53,9 @@ cache:
- cd ${TF_ROOT} - cd ${TF_ROOT}
- gitlab-terraform apply - gitlab-terraform apply
resource_group: ${TF_STATE_NAME} resource_group: ${TF_STATE_NAME}
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: manual when: manual
only:
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
.terraform:destroy: &terraform_destroy .terraform:destroy: &terraform_destroy
stage: cleanup stage: cleanup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment