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

Give cargo-dist a try-out #352

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Give cargo-dist a try-out #352

merged 1 commit into from
Apr 11, 2024

Conversation

darach
Copy link
Member

@darach darach commented Apr 11, 2024

Signed-off-by: Darach Ennis [email protected]

Signed-off-by: Darach Ennis <[email protected]>
Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.43%. Comparing base (2ca0fec) to head (18db1bd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #352   +/-   ##
=======================================
  Coverage   36.43%   36.43%           
=======================================
  Files           8        8           
  Lines         409      409           
=======================================
  Hits          149      149           
  Misses        260      260           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

push:
tags:
- '**[0-9]+.[0-9]+.[0-9]+*'
pull_request:
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we want to run this on every pull request

Copy link
Member Author

Choose a reason for hiding this comment

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

It skips for PRs when its configured for plan mode and doesn't generate artefacts. There is another mode that always builds release artefacts but I disabled it. The default mode is plan. If you look at our CI output for this PR you'll see plan was triggered and it skipped the release distribution process.

Copy link
Member Author

Choose a reason for hiding this comment

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

Here's the reference in the docs:

https://opensource.axo.dev/cargo-dist/book/introduction.html#distributing

My read of that is that until we push a tag it does nothing. Our release process adds a tag so it should only fire on release for us with no other configuration.

Copy link
Member

Choose a reason for hiding this comment

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

Interesting, that's complex but lets give it a shot 👍

@darach darach merged commit bdcbb29 into main Apr 11, 2024
23 checks passed
@darach darach deleted the cargo-dist-trial branch April 11, 2024 21: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