mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
* Add Pester tests * Fix incorrect merging * Remove swift test from installing script * Minor fix * Remove Haskell tests from commons tests * Fix selenium test * Fix SVN test * Fix pipx tests * Debug * Fix pipx packages test * Skip pipx for 16.04
15 lines
683 B
Bash
15 lines
683 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: terraform.sh
|
|
## Desc: Installs terraform
|
|
################################################################################
|
|
|
|
source $HELPER_SCRIPTS/invoke-tests.sh
|
|
|
|
# Install Terraform
|
|
TERRAFORM_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r .current_version)
|
|
curl -LO "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip"
|
|
unzip "terraform_${TERRAFORM_VERSION}_linux_amd64.zip" -d /usr/local/bin
|
|
rm -f "terraform_${TERRAFORM_VERSION}_linux_amd64.zip"
|
|
|
|
invoke_tests "Tools" "Terraform" |