From e1df7cbcb7e26c007b32e817595cd86f8f1aa17c Mon Sep 17 00:00:00 2001 From: Dimitrios Liappis Date: Wed, 31 Jan 2024 10:03:00 +0200 Subject: [PATCH] Fix artifacts path for dra publish 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. --- .buildkite/scripts/dra-publish.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.buildkite/scripts/dra-publish.sh b/.buildkite/scripts/dra-publish.sh index 25c8b92..126d9f2 100644 --- a/.buildkite/scripts/dra-publish.sh +++ b/.buildkite/scripts/dra-publish.sh @@ -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"