05.install_testing_tools.sh 566 B

12345678910111213141516
  1. #!/bin/bash
  2. # fail if any commands fails
  3. set -e
  4. # debug log
  5. #set -x
  6. # tools
  7. paru -S postman-bin jmeter jmeter-plugins-manager allure-commandline
  8. # schema guru
  9. mkdir -p ~/bin && cd ~/bin || return
  10. #curl -OL "$(curl -s https://api.github.com/repos/snowplow/schema-guru/releases/latest | grep "tag_name" | awk '{print "https://github.com/snowplow/schema-guru/archive/" substr($2, 2, length($2)-3) ".zip"}')"
  11. curl -O -L $(curl -s https://api.github.com/repos/snowplow/schema-guru/releases/latest | jq -r ".assets[0].browser_download_url")
  12. unzip schema_guru_0.6.2.zip