chore(vault-github): Add partner github and tests (#142)

This commit is contained in:
Muhammad Atif Ali
2024-02-13 12:18:23 +03:00
committed by GitHub
parent ac54966f5e
commit 7e897a51e6
4 changed files with 18 additions and 10 deletions

View File

@@ -2,7 +2,6 @@
# Convert all templated variables to shell variables
INSTALL_VERSION=${INSTALL_VERSION}
VAULT_ADDR=${VAULT_ADDR}
GITHUB_EXTERNAL_AUTH_ID=${GITHUB_EXTERNAL_AUTH_ID}
AUTH_PATH=${AUTH_PATH}
@@ -92,8 +91,6 @@ if [ $? -ne 0 ]; then
exit 1
fi
export VAULT_ADDR="$${VAULT_ADDR}"
# Login to vault using the GitHub token
printf "🔑 Logging in to Vault ...\n\n"
vault login -no-print -method=github -path=/$${AUTH_PATH} token="$${GITHUB_TOKEN}"