-
Notifications
You must be signed in to change notification settings - Fork 249
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] Use numSplits instead of copy pasting test steps #11787
Conversation
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.
Minor point. Looks great!
outputs: | ||
- from: /io/test-output | ||
to: /test-output-4 | ||
to: /test-output |
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.
Hmm this seems incorrect. All the test outputs will race to overwrite one another. I don’t think we care about the outputs though. Just remove them? Or add a template variable to outputs?
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 added a prefix in #11771 such that if a job uses splits, its outputs get stowed under the job name to avoid clobbering. So for the first split this output would actually be /test_hail_java_0/test-output
. Happy to remove too if we never use them
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.
It's not exactly explicit so happy to hear alternatives
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. Hmm. A bit confusing. I don't have a better alternative though.
* [ci] Use numSplits instead of copy pasting test steps * change pytest env vars to use run image split vars * delete more remnants * fix job name for split run image
The diff is horrendous but I just deleted the copy-pasted steps 1-n and changed the zero'th to be the new step.
Also fixed a bug in the brand new vectorized RunImage where the job name wasn't getting the index suffix.