-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[GitHub Actions] - INFRA scripts to implement GCP Self-hosted runners (Ubuntu&Windows) #23158
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
[GitHub Actions] - INFRA scripts to implement GCP Self-hosted runners (Ubuntu&Windows) #23158
Conversation
…22703 in order to create a new PR only with Infra related work.
|
Assigning reviewers. If you would like to opt out of this review, comment R: @Abacn for label build. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
| Windows Virtual machines have the following specifications | ||
|
|
||
| #### VM specifications | ||
| * Instance Template: _TODO: Add GCP link when final resources are in place._ |
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.
Calling out this TODO since we should resolve before merging if possible, or create an issue if not
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.
We have resolved the image nomenclature, it's going to be added, thanks!
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.
We are adding the template name instead since a hardcoded link will become outdated quickly.
.github/gh-actions-self-hosted-runners/helper-functions/cloud-functions/generateToken/index.js
Outdated
Show resolved
Hide resolved
...h-actions-self-hosted-runners/helper-functions/cloud-functions/monitorRunnersStatus/index.js
Outdated
Show resolved
Hide resolved
...h-actions-self-hosted-runners/helper-functions/cloud-functions/monitorRunnersStatus/index.js
Outdated
Show resolved
Hide resolved
...h-actions-self-hosted-runners/helper-functions/cloud-functions/monitorRunnersStatus/index.js
Show resolved
Hide resolved
...h-actions-self-hosted-runners/helper-functions/cloud-functions/monitorRunnersStatus/index.js
Outdated
Show resolved
Hide resolved
.github/gh-actions-self-hosted-runners/self-hosted-linux/README.md
Outdated
Show resolved
Hide resolved
.github/gh-actions-self-hosted-runners/self-hosted-windows/shutdownScript.ps1
Outdated
Show resolved
Hide resolved
Co-authored-by: Danny McCormick <dannymccormick@google.com>
Co-authored-by: Danny McCormick <dannymccormick@google.com>
…stead of inner conditions. Co-authored-by: Danny McCormick <dannymccormick@google.com>
Co-authored-by: Danny McCormick <dannymccormick@google.com>
* Implementing Review Changes * Refactoring to use find instead of plain loops and adding env var validation * Adding REQUIRED_ENV_VARS as a constant Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local>
...h-actions-self-hosted-runners/helper-functions/cloud-functions/monitorRunnersStatus/index.js
Outdated
Show resolved
Hide resolved
.github/gh-actions-self-hosted-runners/helper-functions/cloud-functions/generateToken/index.js
Outdated
Show resolved
Hide resolved
.github/gh-actions-self-hosted-runners/helper-functions/cloud-functions/generateToken/index.js
Outdated
Show resolved
Hide resolved
* Using octokit paginate Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local>
damccorm
left a comment
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.
Thanks for the changes, looks good to me!
As part of the issue #21106, @elink21 and I have implemented the self-hosted runners for the Ubuntu and Windows operating systems.
Please see the Approved Pull Request (PR#22703) for reference.
In this PR you will find the following changes:
Note: We will rely on GitHub-hosted runners for MacOS builds until a straightforward implementation approach comes out.
PR#16511 : Previous PR for reference.
BEAM-12812: Original Jira may contain additional context.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.