Commit 5889dc5c authored by rajat.kulkarni's avatar rajat.kulkarni

Update .gitlab-ci.yml

parent 4cf21706
Pipeline #23312 failed
...@@ -39,6 +39,24 @@ install: ...@@ -39,6 +39,24 @@ install:
script: script:
# - wget https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_linux_amd64.zip # - wget https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_linux_amd64.zip
#- unzip terraform_0.11.14_linux_amd64.zip #- unzip terraform_0.11.14_linux_amd64.zip
- wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh #Get the installer on to your machine:
- chmod 755 install.sh #Make installer executable
- ./install.sh -b $HOME/.bin #Install tfswitch in a location you have permission:
- $HOME/.bin/tfswitch #test
- export PATH=$PATH:$HOME/.bin #Export your .bin into your path
#You should probably add step 4 in your `.bash_profile` in your $HOME directory.
#Next, try:
` - tfswitch -b $HOME/.bin/terraform 0.11.7`
#or simply
- `tfswitch -b $HOME/.bin/terraform
- wget https://releases.hashicorp.com/terraform/0.12.29/terraform_0.12.29_linux_amd64.zip - wget https://releases.hashicorp.com/terraform/0.12.29/terraform_0.12.29_linux_amd64.zip
- unzip terraform_0.12.29_linux_amd64.zip - unzip terraform_0.12.29_linux_amd64.zip
- mv terraform /usr/local/bin/ - mv terraform /usr/local/bin/
......
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