[Ubuntu] Migrate tests for common tools to Pester (part 3) (#2337)

* add test for Git

* Add Heroku

* Add hhvm

* Add Homebrew

* Add Julia

* Add kind

* Add Kubernetes Tools

* Remove kind and homebrew validate

* replace capital letter

* Add Leiningen

* add source to Leiningen

* Add Mercurial

* Add conda

* Add Netlify

* Add packer

* Add pollinate

* Add Pulumi

* Add Phantomjs

* Add Haveged

* Fix for kubectl

* Fix julia installation

* Add installer_script_folder env variable to run tests in brew provisioner

* Add delay after reboot

* Adjust pause settings
This commit is contained in:
Mikhail Timofeev
2020-12-25 18:03:35 +03:00
committed by GitHub
parent f30f928378
commit 64c9751269
22 changed files with 227 additions and 238 deletions

View File

@@ -4,6 +4,8 @@
## Desc: Installs Leiningen
################################################################################
source $HELPER_SCRIPTS/invoke-tests.sh
LEIN_BIN=/usr/local/bin/lein
curl -s https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein > $LEIN_BIN
chmod 0755 $LEIN_BIN
@@ -16,11 +18,4 @@ LEIN_JAR=$(find $LEIN_HOME -name "leiningen-*-standalone.jar")
echo "LEIN_JAR=$LEIN_JAR" | tee -a /etc/environment
echo "LEIN_HOME=$LEIN_HOME" | tee -a /etc/environment
# 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 lein; then
echo "lein was not installed"
exit 1
else
lein new app testapp && rm -rf testapp
fi
invoke_tests "Tools" "Leiningen"