mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[Ubuntu] Migrate tests to Pester (#2340)
* 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
This commit is contained in:
committed by
GitHub
parent
f58f2c1e02
commit
0a768b0726
@@ -4,15 +4,12 @@
|
||||
## 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"
|
||||
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
if ! command -v terraform; then
|
||||
echo "Terraform was not installed or found on PATH"
|
||||
exit 1
|
||||
fi
|
||||
invoke_tests "Tools" "Terraform"
|
||||
Reference in New Issue
Block a user