summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Kleinman <samk@10gen.com>2015-12-11 11:26:43 -0500
committerSam Kleinman <samk@10gen.com>2015-12-14 22:13:24 -0500
commit83d8cc25e00e42856924d84e220fbe4a839e605d (patch)
tree1a713146c9cd49707b198c89b2ac81fa7d1b9f3e
parenta0fe6521116f44557523c37b2b99866d41985629 (diff)
downloadmongo-83d8cc25e00e42856924d84e220fbe4a839e605d.tar.gz
SERVER-21864: streamline use of expansions in package signingr3.0.8
-rw-r--r--etc/evergreen.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 9612fe5a4b5..cbc1f3e6921 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1869,7 +1869,7 @@ tasks:
silent: true
script: |
set -o errexit
- echo "${signing_auth_token}" > signing_auth_token
+ echo "${signing_auth_token_30}" > signing_auth_token
- command: shell.exec
params:
working_dir: src
@@ -1883,19 +1883,19 @@ tasks:
mv distsrc.${ext|tgz} mongodb-src-${src_suffix}.${ext|tar.gz} || true
/usr/bin/find build/ -type f | grep msi$ | xargs -I original_filename cp original_filename mongodb-win32-${push_arch}-${suffix}.msi || true
- notary-client.py --key-name "${signing_key_name}" --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 --skip-missing mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz} mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz} mongodb-win32-${push_arch}-${suffix}.msi mongodb-src-${src_suffix}.${ext|tar.gz}
+ notary-client.py --key-name "server-3.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 --skip-missing mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz} mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz} mongodb-win32-${push_arch}-${suffix}.msi mongodb-src-${src_suffix}.${ext|tar.gz}
if [ "${has_packages|}" = "true" ] ; then
for rpm in $(find repo/ -name \*.rpm) ; do
pushd $(dirname $rpm)
# Use --package-file-suffix "" to overwrite existing RPM's instead of saving new "-signed.rpm" RPM files
#
- notary-client.py --key-name "${signing_key_name}" --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 --archive-file-ext gpg --outputs sig --package-file-suffix "" $(basename $rpm)
+ notary-client.py --key-name "server-3.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 --archive-file-ext gpg --outputs sig --package-file-suffix "" $(basename $rpm)
popd
done
for release_file in $(find repo/ -name Release) ; do
pushd $(dirname $release_file)
- notary-client.py --key-name "${signing_key_name}" --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 --outputs sig Release
+ notary-client.py --key-name "server-3.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 --outputs sig Release
popd
done
fi