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

AWS-hosted runners #214

Open
sdarwin opened this issue Sep 26, 2023 · 3 comments
Open

AWS-hosted runners #214

sdarwin opened this issue Sep 26, 2023 · 3 comments
Assignees

Comments

@sdarwin
Copy link
Collaborator

sdarwin commented Sep 26, 2023

There are multiple ways to add AWS-hosted runners to boostorg/boost-ci.

  1. Update .github/workflows/ci.yml so that it uses the new runners instead of GitHub runners.

or

  1. Add another file .github/workflows/ci-aws-hosted.yml This offers a choice, and doesn't force the new method. In the short term this is probably the way to go, because the upstream terraform project is in flux.

or

  1. An open pull request "feat: Adding runner_enable_default_labels variable #3491" in https://github.com/philips-labs/terraform-aws-github-runner should be included in the design, and when it's available that will change the instructions for boost libraries. Therefore, wait before continuing.

In the meantime anyone is welcome to experiment with the self-hosted runners https://github.com/cppalliance/githubactions however the config will need to be modified.

@sdarwin sdarwin self-assigned this Sep 26, 2023
@jeking3
Copy link
Collaborator

jeking3 commented May 13, 2024

Can you explain more about the use of AWS-hosted runners? Are we working with AWS to get resources to build? I work at AWS, so if we need to strengthen the relationship, let me know.

@sdarwin
Copy link
Collaborator Author

sdarwin commented May 13, 2024

Can you explain more about the use of AWS-hosted runners?

https://github.com/philips-labs/terraform-aws-github-runner enables AWS-hosted runners. I implemented this and it's used on beast, unordered, url.

Instructions: https://github.com/cppalliance/githubactions

However, before going any further, it will be preferable if the above mentioned pull request 3491 is solved. And then adjust runner labels.

I might work on that myself and send them another PR.

If regular GHA hosted runners are consistently slow, it could be interesting to use AWS.

If regular GHA hosted runners are available, self-hosted AWS runners represent a large expense without much advantage. So, it's not definitely a "win". But something to explore.

@jeking3
Copy link
Collaborator

jeking3 commented May 14, 2024

Okay, I might need some data from you at some point about what the load is, but I'll go talk to some folks to see how AWS can help serve this community better.

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

2 participants