summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorsergey.galtsev <sergey.galtsev@mongodb.com>2022-01-26 13:43:08 -0800
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-28 23:30:00 +0000
commit34cb3162304283fc7462cb21a1ee0e68f6364707 (patch)
tree760f0bb60c9bff7420c6c1981a320e323aa79f19 /evergreen
parent27ef07ba171689b7c77371359c20a1613523a89b (diff)
downloadmongo-34cb3162304283fc7462cb21a1ee0e68f6364707.tar.gz
SERVER-61575 publish csfle
Diffstat (limited to 'evergreen')
-rw-r--r--evergreen/notary_client_csfle_run.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/evergreen/notary_client_csfle_run.sh b/evergreen/notary_client_csfle_run.sh
new file mode 100644
index 00000000000..11b72b74bdf
--- /dev/null
+++ b/evergreen/notary_client_csfle_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_csfle_v1.$ext" mongo_csfle_v1-${push_name}-${push_arch}-${suffix}.${ext}
+
+/usr/local/bin/notary-client.py \
+ --key-name "server-5.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_csfle_v1-${push_name}-${push_arch}-${suffix}.${ext}