Skip to content

Commit

Permalink
Fix artifacts path for dra publish
Browse files Browse the repository at this point in the history
This commit fixes the downloaded artifacts path to the expected path
by the release manager image (`bin/out`).

The original path was changed in #212 and the previous step because path
lengths exceeded a limit imposed by the msi builder.
  • Loading branch information
dliappis committed Jan 31, 2024
1 parent 18f56e0 commit e1df7cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .buildkite/scripts/dra-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ set -uo pipefail

# Download artifacts from Buildkite "Build stack installers" step
echo "+++ Downloading artifacts..."
buildkite-agent artifact download 'bin\out\**\*.msi' . --step build-"${DRA_WORKFLOW}"
# it's possible to also use unix style paths for download (users/buildkites/...)
# but it's an experimental feature that needs an agent flag set: https://buildkite.com/docs/agent/v3#experimental-features-normalised-upload-paths
buildkite-agent artifact download 'users\buildkite\esi\bin\out\**\*.msi' . --step build-"${DRA_WORKFLOW}"
mv users/buildkite/esi/bin bin
chmod -R 777 bin/out

echo "+++ Setting DRA params"
Expand Down

0 comments on commit e1df7cb

Please sign in to comment.