-
Notifications
You must be signed in to change notification settings - Fork 13
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 improve nightly GHA workflow #761
Conversation
with: | ||
name: staking-miner-playground-binary | ||
path: ./staking-miner-playground/target/release/staking-miner-playground | ||
retention-days: 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you could increase retention-rate to something like 30 days because the staking-miner playground hasn't been changed for a long time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Let it be 31, and binary will be rebuild on 1st day of every month :)
branches: | ||
- main | ||
paths: | ||
- 'staking-miner-playground/**' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome thanks
Let's create a follow-up PR to move the "nightly tests" to the CI instead, it shouldn't be that slow a few minutes.
Yes. It's taking ~5 mins https://github.com/sergejparity/polkadot-staking-miner/actions/runs/7386921007 |
This PR improves
nightly
workflow by movingPolkadot
andStaking miner playground
binaries builds into separate workflows and just reusing its artifacts.Polkadot
is rebuilt every day at 22:00Staking miner playground
once a month or when changes to its codebase is made.Both can be triggered manually if needed