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 \
|
2022-02-25 16:02:16 +01:00
|
|
|
--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}
|