Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: upload binaries as artifacts #4391

Merged
merged 7 commits into from
Sep 19, 2023

Conversation

matzf
Copy link
Contributor

@matzf matzf commented Sep 13, 2023

Upload binaries built in the build step as build artifacts.
Add a buildkite "annotation" to give quick access to these archive with these binaries.

Inlcudes some cleanup around the uploading of artifacts and related hooks.

Now only the handling of the bazel-remote and go-module-proxy is left in the pre-command/pre-exit hooks.
The rest is moved into step-specific metahook-hooks. This includes collecting the test outputs artifacts -- this is kept as archives instead of individual files, just because the number of individual test output files seems somewhat overwhelming in the buildkite UI.


This change is Reviewable

@matzf matzf force-pushed the buildkite-bin-artifacts branch 5 times, most recently from 10e39ca to ed2b9dd Compare September 19, 2023 09:43
Upload binaries built in the build step as build artifacts.

Inlcudes some cleanup around the uploading of artifacts and related
hooks.

Now only the handling of the bazel-remote and go-module-proxy is left in
the pre-command/pre-exit hooks.
The rest is moved into step-specific metahook-hooks.

The log artifacts are no longer combined into a single tar.gz.
That has never seemed very convenient to me. Let's see if this works well.
@matzf matzf marked this pull request as ready for review September 19, 2023 11:40
Copy link
Contributor

@marcfrei marcfrei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 7 of 7 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @matzf)


README.md line 34 at r1 (raw file):

for instructions on how to install build dependencies, build and run SCION.

Pre-built binaries for x86-64 Linux are also available from the [latest nightly build](https://buildkite.com/scionproto/scion-nightly/builds/latest).

"are available"

Code quote:

are also available

.buildkite/pipeline.yml line 18 at r1 (raw file):

            #### Build outputs
            - <a href="artifact://bazel-bin/scion.tar">SCION binaries</a>
            - <a href="artifact://bazel-bin/scion-ci.tar">SCION test tools and utilities binaries</a>

Just "SCION test tools and utilities"?

Code quote:

SCION test tools and utilities binaries

Copy link
Contributor Author

@matzf matzf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 5 of 7 files reviewed, all discussions resolved (waiting on @marcfrei)


README.md line 34 at r1 (raw file):

Previously, marcfrei (Marc Frei) wrote…

"are available"

Done.


.buildkite/pipeline.yml line 18 at r1 (raw file):

Previously, marcfrei (Marc Frei) wrote…

Just "SCION test tools and utilities"?

Done.

Copy link
Contributor

@marcfrei marcfrei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matzf)

@matzf matzf merged commit 4686186 into scionproto:master Sep 19, 2023
4 checks passed
@matzf matzf deleted the buildkite-bin-artifacts branch September 19, 2023 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants