summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorTural Farhadov <tural.ferhadov@gmail.com>2022-10-25 17:08:17 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-25 18:05:29 +0000
commitf787f1e009e7c967305acdbc54c15838c7dd2b28 (patch)
tree966ef5decdf52bc38e52b7db7a11e23a9e498eff /evergreen
parent90624da769fc2d07ddcd3cea0181cb0f82796f16 (diff)
downloadmongo-f787f1e009e7c967305acdbc54c15838c7dd2b28.tar.gz
SERVER-70805: Add test package publish step
Diffstat (limited to 'evergreen')
-rw-r--r--evergreen/packages_publish_test.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/evergreen/packages_publish_test.sh b/evergreen/packages_publish_test.sh
new file mode 100644
index 00000000000..9e98e6444ff
--- /dev/null
+++ b/evergreen/packages_publish_test.sh
@@ -0,0 +1,14 @@
+DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
+. "$DIR/prelude.sh"
+
+cd src
+
+. ./notary_env.sh
+
+set -o errexit
+set -o verbose
+
+CURATOR_RELEASE=${curator_release}
+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 submit --service ${barque_url_test} --config ./etc/repo_config_test.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