Last active
December 4, 2019 15:49
-
-
Save davidmukiibi/9f23d55ba9b94cc986a96f3b1db5ab7f to your computer and use it in GitHub Desktop.
This bash script only installs k6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
install_k6() { | |
apt-get update | |
apt-get install dirmngr --install-recommends | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 | |
echo "deb https://dl.bintray.com/loadimpact/deb stable main" | sudo tee -a /etc/apt/sources.list | |
apt-get update | |
apt-get install k6 | |
} | |
main() { | |
install_k6 | |
} | |
main "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment