Skip to content

Commit

Permalink
build packages in buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
matzf committed Dec 8, 2023
1 parent 4f4060d commit bc84691
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,28 @@ steps:
- exit_status: 255 # Forced agent shutdown
timeout_in_minutes: 10
- wait
- label: "Package :debian:"
command:
- make dist-deb
- cd deb;
- tar -chaf scion-deb-amd64.tar.gz *_amd64.deb
- tar -chaf scion-deb-arm64.tar.gz *_arm64.deb
- tar -chaf scion-deb-i386.tar.gz *_i386.deb
- tar -chaf scion-deb-armel.tar.gz *_armel.deb
artifact_paths:
- "deb/*.tar.gz"
plugins:
- scionproto/metahook#v0.3.0:
post-artifact: |
cat << EOF | buildkite-agent annotate --style "info"
#### Packages :debian:
- <a href="artifact://deb/scion-deb-amd64.tar">amd64</a>
- <a href="artifact://deb/scion-deb-arm64.tar">arm64</a>
- <a href="artifact://deb/scion-deb-i386.tar">i386</a>
- <a href="artifact://deb/scion-deb-armel.tar">armel</a>
EOF
key: dist-deb
retry: *automatic-retry
- label: "Unit Tests :bazel:"
command:
- bazel test --config=race --config=unit_all
Expand Down Expand Up @@ -70,6 +92,7 @@ steps:
timeout_in_minutes: 20
key: check_generated
retry: *automatic-retry
- wait
- group: "End to End"
key: e2e
steps:
Expand Down

0 comments on commit bc84691

Please sign in to comment.