Commit 0c641cda authored by rajat.kulkarni's avatar rajat.kulkarni

Update .gitlab-ci.yml

parent 07b4b270
Pipeline #23502 failed
......@@ -17,6 +17,9 @@ variables:
TF_ROOT: terraform
TF_CACHE_KEY: default
TF_STATE_NAME: default
before script:
- terraform init -input=false
cache:
paths:
......@@ -33,15 +36,15 @@ stages:
build:
#image: alpine:latest
stage: build
script:
- terraform init -input=false
tags:
- rr
only:
- master
# build:
# #image: alpine:latest
# stage: build
# script:
# - terraform init -input=false
# tags:
# - rr
# only:
# - master
plan:
tags:
......@@ -61,8 +64,8 @@ apply:
script:
- terraform apply
dependencies:
- build
when: manual
- plan
#when: manual
only:
- master
......@@ -76,7 +79,7 @@ destroy:
- terraform destroy
dependencies:
- apply
when: manual
#when: manual
only:
refs:
- 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