CloudSnorkel / cdk-github-runners

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

feat: Storage size settings for AMI builder #617

Closed kichik closed 2 months ago

kichik commented 2 months ago
const builder = Ec2RunnerProvider.imageBuilder(stack, 'AMI Linux Builder', {
  awsImageBuilderOptions: {
    storageSize: cdk.Size.gibibytes(33),
  },
});
const provider = new Ec2RunnerProvider(stack, 'Linux Provider', {
  labels: ['big-linux'],
  imageBuilder: builder,
});
new GitHubRunners(stack, 'Runners', {
  providers: [provider],
});