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

Switch to GitHub-hosted arm64 runners #91

Open
dennisameling opened this issue Sep 9, 2024 · 0 comments
Open

Switch to GitHub-hosted arm64 runners #91

dennisameling opened this issue Sep 9, 2024 · 0 comments

Comments

@dennisameling
Copy link
Contributor

dennisameling commented Sep 9, 2024

GitHub-hosted arm64 runners are now in General Availability for teams/enterprise. Support for open source projects is following later this year.

Given that git-for-windows is a GitHub org, you may already be able to leverage the paid hosted runners, in favor of the current setup where we have to configure VMs in Azure ourselves. Or you could wait until the GitHub-hosted arm64 runners become free for open source projects.

Some related notes:

  • Here's 30 successful workflow runs with this setup.
  • The hosted image provided by ARM doesn't contain any tools like Git or MSVS yet. It looks like a new image is coming soon that will have a bunch of tools preinstalled. For now, I just modified the post-deployment-script.ps1 a bit to install GfW and pwsh manually.
  • Setting up the runners in my dennisameling-org was pretty straightforward. They're priced at $0.02 per minute, pay-as-you-go. The pricing page says there's a 2-core option, but the smallest I could select was 4-core. I'm curious how the pricing compares to the self-hosted Azure VMs that we're using now.
afbeelding windows-arm-github-hosted-runners-pricing
dennisameling added a commit to dennisameling-org/git-sdk-arm64 that referenced this issue Sep 14, 2024
A similar pipeline already exists in git-sdk-64, so this commit is to port most of that code to git-sdk-arm64.

We don't (yet) copy over the test-minimal-sdk job, because it spins up 16 parallel jobs, which is a bit too much for our self-hosted runner budget. We can add those once GitHub-hosted arm64 runners become available for OSS projects by the end of 2024.

Ref: git-for-windows/git-for-windows-automation#91
Ref: https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/#get-started-using-arm-hosted-runners-today
Signed-off-by: Dennis Ameling <[email protected]>
dennisameling added a commit to dennisameling-org/git-sdk-arm64 that referenced this issue Sep 14, 2024
A similar pipeline already exists in git-sdk-64, so this commit is to port most of that code to git-sdk-arm64.

We don't (yet) copy over the test-minimal-sdk job, because it spins up 16 parallel jobs, which is a bit too much for our self-hosted runner budget. We can add those once GitHub-hosted arm64 runners become available for OSS projects by the end of 2024.

Ref: git-for-windows/git-for-windows-automation#91
Ref: https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/#get-started-using-arm-hosted-runners-today
Signed-off-by: Dennis Ameling <[email protected]>
dennisameling added a commit to dennisameling-org/git-sdk-arm64 that referenced this issue Sep 15, 2024
A similar pipeline already exists in git-sdk-64, so this commit is to port most of that code to git-sdk-arm64.

We don't (yet) copy over the test-minimal-sdk job, because it spins up 16 parallel jobs, which is a bit too much for our self-hosted runner budget. We can add those once GitHub-hosted arm64 runners become available for OSS projects by the end of 2024.

Ref: git-for-windows/git-for-windows-automation#91
Ref: https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/#get-started-using-arm-hosted-runners-today
Signed-off-by: Dennis Ameling <[email protected]>
dennisameling added a commit to dennisameling-org/git-sdk-arm64 that referenced this issue Sep 15, 2024
A similar pipeline already exists in git-sdk-64, so this commit is to port most of that code to git-sdk-arm64.

We don't (yet) copy over the test-minimal-sdk job, because it spins up 16 parallel jobs, which is a bit too much for our self-hosted runner budget. We can add those once GitHub-hosted arm64 runners become available for OSS projects by the end of 2024.

Ref: git-for-windows/git-for-windows-automation#91
Ref: https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/#get-started-using-arm-hosted-runners-today
Signed-off-by: Dennis Ameling <[email protected]>
dennisameling added a commit to dennisameling-org/git-sdk-arm64 that referenced this issue Sep 15, 2024
A similar pipeline already exists in git-sdk-64, so this commit is to port most of that code to git-sdk-arm64.

We don't (yet) copy over the test-minimal-sdk job, because it spins up 16 parallel jobs, which is a bit too much for our self-hosted runner budget. We can add those once GitHub-hosted arm64 runners become available for OSS projects by the end of 2024.

Ref: git-for-windows/git-for-windows-automation#91
Ref: https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/#get-started-using-arm-hosted-runners-today
Signed-off-by: Dennis Ameling <[email protected]>
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

No branches or pull requests

1 participant