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: include build version in file name of build artifacts #4525

Merged
merged 3 commits into from
May 17, 2024

Conversation

matzf
Copy link
Contributor

@matzf matzf commented May 16, 2024

Previously the artifacts had static, generic names. This has always felt a bit clumsy, as downloading artifacts from multiple builds with a browser would usually result in automatically deduplicated file names like scion(5).tar.

After learning how the buildkite agent can interpolate variables in the pipeline during the pipeline upload (https://buildkite.com/docs/pipelines/environment-variables#variable-interpolation), it seems easy to improve this.
Now the artifacts include the version, matching the name of the artifacts in releases.

Previously the artifacts had static, generic names. This has always felt
a bit clumsy, as downloading artifacts from multiple builds with a
browser would usually result in automatically deduplicated file names
like `scion(5).tar`.

After learning how the buildkite agent can interpolate variables in the
pipeline during the pipeline upload (https://buildkite.com/docs/pipelines/environment-variables#variable-interpolation),
it seems easy to improve this.
Now the artifacts include the version, matching the name of the
artifacts in releases.
@matzf
Copy link
Contributor Author

matzf commented May 16, 2024

This change is Reviewable

Copy link
Contributor

@jiceatscion jiceatscion left a comment

Choose a reason for hiding this comment

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

Cool!

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

Copy link
Contributor

@jiceatscion jiceatscion left a comment

Choose a reason for hiding this comment

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

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

@matzf matzf merged commit 3446efd into scionproto:master May 17, 2024
4 checks passed
@matzf matzf deleted the ci-versioned-artifacts branch May 17, 2024 08:29
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