Skip to content

Commit

Permalink
use signed-artifacts to be able to publish them
Browse files Browse the repository at this point in the history
 and filter easily in the s3 bucket publisher
  • Loading branch information
v1v committed Jun 5, 2024
1 parent 444c53a commit e28f2ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .buildkite/scripts/create-github-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ DIST_LOCATION=artifacts-to-upload

echo "--- Download signed artifacts"
mkdir -p "$DIST_LOCATION"
buildkite-agent artifact download --step gpg "*.*" "$DIST_LOCATION"/
buildkite-agent artifact download --step macos "*.*" "$DIST_LOCATION"/
buildkite-agent artifact download --step windows "*.*" "$DIST_LOCATION"/
buildkite-agent artifact download --step gpg "signed-artifacts/*.*" "$DIST_LOCATION"/
buildkite-agent artifact download --step macos "signed-artifacts/*.*" "$DIST_LOCATION"/
buildkite-agent artifact download --step windows "signed-artifacts/*.*" "$DIST_LOCATION"/
ls -l "$DIST_LOCATION"/

echo "--- Install gh :github:"
Expand Down
4 changes: 1 addition & 3 deletions .buildkite/scripts/download-signed-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ cat << EOF
commands:
- mkdir -p signed-artifacts
- buildkite-agent artifact download --build "$SIGN_BUILD_ID" "*.*" signed-artifacts/
- cd signed-artifacts
- ls -ltra *.*
- buildkite-agent artifact upload "*.*"
- buildkite-agent artifact upload "signed-artifacts/*.*"
agents:
image: docker.elastic.co/ci-agent-images/ubuntu-build-essential
EOF

0 comments on commit e28f2ff

Please sign in to comment.