diff options
author | Kim Tao <kim.tao@mongodb.com> | 2020-03-10 14:41:36 -0400 |
---|---|---|
committer | Kim Tao <kim.tao@mongodb.com> | 2020-03-12 08:06:20 -0400 |
commit | 07e2d97fbc0bcdc78f5a189a0ea7dcc3d4a64592 (patch) | |
tree | fc168928c9d5b3ac1ff8114e7251df38c1eab2d3 | |
parent | f39bb1d0922ae02942c86fe443e795d9de866279 (diff) | |
download | mongo-07e2d97fbc0bcdc78f5a189a0ea7dcc3d4a64592.tar.gz |
SERVER-46754: use new repobuilding service to publish packages
(cherry picked from commit e30263b3e9d3f5ab361c0f0a110c0f7c08790fff)
-rw-r--r-- | etc/evergreen.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index d2a430a696e..baf62d8103d 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -2015,6 +2015,8 @@ tasks: cat <<EOF > notary_env.sh export NOTARY_TOKEN=${signing_auth_token_32} + export BARQUE_USERNAME=${barque_user} + export BARQUE_PASSWORD=${barque_password} EOF echo "${signing_auth_token_32}" > signing_auth_token @@ -2036,10 +2038,10 @@ tasks: notary-client.py --key-name "server-3.2" --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="ea8d75dcc1a587111e7418e2428fb67e267af9fe" + 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 |