summaryrefslogtreecommitdiff
path: root/evergreen/notary_client_crypt_run.sh
blob: 2d9b6b3d6894572613f695ec9ee08e615ca4609b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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_shared_v1.$ext" mongo_crypt_shared_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_shared_v1-${push_name}-${push_arch}-${suffix}.${ext}