mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-21 20:49:10 +01:00
25 lines
971 B
Bash
25 lines
971 B
Bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
|
|
. "$DIR/prelude.sh"
|
|
|
|
packagesfile=packages.tgz
|
|
|
|
curl https://s3.amazonaws.com/mciuploads/${project}/${build_variant}/${revision}/artifacts/${build_id}-packages.tgz >> $packagesfile
|
|
|
|
podman run \
|
|
-v $(pwd):$(pwd) \
|
|
-w $(pwd) \
|
|
--env-host \
|
|
${UPLOAD_LOCK_IMAGE} \
|
|
-key=${version_id}/${build_id}/packages/${packagesfile} -tag=task-id=${EVERGREEN_TASK_ID} ${packagesfile}
|
|
|
|
cd src
|
|
|
|
. ./notary_env.sh
|
|
|
|
set -o errexit
|
|
|
|
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} --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
|