CloudSnorkel / cdk-github-runners

CDK constructs for self-hosted GitHub Actions runners
https://constructs.dev/packages/@cloudsnorkel/cdk-github-runners/
Apache License 2.0
255 stars 37 forks source link

feat: Faster Fargate startups with SOCI #499

Closed kichik closed 3 months ago

kichik commented 4 months ago

Build and push SOCI indexes so Fargate can start our runners faster.

Technically only Fargate supports it now. But it's easier to just always build it. Plus ECS and Lambda may support it in the future. That's why we build it for all providers.

This commit also updates CodeBuild image builder to Amazon Linux 2023. Prior to this we were on Ubuntu for x64 and Amazon Linux 2 for arm64. Previous iterations of this PR required this for containerd, but the current one doesn't require it. Still I kept it here to keep the image build environment consistent between platforms.

Resolves #389 Relates #438

kichik commented 4 months ago

I can't merge this yet, as ECR lifecycle policy doesn't delete old indexes.