community icon indicating copy to clipboard operation
community copied to clipboard

Create an ARM64 GitHub Actions Runner that repositories can use to build / test on ARM64

Open trask opened this issue 1 year ago • 9 comments

Opening as a public tracking issue, it looks like I have access to create it.

trask avatar Jun 14 '24 15:06 trask

image

trask avatar Jun 14 '24 15:06 trask

we can also create a Windows ARM64 runner if needed

I set max concurrency to 20, but we can update that if needed

trask avatar Jun 14 '24 15:06 trask

@trask Is this the correct runner - otel-linux-arm64, as it doesn't seem to be available - https://github.com/open-telemetry/opentelemetry-rust/actions/runs/9522286107/job/26251528030?pr=1884

lalitb avatar Jun 14 '24 21:06 lalitb

it looks like we have to give permission to the runner for each repository, I've given permission to opentelemetry-rust and opentelemetry-rust-contrib now

trask avatar Jun 14 '24 21:06 trask

I've also given permission to opentelemetry-cpp (#2151)

trask avatar Jun 14 '24 21:06 trask

I've updated the runner to 4-cores to match the default linux runners (https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories)

trask avatar Jun 14 '24 21:06 trask

I also created otel-linux-arm64-8-cores for comparison testing

trask avatar Jun 14 '24 22:06 trask

I also gave permission to the ARM64 runners to the opentelemetry-demo repository (cc @austinlparker)

trask avatar Jun 15 '24 17:06 trask

Note that some SIGs are using actuated to do this (not on windows). https://github.com/open-telemetry/community/blob/main/docs/using-actuated.md

dmathieu avatar Jun 17 '24 14:06 dmathieu

@trask, can you please give permissions for:

  • https://github.com/open-telemetry/opentelemetry-dotnet
  • https://github.com/open-telemetry/opentelemetry-dotnet-contrib
  • https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation
  • https://github.com/open-telemetry/opentelemetry-go
  • https://github.com/open-telemetry/opentelemetry-go-contrib
  • https://github.com/open-telemetry/opentelemetry-go-instrumentation

CC @open-telemetry/dotnet-maintainers @open-telemetry/dotnet-instrumentation-maintainers @open-telemetry/go-maintainers @open-telemetry/go-instrumentation-maintainers

pellared avatar Jul 09 '24 07:07 pellared

Shouldn't we create docs similar to https://github.com/open-telemetry/community/blob/main/docs/using-actuated.md?

pellared avatar Jul 09 '24 07:07 pellared

Shouldn't we create docs similar to https://github.com/open-telemetry/community/blob/main/docs/using-actuated.md?

👍 sent #2201

trask avatar Jul 09 '24 16:07 trask

@trask, can you please give permissions for:

  • https://github.com/open-telemetry/opentelemetry-dotnet
  • https://github.com/open-telemetry/opentelemetry-dotnet-contrib
  • https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation
  • https://github.com/open-telemetry/opentelemetry-go
  • https://github.com/open-telemetry/opentelemetry-go-contrib
  • https://github.com/open-telemetry/opentelemetry-go-instrumentation

done

trask avatar Jul 09 '24 16:07 trask

we can also create a Windows ARM64 runner if needed

@trask, can you please create it? It will be helpful for .NET repositories.

pellared avatar Jul 09 '24 16:07 pellared

done, runner name is otel-windows-arm (and added it to #2201)

trask avatar Jul 09 '24 17:07 trask

Would love to test this out for the collector as well:

  • https://github.com/open-telemetry/opentelemetry-collector
  • https://github.com/open-telemetry/opentelemetry-collector-contrib

codeboten avatar Jul 12 '24 19:07 codeboten

Would love to test this out for the collector as well:

  • https://github.com/open-telemetry/opentelemetry-collector
  • https://github.com/open-telemetry/opentelemetry-collector-contrib

trask avatar Jul 12 '24 22:07 trask

this seems to be working, closing

trask avatar Aug 19 '24 21:08 trask