2021-06-25 01:45:51 +02:00
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
|
2021-05-03 15:03:26 +02:00
|
|
|
. "$DIR/prelude.sh"
|
|
|
|
|
2023-06-20 17:10:51 +02:00
|
|
|
packagesfile=packages.tgz
|
2023-06-12 20:40:17 +02:00
|
|
|
|
|
|
|
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} \
|
2023-06-22 18:08:08 +02:00
|
|
|
-key=${version_id}/${build_id}/packages/${packagesfile} -tag=task-id=${EVERGREEN_TASK_ID} ${packagesfile}
|
2023-06-12 20:40:17 +02:00
|
|
|
|
2021-05-03 15:03:26 +02:00
|
|
|
cd src
|
|
|
|
|
2023-09-01 16:10:03 +02:00
|
|
|
. ./notary_env.sh
|
|
|
|
|
2021-05-03 15:03:26 +02:00
|
|
|
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
|