-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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: dynamic jobs #124175
CI: dynamic jobs #124175
Conversation
b325a04
to
0e9eed1
Compare
This comment has been minimized.
This comment has been minimized.
55550c7
to
476d4ae
Compare
This comment has been minimized.
This comment has been minimized.
65141ab
to
8b945c3
Compare
@bors try |
CI: dynamic jobs Opening as a draft to experiment with [dynamic CI jobs](https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/job.20matrix.20re-ordered.20PR.20list). r? `@ghost`
This comment has been minimized.
This comment has been minimized.
97ca4d3
to
8f21998
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #124177) made this pull request unmergeable. Please resolve the merge conflicts. |
0efaec5
to
545c12f
Compare
dc3c544
to
4d3e89c
Compare
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.
Left a few minor nits, but this otherwise looks great!
Thanks for the review, tried to fix all remarks in separate commits. |
@bors r+ |
@bors rollup=never (Who knows what this might do in the |
<<: *job-linux-16c | ||
|
||
# Jobs that run when you perform a try build (@bors try) | ||
# These jobs automatically inherit envs.production, to avoid repeating |
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.
Shouldn't they inherit envs.try
? (And similar for auto
below)
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.
Ah, good point, I forgot to update the comment. I'll add it to a follow up PR.
☀️ Test successful - checks-actions |
Wow, it went through. Great. |
Finished benchmarking commit (e7da0fa): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 673.216s -> 673.226s (0.00%) |
This PR modifies our CI workflows to be dynamic. This means that when a GitHub event is generated, we will run a Python script (
calculate-job-matrix.py
), which decides which CI jobs should be generated. These jobs are defined insrc/ci/github-actions/jobs.yml
).This should provide a few benefits:
expand-yaml-anchors
anymore.See this Zulip discussion for more context.
r? @ghost