Skip to content

Instantly share code, notes, and snippets.

@jefrnc
Last active December 14, 2022 14:07
Show Gist options
  • Save jefrnc/b2c9f10e1992cec7e968f5ee2f57b3de to your computer and use it in GitHub Desktop.
Save jefrnc/b2c9f10e1992cec7e968f5ee2f57b3de to your computer and use it in GitHub Desktop.
vault-stress-test
echo "Install tzdata..."
export TZ=Etc/UTC
export DEBIAN_FRONTEND=noninteractive
apt update -y && \
apt install -y tzdata
echo "Install hashicorp vault stress test tool..."
apt install git -y && \
apt install software-properties-common -y && \
add-apt-repository ppa:deadsnakes/ppa -y && \
apt install python3.9 -y && \
apt install python3-pip -y && \
apt-get install nano -y
echo "Clone repo..."
git clone https://github.com/Frubana/devops_infra_vault_stress-test && \
cd devops_infra_vault_stress-test && \
pip install -r requirements.txt
git config --global credential.helper cache
git config --global user.email "jose.franco@frubana.com"
git config --global user.name "Joseph"
echo "Use: python3 test.py 100 75"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment