Skip to content

Commit 83d8cc2

Browse files
author
Sam Kleinman
committed
SERVER-21864: streamline use of expansions in package signing
1 parent a0fe652 commit 83d8cc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

etc/evergreen.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,7 +1869,7 @@ tasks:
18691869
silent: true
18701870
script: |
18711871
set -o errexit
1872-
echo "${signing_auth_token}" > signing_auth_token
1872+
echo "${signing_auth_token_30}" > signing_auth_token
18731873
- command: shell.exec
18741874
params:
18751875
working_dir: src
@@ -1883,19 +1883,19 @@ tasks:
18831883
mv distsrc.${ext|tgz} mongodb-src-${src_suffix}.${ext|tar.gz} || true
18841884
/usr/bin/find build/ -type f | grep msi$ | xargs -I original_filename cp original_filename mongodb-win32-${push_arch}-${suffix}.msi || true
18851885
1886-
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}
1886+
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}
18871887
18881888
if [ "${has_packages|}" = "true" ] ; then
18891889
for rpm in $(find repo/ -name \*.rpm) ; do
18901890
pushd $(dirname $rpm)
18911891
# Use --package-file-suffix "" to overwrite existing RPM's instead of saving new "-signed.rpm" RPM files
18921892
#
1893-
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)
1893+
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)
18941894
popd
18951895
done
18961896
for release_file in $(find repo/ -name Release) ; do
18971897
pushd $(dirname $release_file)
1898-
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
1898+
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
18991899
popd
19001900
done
19011901
fi

0 commit comments

Comments
 (0)