summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Tao <kim.tao@mongodb.com>2020-03-10 14:41:36 -0400
committerKim Tao <kim.tao@mongodb.com>2020-03-12 07:50:03 -0400
commite279593d08bd6cd04e0a36105fb669f66c390ff2 (patch)
tree95f60edcb6e4171a9ad2f47aec33595f1239d151
parent69fa4377f76cffb05f23b82fe8f748a90ea15849 (diff)
downloadmongo-e279593d08bd6cd04e0a36105fb669f66c390ff2.tar.gz
SERVER-46754: use new repobuilding service to publish packages
(cherry picked from commit cfc7b0f2cc4a3aeecfc4552f52be96475d39088c)
-rw-r--r--etc/evergreen.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index fc341e03373..028ebaec180 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -3227,6 +3227,8 @@ tasks:
cat <<EOF > notary_env.sh
export NOTARY_TOKEN=${signing_auth_token_34}
+ export BARQUE_USERNAME=${barque_user}
+ export BARQUE_PASSWORD=${barque_password}
EOF
echo "${signing_auth_token_34}" > signing_auth_token
@@ -3249,10 +3251,10 @@ tasks:
/usr/local/bin/notary-client.py --key-name "server-3.4" --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