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

Update .gitlab-ci.yml

parent 8fa3743d
Pipeline #23482 failed
......@@ -18,17 +18,12 @@ variables:
TF_CACHE_KEY: default
TF_STATE_NAME: default
cache:
paths:
- .terraform
stages:
- install
- build
- plan
- apply
......@@ -36,39 +31,7 @@ stages:
# #install:
# tags:
# - rr
# stage: install
# script:
# #- wget https://releases.hashicorp.com/terraform/0.12.29/terraform_0.12.29_linux_amd64.zip
# #- unzip terraform_0.12.29_linux_amd64.zip
# #- curl -O https://releases.hashicorp.com/terraform/0.11.10/terraform_0.11.10_linux_amd64.zip
# #- unzip terraform_0.11.10_linux_amd64.zip -d /C:/Users/rajat.kulkarni/GitLab-Runner/
# #- rm terraform_0.11.10_linux_amd64.zip
# #- git clone https://github.com/Zordrak/tfenv.git ~/.tfenv
# #- echo 'export PATH="$HOME/.tfenv/bin:$PATH"' >> $HOME/bashrc
# #- terraform --version
# #- mv terraform /usr/local/bin/
# #- chown -R root:root /usr/local/bin/terraform
# #- terraform_0.11.14_linux_amd64.zip
# #- export PATH=$PATH:$HOME/terraform
# only:
# - master
#build:
# tags:
# - rr
#stage: build
#script:
# - terraform init -input=false
#only:
# - master
build:
#image: alpine:latest
......@@ -81,8 +44,6 @@ build:
- master
plan:
tags:
- rr
stage: plan
script:
- terraform plan -out "planfile"
......@@ -90,6 +51,8 @@ plan:
- master
dependencies:
- build
tags:
- rr
apply:
tags:
......
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