Skip to content

Conversation

@boomanaiden154
Copy link
Contributor

This patch adds in windows functionality to dispatch_job.py. Some minor
refactoring was done around the start_build function so that the core
functionality can be reused between Linux and Windows.

boomanaiden154 added a commit to boomanaiden154/llvm-zorg that referenced this pull request Aug 5, 2025
This patch adds in windows functionality to dispatch_job.py. Some minor
refactoring was done around the start_build function so that the core
functionality can be reused between Linux and Windows.

Pull Request: llvm#540
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
boomanaiden154 added a commit to boomanaiden154/llvm-zorg that referenced this pull request Aug 5, 2025
This patch adds in windows functionality to dispatch_job.py. Some minor
refactoring was done around the start_build function so that the core
functionality can be reused between Linux and Windows.

Pull Request: llvm#540


def start_build_linux(commit_sha: str, k8s_client) -> str:
pod_name = f"build-{commit_sha}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Function comments?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added. I kept them as one liners as these functions should be reasonably self documenting.



def start_build_windows(commit_sha: str, k8s_client):
pod_name = f"build-{commit_sha}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Function comments?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same as above.

Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
Created using spr 1.3.6
Created using spr 1.3.6

[skip ci]
boomanaiden154 added a commit to boomanaiden154/llvm-zorg that referenced this pull request Aug 6, 2025
This patch adds in windows functionality to dispatch_job.py. Some minor
refactoring was done around the start_build function so that the core
functionality can be reused between Linux and Windows.

Pull Request: llvm#540
Created using spr 1.3.6
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
@boomanaiden154 boomanaiden154 requested a review from cmtice August 6, 2025 22:18
boomanaiden154 added a commit to boomanaiden154/llvm-zorg that referenced this pull request Aug 6, 2025
This patch adds in windows functionality to dispatch_job.py. Some minor
refactoring was done around the start_build function so that the core
functionality can be reused between Linux and Windows.

Pull Request: llvm#540
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
@boomanaiden154 boomanaiden154 changed the base branch from users/boomanaiden154/main.ci-add-support-for-windows-to-dispatch_jobpy to main August 6, 2025 23:48
@boomanaiden154 boomanaiden154 merged commit ecfc37b into main Aug 6, 2025
5 checks passed
@boomanaiden154 boomanaiden154 deleted the users/boomanaiden154/ci-add-support-for-windows-to-dispatch_jobpy branch August 6, 2025 23:50
vvereschaka pushed a commit to vvereschaka/llvm-zorg that referenced this pull request Sep 25, 2025
This patch adds in windows functionality to dispatch_job.py. Some minor
refactoring was done around the start_build function so that the core
functionality can be reused between Linux and Windows.

Reviewers: cmtice, gburgessiv, lnihlen, dschuff, Keenuts

Reviewed By: cmtice

Pull Request: llvm#540
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