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

ci: try runs-on Dronecode Infra #23574

Merged
merged 3 commits into from
Aug 21, 2024
Merged

ci: try runs-on Dronecode Infra #23574

merged 3 commits into from
Aug 21, 2024

Conversation

mrpollo
Copy link
Contributor

@mrpollo mrpollo commented Aug 19, 2024

Sponsored by Dronecode Foundation

Use the Dronecode AWS Infrastructure for CI workflow runs. This PR introduces access to a paid Dronecode/PX4 AWS account for workflows. Initially, we are only using it for the new "Build All targets" workflow.

To use the Dronecode Infrastructure, you have to add a similar line (runner types available):

runs-on: [runs-on,runner=8cpu-linux-x64,image=ubuntu22-full-x64,"run-id=${{ github.run_id }}"]

Current Setup

  • CPU: 8 cores
  • RAM: 32GB
  • AWS EC2 Type: m7a.2xlarge
  • Max Concurrent Servers: 60

Debug Access

  • Any user with Github admin access and a valid SSH key configured in github.com
  • Click on the "Set up job" step and access the runner details

Screenshot 2024-08-19 at 10 27 17 AM

Build Time Comparison (additive)

  • Dronecode Infra: 2h 18m 42s
  • Github Runners: 4h 34m 2s

Screenshot 2024-08-19 at 10 39 50 AM

Cost Considerations

We have provisioned 4k build minutes and expect to not meet the limit any time soon, but we will be heavily monitoring for any abuse of the system.

Note: we are using the runs-on project for our AWS deployments.

@mrpollo mrpollo marked this pull request as ready for review August 19, 2024 17:34
@dagar dagar merged commit b2f6636 into main Aug 21, 2024
4 of 29 checks passed
@dagar dagar deleted the mrpollo/ci_runs_on branch August 21, 2024 14:56
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