Skip to content

chore: add upload of release artifacts to GitHub releases - #319

Merged
EdSchouten merged 1 commit into
buildbarn:mainfrom
CaerusKaru:adam/release
Feb 9, 2026
Merged

chore: add upload of release artifacts to GitHub releases#319
EdSchouten merged 1 commit into
buildbarn:mainfrom
CaerusKaru:adam/release

Conversation

@CaerusKaru

Copy link
Copy Markdown
Contributor

This provides a stable unauthed path for folks to gain access to the compiled release artifacts.

@aspect-workflows

aspect-workflows Bot commented Feb 6, 2026

Copy link
Copy Markdown

Test

Buildkite build #293 is running...

@EdSchouten
EdSchouten marked this pull request as ready for review February 6, 2026 19:17
@CaerusKaru

Copy link
Copy Markdown
Contributor Author

@EdSchouten not sure the best way to test this, but happy to revert if it doesn't function as expected in this workflow.

Comment thread .github/workflows/main.yaml Outdated
{
"if": "matrix.host.upload",
"name": "Download release artifacts",
"uses": "actions/download-artifact@v4",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

So this is downloading the assets that were uploaded previously. Would it make sense to put this in a separate job? That way we also don't run into disk space issues.

Keep in mind that the source of truth for these files is in tools/github_workflows. Please make changes there and run something like this to copy them back into the source tree:

bazel build //tools/github_workflows && cp bazel-bin/tools/github_workflows/*.yaml .github/workflows

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the pointer. Should be updated now 👍

Comment thread .github/workflows/main.yaml

@EdSchouten EdSchouten left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! One final request: can you run jsonnetfmt against the .libsonnet file for me? Thanks!

@CaerusKaru

Copy link
Copy Markdown
Contributor Author

LGTM! One final request: can you run jsonnetfmt against the .libsonnet file for me? Thanks!

Done, but it removed the newline. Do you want me to put it back?

@EdSchouten

Copy link
Copy Markdown
Member

That's odd. Yes, please!

@CaerusKaru

Copy link
Copy Markdown
Contributor Author

Done 👍

@EdSchouten
EdSchouten merged commit a86af34 into buildbarn:main Feb 9, 2026
@EdSchouten

Copy link
Copy Markdown
Member

Here goes nothing! Thanks, @CaerusKaru !

@EdSchouten

Copy link
Copy Markdown
Member

It looks like this change doesn't work just yet:

https://github.com/buildbarn/bb-storage/actions/runs/21838084540/job/63019130341

@CaerusKaru Would you be interested in taking a look? Thanks!

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