0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/evergreen/functions/notary_client_credentials_setup.sh

15 lines
321 B
Bash
Executable File

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
. "$DIR/../prelude.sh"
cd src
set -o errexit
cat <<EOF >notary_env.sh
export NOTARY_TOKEN=${signing_auth_token_50}
export BARQUE_USERNAME=${barque_user}
export BARQUE_API_KEY=${barque_api_key}
EOF
echo "${signing_auth_token_50}" >signing_auth_token