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] Use numSplits instead of copy pasting test steps #11787

Merged
merged 4 commits into from
Apr 21, 2022

Conversation

daniel-goldstein
Copy link
Contributor

@daniel-goldstein daniel-goldstein commented Apr 20, 2022

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.

Copy link
Contributor

@danking danking left a 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
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

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

Copy link
Contributor

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.

@danking danking merged commit 96122b3 into hail-is:main Apr 21, 2022
CDiaz96 pushed a commit to CDiaz96/hail that referenced this pull request Apr 27, 2022
* [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
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