summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Tao <kim.tao@mongodb.com>2020-03-10 14:41:36 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-11 21:24:39 +0000
commit1f09d0aa2a8337fd5f5d9728b0e3bb517239cbab (patch)
tree87e9c84503741089224e4bf4f1da42eea7343b3f
parent1abddc055527e3964b71acf98069f41d8e168e1c (diff)
downloadmongo-1f09d0aa2a8337fd5f5d9728b0e3bb517239cbab.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 2cb94a91778..1b160891ff3 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -5423,6 +5423,8 @@ tasks:
cat <<EOF > 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