Commit 4f503912 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'nagyv-gitlab-master-patch-90860' into 'master'

Added destroy command to base Terraform template

See merge request gitlab-org/gitlab!46777
parents 93f5a3fe 95cff28f
...@@ -6,6 +6,7 @@ stages: ...@@ -6,6 +6,7 @@ stages:
- validate - validate
- build - build
- deploy - deploy
- cleanup
init: init:
extends: .init extends: .init
......
...@@ -52,3 +52,9 @@ cache: ...@@ -52,3 +52,9 @@ cache:
when: manual when: manual
only: only:
- master - master
.destroy: &destroy
stage: cleanup
script:
- gitlab-terraform destroy
when: manual
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