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

[qob] Always send the git revision from the python service backend instead of jar_url #14541

Merged
merged 2 commits into from
May 30, 2024

Conversation

daniel-goldstein
Copy link
Contributor

@daniel-goldstein daniel-goldstein commented May 9, 2024

Instead of doing anything fancy with custom JAR urls, the hail python client always just sends its git revision for QoB jobs. When the batch front end receives the request, it resolves that git revision to either a production JAR or a dev JAR under a /dev/ directory.

Resolves #14539

@daniel-goldstein daniel-goldstein marked this pull request as ready for review May 24, 2024 18:59
@@ -359,6 +323,10 @@ def debug_info(self) -> Dict[str, Any]:
def fs(self) -> FS:
return self._sync_fs

@property
def jar_spec(self) -> dict:
return {'type': 'git_revision', 'value': revision()}
Copy link
Collaborator

Choose a reason for hiding this comment

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

To be clear, we need to make upload-for-qob on our branches to use qob?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes we do

Copy link
Collaborator

@ehigham ehigham left a comment

Choose a reason for hiding this comment

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

nice one!

@hail-ci-robot hail-ci-robot merged commit 208d69b into hail-is:main May 30, 2024
2 checks passed
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.

[hailctl] QoB job specs should always use the git revision and never jar_url
3 participants