diff options
author | sergey.galtsev <sergey.galtsev@mongodb.com> | 2022-05-26 16:53:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-26 18:35:40 +0000 |
commit | 18fd7f814bd9d020b917c427a879839cec16c24c (patch) | |
tree | 669119038c516bd39339d47402c2fa0c0d4a3a62 /evergreen/notary_client_crypt_run.sh | |
parent | b4500cec1ccf1f080fed6687fa5611db0002275d (diff) | |
download | mongo-18fd7f814bd9d020b917c427a879839cec16c24c.tar.gz |
SERVER-66771 Rename CSFLE build artifacts
Diffstat (limited to 'evergreen/notary_client_crypt_run.sh')
-rw-r--r-- | evergreen/notary_client_crypt_run.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/evergreen/notary_client_crypt_run.sh b/evergreen/notary_client_crypt_run.sh new file mode 100644 index 00000000000..6e4cd2221d1 --- /dev/null +++ b/evergreen/notary_client_crypt_run.sh @@ -0,0 +1,20 @@ +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}" + +mv "mongo_crypt_v1.$ext" mongo_crypt_v1-${push_name}-${push_arch}-${suffix}.${ext} + +/usr/local/bin/notary-client.py \ + --key-name "server-6.0" \ + --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 \ + mongo_crypt_v1-${push_name}-${push_arch}-${suffix}.${ext} |