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: ...@@ -27,8 +27,8 @@ cache:
stages: stages:
- deploy - provision
- destroy #- destroy
...@@ -44,10 +44,10 @@ stages: ...@@ -44,10 +44,10 @@ stages:
# only: # only:
# - master # - master
deploy: provision:
tags: tags:
- rr - rr
stage: deploy stage: provision
script: script:
- terraform plan - terraform plan
- touch aa.terraform - touch aa.terraform
...@@ -72,17 +72,17 @@ deploy: ...@@ -72,17 +72,17 @@ deploy:
# - master # - master
destroy: # destroy:
tags: # tags:
- rr # - rr
stage: destroy # stage: destroy
script: # script:
- terraform init # - terraform init
- echo "Destroying resources" # - echo "Destroying resources"
- terraform destroy # - terraform destroy
# dependencies: # # dependencies:
# - plan # # - plan
# - apply # # - apply
#when: manual # #when: manual
only: # only:
- master # - master
\ No newline at end of file \ 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