From 1f09d0aa2a8337fd5f5d9728b0e3bb517239cbab Mon Sep 17 00:00:00 2001 From: Kim Tao Date: Tue, 10 Mar 2020 14:41:36 -0400 Subject: SERVER-46754: use new repobuilding service to publish packages (cherry picked from commit cfc7b0f2cc4a3aeecfc4552f52be96475d39088c) --- etc/evergreen.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 2cb94a91778..1b160891ff3 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -5423,6 +5423,8 @@ tasks: cat < notary_env.sh export NOTARY_TOKEN=${signing_auth_token_36} + export BARQUE_USERNAME=${barque_user} + export BARQUE_PASSWORD=${barque_password} EOF echo "${signing_auth_token_36}" > signing_auth_token @@ -5445,10 +5447,10 @@ tasks: /usr/local/bin/notary-client.py --key-name "server-3.6" --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-shell-${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 - CURATOR_RELEASE=${curator_release|"37d930ea2eeb27acb3782f1aa4d69da1e9dac223"} + CURATOR_RELEASE=${curator_release|"latest"} curl -L -O http://boxes.10gen.com/build/curator/curator-dist-rhel70-$CURATOR_RELEASE.tar.gz tar -zxvf curator-dist-rhel70-$CURATOR_RELEASE.tar.gz - ./curator repo --config ./etc/repo_config.yaml --distro ${packager_distro} --edition ${repo_edition} --version ${version} --arch ${packager_arch} --packages repo + ./curator repo submit --service ${barque_url} --config ./etc/repo_config.yaml --distro ${packager_distro} --edition ${repo_edition} --version ${version} --arch ${packager_arch} --packages https://s3.amazonaws.com/mciuploads/${project}/${build_variant}/${revision}/artifacts/${build_id}-packages.tgz fi # Put the binaries tarball/zipfile -- cgit v1.2.1