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

21 lines
601 B
Bash
Raw Normal View History

2022-01-26 22:43:08 +01:00
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
cd src
. ./notary_env.sh
set -o errexit
set -o verbose
ext="${ext:-tgz}"
2022-05-29 16:27:54 +02:00
mv "mongo_crypt_shared_v1.$ext" mongo_crypt_shared_v1-${push_name}-${push_arch}-${suffix}.${ext}
2022-01-26 22:43:08 +01:00
/usr/local/bin/notary-client.py \
--key-name "server-6.0" \
2022-01-26 22:43:08 +01:00
--auth-token-file ${workdir}/src/signing_auth_token \
--comment "Evergreen Automatic Signing ${revision} - ${build_variant} - ${branch_name}" \
--notary-url http://notary-service.build.10gen.cc:5000 \
2022-05-29 16:27:54 +02:00
mongo_crypt_shared_v1-${push_name}-${push_arch}-${suffix}.${ext}