summaryrefslogtreecommitdiff
path: root/evergreen/functions/notary_client_credentials_setup.sh
blob: dd03625eb8537297e0cdd9919d201d0f667bd105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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_70}
export BARQUE_USERNAME=${barque_user}
export BARQUE_API_KEY=${barque_api_key}
EOF

echo "${signing_auth_token_70}" > signing_auth_token