[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:
Vladimir Safonkin
2020-12-29 10:02:46 +03:00
committed by GitHub
parent f58f2c1e02
commit 0a768b0726
17 changed files with 125 additions and 64 deletions

View File

@@ -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"