Commit cef0e9a9 authored by rajat.kulkarni's avatar rajat.kulkarni

Update .gitlab-ci.yml

parent 1649c1f3
Pipeline #23538 passed with stage
in 3 minutes and 13 seconds
......@@ -27,8 +27,8 @@ cache:
stages:
- deploy
- destroy
- provision
#- destroy
......@@ -44,10 +44,10 @@ stages:
# only:
# - master
deploy:
provision:
tags:
- rr
stage: deploy
stage: provision
script:
- terraform plan
- touch aa.terraform
......@@ -72,17 +72,17 @@ deploy:
# - master
destroy:
tags:
- rr
stage: destroy
script:
- terraform init
- echo "Destroying resources"
- terraform destroy
# dependencies:
# - plan
# - apply
#when: manual
only:
- master
\ No newline at end of file
# destroy:
# tags:
# - rr
# stage: destroy
# script:
# - terraform init
# - echo "Destroying resources"
# - terraform destroy
# # dependencies:
# # - plan
# # - apply
# #when: manual
# only:
# - master
\ No newline at end of file
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