0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00

SERVER-77608: fix upload-lock command invocation

This commit is contained in:
dylrich 2023-06-15 19:58:11 +00:00 committed by Evergreen Agent
parent e254915f83
commit e5606ee528
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,8 @@
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
set -o verbose
packagesfile=${project}-${build_variant}-${revision}-${build_id}-packages.tgz
curl https://s3.amazonaws.com/mciuploads/${project}/${build_variant}/${revision}/artifacts/${build_id}-packages.tgz >> $packagesfile
@ -10,14 +12,13 @@ podman run \
-w $(pwd) \
--env-host \
${UPLOAD_LOCK_IMAGE} \
upload-lock -key=${packagesfile} -tag=task-id=${EVERGREEN_TASK_ID} ${packagesfile}
-key=${packagesfile} -tag=task-id=${EVERGREEN_TASK_ID} ${packagesfile}
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

View File

@ -53,6 +53,8 @@ if [ -f "${MSI_PATH}" ]; then
ARTIFACTS[${MSI_MD5_PATH}]=${MSI_MD5_KEY}
fi
set -o verbose
for path in "${!ARTIFACTS[@]}"; do
key=${ARTIFACTS[${path}]}
@ -61,6 +63,6 @@ for path in "${!ARTIFACTS[@]}"; do
-w $(pwd) \
--env-host \
${UPLOAD_LOCK_IMAGE} \
upload-lock -key=${key} -tag=task-id=${EVERGREEN_TASK_ID} ${path}
-key=${key} -tag=task-id=${EVERGREEN_TASK_ID} ${path}
done