@cloudsnorkel/cdk-github-runners 0.13.4 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +100 -100
- package/API.md +5 -9
- package/README.md +51 -6
- package/assets/image-builders/aws-image-builder/delete-resources.lambda/index.js +209 -0
- package/assets/image-builders/build-image.lambda/index.js +0 -24
- package/assets/providers/lambda-bootstrap.sh +21 -0
- package/assets/providers/lambda-runner.sh +37 -0
- package/lib/access.js +1 -1
- package/lib/image-builders/api.js +1 -1
- package/lib/image-builders/aws-image-builder/ami.d.ts +8 -0
- package/lib/image-builders/aws-image-builder/ami.js +3 -1
- package/lib/image-builders/aws-image-builder/builder.d.ts +2 -0
- package/lib/image-builders/aws-image-builder/builder.js +108 -68
- package/lib/image-builders/aws-image-builder/common.js +1 -1
- package/lib/image-builders/aws-image-builder/container.d.ts +6 -0
- package/lib/image-builders/aws-image-builder/container.js +3 -1
- package/lib/image-builders/aws-image-builder/delete-resources-function.d.ts +13 -0
- package/lib/image-builders/aws-image-builder/delete-resources-function.js +23 -0
- package/lib/image-builders/aws-image-builder/delete-resources.lambda.d.ts +9 -0
- package/lib/image-builders/aws-image-builder/delete-resources.lambda.js +159 -0
- package/lib/image-builders/aws-image-builder/deprecated/ami.d.ts +2 -2
- package/lib/image-builders/aws-image-builder/deprecated/ami.js +18 -37
- package/lib/image-builders/aws-image-builder/deprecated/container.js +13 -35
- package/lib/image-builders/aws-image-builder/deprecated/linux-components.js +1 -1
- package/lib/image-builders/aws-image-builder/deprecated/windows-components.js +1 -1
- package/lib/image-builders/aws-image-builder/workflow.js +2 -1
- package/lib/image-builders/build-image.lambda.d.ts +1 -3
- package/lib/image-builders/build-image.lambda.js +1 -25
- package/lib/image-builders/codebuild-deprecated.js +3 -3
- package/lib/image-builders/codebuild.js +2 -2
- package/lib/image-builders/components.js +8 -9
- package/lib/image-builders/static.js +1 -1
- package/lib/providers/codebuild.js +2 -2
- package/lib/providers/common.js +5 -4
- package/lib/providers/ec2.js +19 -3
- package/lib/providers/ecs.js +1 -1
- package/lib/providers/fargate.js +2 -2
- package/lib/providers/lambda.d.ts +1 -3
- package/lib/providers/lambda.js +5 -16
- package/lib/runner.js +1 -1
- package/lib/secrets.js +1 -1
- package/package.json +22 -21
- package/assets/image-builders/aws-image-builder/delete-ami.lambda/index.js +0 -129
- package/lib/image-builders/aws-image-builder/delete-ami-function.d.ts +0 -13
- package/lib/image-builders/aws-image-builder/delete-ami-function.js +0 -23
- package/lib/image-builders/aws-image-builder/delete-ami.lambda.d.ts +0 -2
- package/lib/image-builders/aws-image-builder/delete-ami.lambda.js +0 -70
package/.jsii
CHANGED
|
@@ -3675,7 +3675,7 @@
|
|
|
3675
3675
|
"stability": "experimental"
|
|
3676
3676
|
},
|
|
3677
3677
|
"homepage": "https://github.com/CloudSnorkel/cdk-github-runners.git",
|
|
3678
|
-
"jsiiVersion": "5.3.
|
|
3678
|
+
"jsiiVersion": "5.3.39 (build 42b542d)",
|
|
3679
3679
|
"keywords": [
|
|
3680
3680
|
"aws",
|
|
3681
3681
|
"aws-cdk",
|
|
@@ -3699,7 +3699,7 @@
|
|
|
3699
3699
|
},
|
|
3700
3700
|
"name": "@cloudsnorkel/cdk-github-runners",
|
|
3701
3701
|
"readme": {
|
|
3702
|
-
"markdown": "# GitHub Self-Hosted Runners CDK Constructs\n\n[][7]\n[][6]\n[][8]\n[][11]\n[][12]\n[](https://github.com/CloudSnorkel/cdk-github-runners/actions/workflows/release.yml)\n[](https://github.com/CloudSnorkel/cdk-github-runners/blob/main/LICENSE)\n\nUse this CDK construct to create ephemeral [self-hosted GitHub runners][1] on-demand inside your AWS account.\n\n* 🧩 Easy to configure GitHub integration with a web-based interface\n* 🧠 Customizable runners with decent defaults\n* 🏃🏻 Multiple runner configurations controlled by labels\n* 🔐 Everything fully hosted in your account\n* 🔃 Automatically updated build environment with latest runner version\n\nSelf-hosted runners in AWS are useful when:\n\n* You need easy access to internal resources in your actions\n* You want to pre-install some software for your actions\n* You want to provide some basic AWS API access (but [aws-actions/configure-aws-credentials][2] has more security controls)\n* You are using GitHub Enterprise Server\n\nEphemeral (or on-demand) runners are the [recommended way by GitHub][14] for auto-scaling, and they make sure all jobs run with a clean image. Runners are started on-demand. You don't pay unless a job is running.\n\n## API\n\nThe best way to browse API documentation is on [Constructs Hub][13]. It is available in all supported programming languages.\n\n## Providers\n\nA runner provider creates compute resources on-demand and uses [actions/runner][5] to start a runner.\n\n| | EC2 | CodeBuild | Fargate | ECS | Lambda |\n|------------------|-------------------|----------------------------|----------------|----------------|---------------|\n| **Time limit** | Unlimited | 8 hours | Unlimited | Unlimited | 15 minutes |\n| **vCPUs** | Unlimited | 2, 4, 8, or 72 | 0.25 to 4 | Unlimited | 1 to 6 |\n| **RAM** | Unlimited | 3gb, 7gb, 15gb, or 145gb | 512mb to 30gb | Unlimited | 128mb to 10gb |\n| **Storage** | Unlimited | 50gb to 824gb | 20gb to 200gb | Unlimited | Up to 10gb |\n| **Architecture** | x86_64, ARM64 | x86_64, ARM64 | x86_64, ARM64 | x86_64, ARM64 | x86_64, ARM64 |\n| **sudo** | ✔ | ✔ | ✔ | ✔ | ❌ |\n| **Docker** | ✔ | ✔ (Linux only) | ❌ | ✔ | ❌ |\n| **Spot pricing** | ✔ | ❌ | ✔ | ✔ | ❌ |\n| **OS** | Linux, Windows | Linux, Windows | Linux, Windows | Linux, Windows | Linux |\n\nThe best provider to use mostly depends on your current infrastructure. When in doubt, CodeBuild is always a good choice. Execution history and logs are easy to view, and it has no restrictive limits unless you need to run for more than 8 hours.\n\n* EC2 is useful when you want runners to have complete access to the host\n* ECS is useful when you want to control the infrastructure, like leaving the runner host running for faster startups\n* Lambda is useful for short jobs that can work within time, size and readonly system constraints\n\nYou can also create your own provider by implementing `IRunnerProvider`.\n\n## Installation\n\n1. Install and use the appropriate package\n <details><summary>Python</summary>\n\n ### Install\n Available on [PyPI][6].\n ```bash\n pip install cloudsnorkel.cdk-github-runners\n ```\n ### Use\n ```python\n from cloudsnorkel.cdk_github_runners import GitHubRunners\n\n GitHubRunners(self, \"runners\")\n ```\n </details>\n <details><summary>TypeScript or JavaScript</summary>\n\n ### Install\n Available on [npm][7].\n ```bash\n npm i @cloudsnorkel/cdk-github-runners\n ```\n ### Use\n ```typescript\n import { GitHubRunners } from '@cloudsnorkel/cdk-github-runners';\n\n new GitHubRunners(this, \"runners\");\n ```\n </details>\n <details><summary>Java</summary>\n\n ### Install\n Available on [Maven][8].\n ```xml\n <dependency>\n <groupId>com.cloudsnorkel</groupId>\n <artifactId>cdk.github.runners</artifactId>\n </dependency>\n ```\n ### Use\n ```java\n import com.cloudsnorkel.cdk.github.runners.GitHubRunners;\n\n GitHubRunners.Builder.create(this, \"runners\").build();\n ```\n </details>\n <details><summary>Go</summary>\n\n ### Install\n Available on [GitHub][11].\n ```bash\n go get github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners\n ```\n ### Use\n ```go\n import \"github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners\"\n\n NewGitHubRunners(this, jsii.String(\"runners\"))\n ```\n </details>\n <details><summary>.NET</summary>\n\n ### Install\n Available on [Nuget][12].\n ```bash\n dotnet add package CloudSnorkel.Cdk.Github.Runners\n ```\n ### Use\n ```csharp\n using CloudSnorkel;\n\n new GitHubRunners(this, \"runners\");\n ```\n </details>\n2. Use `GitHubRunners` construct in your code (starting with default arguments is fine)\n3. Deploy your stack\n4. Look for the status command output similar to `aws --region us-east-1 lambda invoke --function-name status-XYZ123 status.json`\n ```\n ✅ github-runners-test\n\n ✨ Deployment time: 260.01s\n\n Outputs:\n github-runners-test.runnersstatuscommand4A30F0F5 = aws --region us-east-1 lambda invoke --function-name github-runners-test-runnersstatus1A5771C0-mvttg8oPQnQS status.json\n ```\n5. Execute the status command (you may need to specify `--profile` too) and open the resulting `status.json` file\n6. Open the URL in `github.setup.url` from `status.json` or [manually setup GitHub](SETUP_GITHUB.md) integration as an app or with personal access token\n7. Run status command again to confirm `github.auth.status` and `github.webhook.status` are OK\n8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted, linux, codebuild]` or similar\n9. If the action is not successful, see [troubleshooting](#Troubleshooting)\n\n[](https://youtu.be/wlyv_3V8lIw)\n\n## Customizing\n\nThe default providers configured by `GitHubRunners` are useful for testing but probably not too much for actual production work. They run in the default VPC or no VPC and have no added IAM permissions. You would usually want to configure the providers yourself.\n\nFor example:\n\n```typescript\nlet vpc: ec2.Vpc;\nlet runnerSg: ec2.SecurityGroup;\nlet dbSg: ec2.SecurityGroup;\nlet bucket: s3.Bucket;\n\n// create a custom CodeBuild provider\nconst myProvider = new CodeBuildRunnerProvider(this, 'codebuild runner', {\n labels: ['my-codebuild'],\n vpc: vpc,\n securityGroups: [runnerSg],\n});\n// grant some permissions to the provider\nbucket.grantReadWrite(myProvider);\ndbSg.connections.allowFrom(runnerSg, ec2.Port.tcp(3306), 'allow runners to connect to MySQL database');\n\n// create the runner infrastructure\nnew GitHubRunners(this, 'runners', {\n providers: [myProvider],\n});\n```\n\nAnother way to customize runners is by modifying the image used to spin them up. The image contains the [runner][5], any required dependencies, and integration code with the provider. You may choose to customize this image by adding more packages, for example.\n\n```typescript\nconst myBuilder = FargateRunnerProvider.imageBuilder(this, 'image builder');\nmyBuilder.addComponent(\n RunnerImageComponent.custom({ commands: ['apt install -y nginx xz-utils'] }),\n);\n\nconst myProvider = new FargateRunnerProvider(this, 'fargate runner', {\n labels: ['customized-fargate'],\n imageBuilder: myBuilder,\n});\n\n// create the runner infrastructure\nnew GitHubRunners(this, 'runners', {\n providers: [myProvider],\n});\n```\n\nYour workflow will then look like:\n\n```yaml\nname: self-hosted example\non: push\njobs:\n self-hosted:\n runs-on: [self-hosted, customized-fargate]\n steps:\n - run: echo hello world\n```\n\nWindows images can also be customized the same way.\n\n```typescript\nconst myWindowsBuilder = FargateRunnerProvider.imageBuilder(this, 'Windows image builder', {\n architecture: Architecture.X86_64,\n os: Os.WINDOWS,\n});\nmyWindowsBuilder.addComponent(\n RunnerImageComponent.custom({\n name: 'Ninja',\n commands: [\n 'Invoke-WebRequest -UseBasicParsing -Uri \"https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip\" -OutFile ninja.zip',\n 'Expand-Archive ninja.zip -DestinationPath C:\\\\actions',\n 'del ninja.zip',\n ],\n }),\n);\n\nconst myProvider = new FargateRunnerProvider(this, 'fargate runner', {\n labels: ['customized-windows-fargate'],\n imageBuilder: myWindowsBuilder,\n});\n\nnew GitHubRunners(this, 'runners', {\n providers: [myProvider],\n});\n```\n\nThe runner OS and architecture is determined by the image it is set to use. For example, to create a Fargate runner provider for ARM64 set the `architecture` property for the image builder to `Architecture.ARM64` in the image builder properties.\n\n```typescript\nnew GitHubRunners(this, 'runners', {\n providers: [\n new FargateRunnerProvider(this, 'fargate runner', {\n labels: ['arm64', 'fargate'],\n imageBuilder: FargateRunnerProvider.imageBuilder(this, 'image builder', {\n architecture: Architecture.ARM64,\n os: Os.LINUX_UBUNTU,\n }),\n }),\n ],\n});\n```\n\n## Architecture\n\n\n\n## Troubleshooting\n\nRunners are started in response to a webhook coming in from GitHub. If there are any issues starting the runner like missing capacity or transient API issues, the provider will keep retrying for 24 hours. Configuration issue related errors like pointing to a missing AMI will not be retried. GitHub itself will cancel the job if it can't find a runner for 24 hours. If your jobs don't start, follow the steps below to examine all parts of this workflow.\n\n1. Always start with the status function, make sure no errors are reported, and confirm all status codes are OK\n2. Make sure `runs-on` in the workflow matches the expected labels set in the runner provider\n3. Diagnose relevant executions of the orchestrator step function by visiting the URL in `troubleshooting.stepFunctionUrl` from `status.json`\n 1. If the execution failed, check your runner provider configuration for errors\n 2. If the execution is still running for a long time, check the execution events to see why runner starting is being retried\n 3. If there are no relevant executions, move to the next step\n4. Confirm the webhook Lambda was called by visiting the URL in `troubleshooting.webhookHandlerUrl` from `status.json`\n 1. If it's not called or logs errors, confirm the webhook settings on the GitHub side\n 2. If you see too many errors, make sure you're only sending `workflow_job` events\n5. When using GitHub app, make sure there are active installations in `github.auth.app.installations`\n\nAll logs are saved in CloudWatch.\n* Log group names can be found in `status.json` for each provider, image builder, and other parts of the system\n* Some useful Logs Insights queries can be enabled with `GitHubRunners.createLogsInsightsQueries()`\n\nTo get `status.json`, check out the CloudFormation stack output for a command that generates it. The command looks like:\n\n```\naws --region us-east-1 lambda invoke --function-name status-XYZ123 status.json\n```\n\n## Monitoring\n\nThere are two important ways to monitor your runners:\n\n1. Make sure runners don't fail to start. When that happens, jobs may sit and wait. Use `GitHubRunners.metricFailed()` to get a metric for the number of failed runner starts. You should use this metric to trigger an alarm.\n2. Make sure runner images don't fail to build. Failed runner image builds mean you will get stuck with out-of-date software on your runners. It may lead to security vulnerabilities, or it may lead to slower runner start-ups as the runner software itself needs to be updated. Use `GitHubRunners.failedImageBuildsTopic()` to get SNS topic that gets notified of failed runner image builds. You should subscribe to this topic.\n\nOther useful metrics to track:\n\n1. Use `GitHubRunners.metricJobCompleted()` to get a metric for the number of completed jobs broken down by labels and job success.\n2. Use `GitHubRunners.metricTime()` to get a metric for the total time a runner is running. This includes the overhead of starting the runner.\n\n## Contributing\n\nIf you use and love this project, please consider contributing.\n\n1. 🪳 If you see something, say something. [Issues][16] help improve the quality of the project.\n * Include relevant logs and package versions for bugs.\n * When possible, describe the use-case behind feature requests.\n1. 🛠️ [Pull requests][17] are welcome.\n * Run `npm run build` before submitting to make sure all tests pass.\n * Allow edits from maintainers so small adjustments can be made easily.\n1. 💵 Consider [sponsoring][15] the project to show your support and optionally get your name listed below.\n\n## Other Options\n\n1. [philips-labs/terraform-aws-github-runner][3] if you're using Terraform\n2. [actions/actions-runner-controller][4] if you're using Kubernetes\n\n\n[1]: https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners\n[2]: https://github.com/marketplace/actions/configure-aws-credentials-for-github-actions\n[3]: https://github.com/philips-labs/terraform-aws-github-runner\n[4]: https://github.com/actions/actions-runner-controller\n[5]: https://github.com/actions/runner\n[6]: https://pypi.org/project/cloudsnorkel.cdk-github-runners\n[7]: https://www.npmjs.com/package/@cloudsnorkel/cdk-github-runners\n[8]: https://central.sonatype.com/artifact/com.cloudsnorkel/cdk.github.runners/\n[9]: https://docs.github.com/en/developers/apps/getting-started-with-apps/about-apps\n[10]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token\n[11]: https://pkg.go.dev/github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners\n[12]: https://www.nuget.org/packages/CloudSnorkel.Cdk.Github.Runners/\n[13]: https://constructs.dev/packages/@cloudsnorkel/cdk-github-runners/\n[14]: https://docs.github.com/en/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners#using-ephemeral-runners-for-autoscaling\n[15]: https://github.com/sponsors/CloudSnorkel\n[16]: https://github.com/CloudSnorkel/cdk-github-runners/issues\n[17]: https://github.com/CloudSnorkel/cdk-github-runners/pulls\n"
|
|
3702
|
+
"markdown": "# GitHub Self-Hosted Runners CDK Constructs\n\n[][7]\n[][6]\n[][8]\n[][11]\n[][12]\n[](https://github.com/CloudSnorkel/cdk-github-runners/actions/workflows/release.yml)\n[](https://github.com/CloudSnorkel/cdk-github-runners/blob/main/LICENSE)\n\nUse this CDK construct to create ephemeral [self-hosted GitHub runners][1] on-demand inside your AWS account.\n\n* 🧩 Easy to configure GitHub integration with a web-based interface\n* 🧠 Customizable runners with decent defaults\n* 🏃🏻 Multiple runner configurations controlled by labels\n* 🔐 Everything fully hosted in your account\n* 🔃 Automatically updated build environment with latest runner version\n\nSelf-hosted runners in AWS are useful when:\n\n* You need easy access to internal resources in your actions\n* You want to pre-install some software for your actions\n* You want to provide some basic AWS API access (but [aws-actions/configure-aws-credentials][2] has more security controls)\n* You are using GitHub Enterprise Server\n\nEphemeral (or on-demand) runners are the [recommended way by GitHub][14] for auto-scaling, and they make sure all jobs run with a clean image. Runners are started on-demand. You don't pay unless a job is running.\n\n## API\n\nThe best way to browse API documentation is on [Constructs Hub][13]. It is available in all supported programming languages.\n\n## Providers\n\nA runner provider creates compute resources on-demand and uses [actions/runner][5] to start a runner.\n\n| | EC2 | CodeBuild | Fargate | ECS | Lambda |\n|------------------|-------------------|----------------------------|----------------|----------------|---------------|\n| **Time limit** | Unlimited | 8 hours | Unlimited | Unlimited | 15 minutes |\n| **vCPUs** | Unlimited | 2, 4, 8, or 72 | 0.25 to 4 | Unlimited | 1 to 6 |\n| **RAM** | Unlimited | 3gb, 7gb, 15gb, or 145gb | 512mb to 30gb | Unlimited | 128mb to 10gb |\n| **Storage** | Unlimited | 50gb to 824gb | 20gb to 200gb | Unlimited | Up to 10gb |\n| **Architecture** | x86_64, ARM64 | x86_64, ARM64 | x86_64, ARM64 | x86_64, ARM64 | x86_64, ARM64 |\n| **sudo** | ✔ | ✔ | ✔ | ✔ | ❌ |\n| **Docker** | ✔ | ✔ (Linux only) | ❌ | ✔ | ❌ |\n| **Spot pricing** | ✔ | ❌ | ✔ | ✔ | ❌ |\n| **OS** | Linux, Windows | Linux, Windows | Linux, Windows | Linux, Windows | Linux |\n\nThe best provider to use mostly depends on your current infrastructure. When in doubt, CodeBuild is always a good choice. Execution history and logs are easy to view, and it has no restrictive limits unless you need to run for more than 8 hours.\n\n* EC2 is useful when you want runners to have complete access to the host\n* ECS is useful when you want to control the infrastructure, like leaving the runner host running for faster startups\n* Lambda is useful for short jobs that can work within time, size and readonly system constraints\n\nYou can also create your own provider by implementing `IRunnerProvider`.\n\n## Installation\n\n1. Install and use the appropriate package\n <details><summary>Python</summary>\n\n ### Install\n Available on [PyPI][6].\n ```bash\n pip install cloudsnorkel.cdk-github-runners\n ```\n ### Use\n ```python\n from aws_cdk import App, Stack\n from cloudsnorkel.cdk_github_runners import GitHubRunners\n\n app = App()\n stack = Stack(app, \"github-runners\")\n GitHubRunners(stack, \"runners\")\n\n app.synth()\n ```\n </details>\n <details><summary>TypeScript or JavaScript</summary>\n\n ### Install\n Available on [npm][7].\n ```bash\n npm i @cloudsnorkel/cdk-github-runners\n ```\n ### Use\n ```typescript\n import { App, Stack } from 'aws-cdk-lib';\n import { GitHubRunners } from '@cloudsnorkel/cdk-github-runners';\n\n const app = new App();\n const stack = new Stack(app, 'github-runners');\n new GitHubRunners(stack, 'runners');\n\n app.synth();\n ```\n </details>\n <details><summary>Java</summary>\n\n ### Install\n Available on [Maven][8].\n ```xml\n <dependency>\n <groupId>com.cloudsnorkel</groupId>\n <artifactId>cdk.github.runners</artifactId>\n </dependency>\n ```\n ### Use\n ```java\n import software.amazon.awscdk.App;\n import software.amazon.awscdk.Stack;\n import com.cloudsnorkel.cdk.github.runners.GitHubRunners;\n\n public class Example {\n public static void main(String[] args){\n App app = new App();\n Stack stack = new Stack(app, \"github-runners\");\n GitHubRunners.Builder.create(stack, \"runners\").build();\n\n app.synth();\n }\n }\n ```\n </details>\n <details><summary>Go</summary>\n\n ### Install\n Available on [GitHub][11].\n ```bash\n go get github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners\n ```\n ### Use\n ```go\n package main\n\n import (\n \"github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners\"\n \"github.com/aws/aws-cdk-go/awscdk/v2\"\n \"github.com/aws/jsii-runtime-go\"\n )\n\n func main() {\n app := awscdk.NewApp(nil)\n stack := awscdk.NewStack(app, jsii.String(\"github-runners\"), &awscdk.StackProps{})\n cloudsnorkelcdkgithubrunners.NewGitHubRunners(stack, jsii.String(\"runners\"), &cloudsnorkelcdkgithubrunners.GitHubRunnersProps{})\n\n app.Synth(nil)\n }\n ```\n </details>\n <details><summary>.NET</summary>\n\n ### Install\n Available on [Nuget][12].\n ```bash\n dotnet add package CloudSnorkel.Cdk.Github.Runners\n ```\n ### Use\n ```csharp\n using Amazon.CDK;\n using CloudSnorkel;\n\n namespace Example\n {\n sealed class Program\n {\n public static void Main(string[] args)\n {\n var app = new App();\n var stack = new Stack(app, \"github-runners\");\n new GitHubRunners(stack, \"runners\");\n app.Synth();\n }\n }\n }\n ```\n </details>\n2. Use `GitHubRunners` construct in your code (starting with default arguments is fine)\n3. Deploy your stack\n4. Look for the status command output similar to `aws --region us-east-1 lambda invoke --function-name status-XYZ123 status.json`\n ```\n ✅ github-runners-test\n\n ✨ Deployment time: 260.01s\n\n Outputs:\n github-runners-test.runnersstatuscommand4A30F0F5 = aws --region us-east-1 lambda invoke --function-name github-runners-test-runnersstatus1A5771C0-mvttg8oPQnQS status.json\n ```\n5. Execute the status command (you may need to specify `--profile` too) and open the resulting `status.json` file\n6. Open the URL in `github.setup.url` from `status.json` or [manually setup GitHub](SETUP_GITHUB.md) integration as an app or with personal access token\n7. Run status command again to confirm `github.auth.status` and `github.webhook.status` are OK\n8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted, linux, codebuild]` or similar\n9. If the action is not successful, see [troubleshooting](#Troubleshooting)\n\n[](https://youtu.be/wlyv_3V8lIw)\n\n## Customizing\n\nThe default providers configured by `GitHubRunners` are useful for testing but probably not too much for actual production work. They run in the default VPC or no VPC and have no added IAM permissions. You would usually want to configure the providers yourself.\n\nFor example:\n\n```typescript\nlet vpc: ec2.Vpc;\nlet runnerSg: ec2.SecurityGroup;\nlet dbSg: ec2.SecurityGroup;\nlet bucket: s3.Bucket;\n\n// create a custom CodeBuild provider\nconst myProvider = new CodeBuildRunnerProvider(this, 'codebuild runner', {\n labels: ['my-codebuild'],\n vpc: vpc,\n securityGroups: [runnerSg],\n});\n// grant some permissions to the provider\nbucket.grantReadWrite(myProvider);\ndbSg.connections.allowFrom(runnerSg, ec2.Port.tcp(3306), 'allow runners to connect to MySQL database');\n\n// create the runner infrastructure\nnew GitHubRunners(this, 'runners', {\n providers: [myProvider],\n});\n```\n\nAnother way to customize runners is by modifying the image used to spin them up. The image contains the [runner][5], any required dependencies, and integration code with the provider. You may choose to customize this image by adding more packages, for example.\n\n```typescript\nconst myBuilder = FargateRunnerProvider.imageBuilder(this, 'image builder');\nmyBuilder.addComponent(\n RunnerImageComponent.custom({ commands: ['apt install -y nginx xz-utils'] }),\n);\n\nconst myProvider = new FargateRunnerProvider(this, 'fargate runner', {\n labels: ['customized-fargate'],\n imageBuilder: myBuilder,\n});\n\n// create the runner infrastructure\nnew GitHubRunners(this, 'runners', {\n providers: [myProvider],\n});\n```\n\nYour workflow will then look like:\n\n```yaml\nname: self-hosted example\non: push\njobs:\n self-hosted:\n runs-on: [self-hosted, customized-fargate]\n steps:\n - run: echo hello world\n```\n\nWindows images can also be customized the same way.\n\n```typescript\nconst myWindowsBuilder = FargateRunnerProvider.imageBuilder(this, 'Windows image builder', {\n architecture: Architecture.X86_64,\n os: Os.WINDOWS,\n});\nmyWindowsBuilder.addComponent(\n RunnerImageComponent.custom({\n name: 'Ninja',\n commands: [\n 'Invoke-WebRequest -UseBasicParsing -Uri \"https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip\" -OutFile ninja.zip',\n 'Expand-Archive ninja.zip -DestinationPath C:\\\\actions',\n 'del ninja.zip',\n ],\n }),\n);\n\nconst myProvider = new FargateRunnerProvider(this, 'fargate runner', {\n labels: ['customized-windows-fargate'],\n imageBuilder: myWindowsBuilder,\n});\n\nnew GitHubRunners(this, 'runners', {\n providers: [myProvider],\n});\n```\n\nThe runner OS and architecture is determined by the image it is set to use. For example, to create a Fargate runner provider for ARM64 set the `architecture` property for the image builder to `Architecture.ARM64` in the image builder properties.\n\n```typescript\nnew GitHubRunners(this, 'runners', {\n providers: [\n new FargateRunnerProvider(this, 'fargate runner', {\n labels: ['arm64', 'fargate'],\n imageBuilder: FargateRunnerProvider.imageBuilder(this, 'image builder', {\n architecture: Architecture.ARM64,\n os: Os.LINUX_UBUNTU,\n }),\n }),\n ],\n});\n```\n\n## Architecture\n\n\n\n## Troubleshooting\n\nRunners are started in response to a webhook coming in from GitHub. If there are any issues starting the runner like missing capacity or transient API issues, the provider will keep retrying for 24 hours. Configuration issue related errors like pointing to a missing AMI will not be retried. GitHub itself will cancel the job if it can't find a runner for 24 hours. If your jobs don't start, follow the steps below to examine all parts of this workflow.\n\n1. Always start with the status function, make sure no errors are reported, and confirm all status codes are OK\n2. Make sure `runs-on` in the workflow matches the expected labels set in the runner provider\n3. Diagnose relevant executions of the orchestrator step function by visiting the URL in `troubleshooting.stepFunctionUrl` from `status.json`\n 1. If the execution failed, check your runner provider configuration for errors\n 2. If the execution is still running for a long time, check the execution events to see why runner starting is being retried\n 3. If there are no relevant executions, move to the next step\n4. Confirm the webhook Lambda was called by visiting the URL in `troubleshooting.webhookHandlerUrl` from `status.json`\n 1. If it's not called or logs errors, confirm the webhook settings on the GitHub side\n 2. If you see too many errors, make sure you're only sending `workflow_job` events\n5. When using GitHub app, make sure there are active installations in `github.auth.app.installations`\n\nAll logs are saved in CloudWatch.\n* Log group names can be found in `status.json` for each provider, image builder, and other parts of the system\n* Some useful Logs Insights queries can be enabled with `GitHubRunners.createLogsInsightsQueries()`\n\nTo get `status.json`, check out the CloudFormation stack output for a command that generates it. The command looks like:\n\n```\naws --region us-east-1 lambda invoke --function-name status-XYZ123 status.json\n```\n\n## Monitoring\n\nThere are two important ways to monitor your runners:\n\n1. Make sure runners don't fail to start. When that happens, jobs may sit and wait. Use `GitHubRunners.metricFailed()` to get a metric for the number of failed runner starts. You should use this metric to trigger an alarm.\n2. Make sure runner images don't fail to build. Failed runner image builds mean you will get stuck with out-of-date software on your runners. It may lead to security vulnerabilities, or it may lead to slower runner start-ups as the runner software itself needs to be updated. Use `GitHubRunners.failedImageBuildsTopic()` to get SNS topic that gets notified of failed runner image builds. You should subscribe to this topic.\n\nOther useful metrics to track:\n\n1. Use `GitHubRunners.metricJobCompleted()` to get a metric for the number of completed jobs broken down by labels and job success.\n2. Use `GitHubRunners.metricTime()` to get a metric for the total time a runner is running. This includes the overhead of starting the runner.\n\n## Contributing\n\nIf you use and love this project, please consider contributing.\n\n1. 🪳 If you see something, say something. [Issues][16] help improve the quality of the project.\n * Include relevant logs and package versions for bugs.\n * When possible, describe the use-case behind feature requests.\n1. 🛠️ [Pull requests][17] are welcome.\n * Run `npm run build` before submitting to make sure all tests pass.\n * Allow edits from maintainers so small adjustments can be made easily.\n1. 💵 Consider [sponsoring][15] the project to show your support and optionally get your name listed below.\n\n## Other Options\n\n1. [philips-labs/terraform-aws-github-runner][3] if you're using Terraform\n2. [actions/actions-runner-controller][4] if you're using Kubernetes\n\n\n[1]: https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners\n[2]: https://github.com/marketplace/actions/configure-aws-credentials-for-github-actions\n[3]: https://github.com/philips-labs/terraform-aws-github-runner\n[4]: https://github.com/actions/actions-runner-controller\n[5]: https://github.com/actions/runner\n[6]: https://pypi.org/project/cloudsnorkel.cdk-github-runners\n[7]: https://www.npmjs.com/package/@cloudsnorkel/cdk-github-runners\n[8]: https://central.sonatype.com/artifact/com.cloudsnorkel/cdk.github.runners/\n[9]: https://docs.github.com/en/developers/apps/getting-started-with-apps/about-apps\n[10]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token\n[11]: https://pkg.go.dev/github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners\n[12]: https://www.nuget.org/packages/CloudSnorkel.Cdk.Github.Runners/\n[13]: https://constructs.dev/packages/@cloudsnorkel/cdk-github-runners/\n[14]: https://docs.github.com/en/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners#using-ephemeral-runners-for-autoscaling\n[15]: https://github.com/sponsors/CloudSnorkel\n[16]: https://github.com/CloudSnorkel/cdk-github-runners/issues\n[17]: https://github.com/CloudSnorkel/cdk-github-runners/pulls\n"
|
|
3703
3703
|
},
|
|
3704
3704
|
"repository": {
|
|
3705
3705
|
"type": "git",
|
|
@@ -3734,8 +3734,8 @@
|
|
|
3734
3734
|
"assembly": "@cloudsnorkel/cdk-github-runners",
|
|
3735
3735
|
"base": "constructs.Construct",
|
|
3736
3736
|
"docs": {
|
|
3737
|
-
"deprecated": "use RunnerImageBuilder",
|
|
3738
|
-
"remarks": "Builders can be used with {@link
|
|
3737
|
+
"deprecated": "use RunnerImageBuilder, e.g. with Ec2RunnerProvider.imageBuilder()",
|
|
3738
|
+
"remarks": "Builders can be used with {@link Ec2RunnerProvider }.\n\nEach builder re-runs automatically at a set interval to make sure the AMIs contain the latest versions of everything.\n\nYou can create an instance of this construct to customize the AMI used to spin-up runners. Some runner providers may require custom components. Check the runner provider documentation.\n\nFor example, to set a specific runner version, rebuild the image every 2 weeks, and add a few packages for the EC2 provider, use:\n\n```\nconst builder = new AmiBuilder(this, 'Builder', {\n runnerVersion: RunnerVersion.specific('2.293.0'),\n rebuildInterval: Duration.days(14),\n});\nbuilder.addComponent(new ImageBuilderComponent(scope, id, {\n platform: 'Linux',\n displayName: 'p7zip',\n description: 'Install some more packages',\n commands: [\n 'apt-get install p7zip',\n ],\n}));\nnew Ec2RunnerProvider(this, 'EC2 provider', {\n labels: ['custom-ec2'],\n amiBuilder: builder,\n});\n```",
|
|
3739
3739
|
"stability": "deprecated",
|
|
3740
3740
|
"summary": "An AMI builder that uses AWS Image Builder to build AMIs pre-baked with all the GitHub Actions runner requirements."
|
|
3741
3741
|
},
|
|
@@ -3746,7 +3746,7 @@
|
|
|
3746
3746
|
},
|
|
3747
3747
|
"locationInModule": {
|
|
3748
3748
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
3749
|
-
"line":
|
|
3749
|
+
"line": 144
|
|
3750
3750
|
},
|
|
3751
3751
|
"parameters": [
|
|
3752
3752
|
{
|
|
@@ -3776,7 +3776,7 @@
|
|
|
3776
3776
|
"kind": "class",
|
|
3777
3777
|
"locationInModule": {
|
|
3778
3778
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
3779
|
-
"line":
|
|
3779
|
+
"line": 141
|
|
3780
3780
|
},
|
|
3781
3781
|
"methods": [
|
|
3782
3782
|
{
|
|
@@ -3786,7 +3786,7 @@
|
|
|
3786
3786
|
},
|
|
3787
3787
|
"locationInModule": {
|
|
3788
3788
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
3789
|
-
"line":
|
|
3789
|
+
"line": 212
|
|
3790
3790
|
},
|
|
3791
3791
|
"name": "addComponent",
|
|
3792
3792
|
"parameters": [
|
|
@@ -3806,7 +3806,7 @@
|
|
|
3806
3806
|
},
|
|
3807
3807
|
"locationInModule": {
|
|
3808
3808
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
3809
|
-
"line":
|
|
3809
|
+
"line": 227
|
|
3810
3810
|
},
|
|
3811
3811
|
"name": "addExtraCertificates",
|
|
3812
3812
|
"parameters": [
|
|
@@ -3828,7 +3828,7 @@
|
|
|
3828
3828
|
},
|
|
3829
3829
|
"locationInModule": {
|
|
3830
3830
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
3831
|
-
"line":
|
|
3831
|
+
"line": 240
|
|
3832
3832
|
},
|
|
3833
3833
|
"name": "bindAmi",
|
|
3834
3834
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder",
|
|
@@ -3846,7 +3846,7 @@
|
|
|
3846
3846
|
},
|
|
3847
3847
|
"locationInModule": {
|
|
3848
3848
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
3849
|
-
"line":
|
|
3849
|
+
"line": 325
|
|
3850
3850
|
},
|
|
3851
3851
|
"name": "bindDockerImage",
|
|
3852
3852
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder",
|
|
@@ -4017,7 +4017,7 @@
|
|
|
4017
4017
|
},
|
|
4018
4018
|
"locationInModule": {
|
|
4019
4019
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4020
|
-
"line":
|
|
4020
|
+
"line": 198
|
|
4021
4021
|
},
|
|
4022
4022
|
"name": "prependComponent",
|
|
4023
4023
|
"parameters": [
|
|
@@ -4155,7 +4155,7 @@
|
|
|
4155
4155
|
"kind": "interface",
|
|
4156
4156
|
"locationInModule": {
|
|
4157
4157
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4158
|
-
"line":
|
|
4158
|
+
"line": 17
|
|
4159
4159
|
},
|
|
4160
4160
|
"name": "AmiBuilderProps",
|
|
4161
4161
|
"properties": [
|
|
@@ -4169,7 +4169,7 @@
|
|
|
4169
4169
|
"immutable": true,
|
|
4170
4170
|
"locationInModule": {
|
|
4171
4171
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4172
|
-
"line":
|
|
4172
|
+
"line": 23
|
|
4173
4173
|
},
|
|
4174
4174
|
"name": "architecture",
|
|
4175
4175
|
"optional": true,
|
|
@@ -4187,7 +4187,7 @@
|
|
|
4187
4187
|
"immutable": true,
|
|
4188
4188
|
"locationInModule": {
|
|
4189
4189
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4190
|
-
"line":
|
|
4190
|
+
"line": 108
|
|
4191
4191
|
},
|
|
4192
4192
|
"name": "installDocker",
|
|
4193
4193
|
"optional": true,
|
|
@@ -4205,7 +4205,7 @@
|
|
|
4205
4205
|
"immutable": true,
|
|
4206
4206
|
"locationInModule": {
|
|
4207
4207
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4208
|
-
"line":
|
|
4208
|
+
"line": 83
|
|
4209
4209
|
},
|
|
4210
4210
|
"name": "instanceType",
|
|
4211
4211
|
"optional": true,
|
|
@@ -4224,7 +4224,7 @@
|
|
|
4224
4224
|
"immutable": true,
|
|
4225
4225
|
"locationInModule": {
|
|
4226
4226
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4227
|
-
"line":
|
|
4227
|
+
"line": 101
|
|
4228
4228
|
},
|
|
4229
4229
|
"name": "logRemovalPolicy",
|
|
4230
4230
|
"optional": true,
|
|
@@ -4243,7 +4243,7 @@
|
|
|
4243
4243
|
"immutable": true,
|
|
4244
4244
|
"locationInModule": {
|
|
4245
4245
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4246
|
-
"line":
|
|
4246
|
+
"line": 92
|
|
4247
4247
|
},
|
|
4248
4248
|
"name": "logRetention",
|
|
4249
4249
|
"optional": true,
|
|
@@ -4261,7 +4261,7 @@
|
|
|
4261
4261
|
"immutable": true,
|
|
4262
4262
|
"locationInModule": {
|
|
4263
4263
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4264
|
-
"line":
|
|
4264
|
+
"line": 30
|
|
4265
4265
|
},
|
|
4266
4266
|
"name": "os",
|
|
4267
4267
|
"optional": true,
|
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
"immutable": true,
|
|
4281
4281
|
"locationInModule": {
|
|
4282
4282
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4283
|
-
"line":
|
|
4283
|
+
"line": 46
|
|
4284
4284
|
},
|
|
4285
4285
|
"name": "rebuildInterval",
|
|
4286
4286
|
"optional": true,
|
|
@@ -4298,7 +4298,7 @@
|
|
|
4298
4298
|
"immutable": true,
|
|
4299
4299
|
"locationInModule": {
|
|
4300
4300
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4301
|
-
"line":
|
|
4301
|
+
"line": 37
|
|
4302
4302
|
},
|
|
4303
4303
|
"name": "runnerVersion",
|
|
4304
4304
|
"optional": true,
|
|
@@ -4317,7 +4317,7 @@
|
|
|
4317
4317
|
"immutable": true,
|
|
4318
4318
|
"locationInModule": {
|
|
4319
4319
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4320
|
-
"line":
|
|
4320
|
+
"line": 62
|
|
4321
4321
|
},
|
|
4322
4322
|
"name": "securityGroup",
|
|
4323
4323
|
"optional": true,
|
|
@@ -4335,7 +4335,7 @@
|
|
|
4335
4335
|
"immutable": true,
|
|
4336
4336
|
"locationInModule": {
|
|
4337
4337
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4338
|
-
"line":
|
|
4338
|
+
"line": 69
|
|
4339
4339
|
},
|
|
4340
4340
|
"name": "securityGroups",
|
|
4341
4341
|
"optional": true,
|
|
@@ -4359,7 +4359,7 @@
|
|
|
4359
4359
|
"immutable": true,
|
|
4360
4360
|
"locationInModule": {
|
|
4361
4361
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4362
|
-
"line":
|
|
4362
|
+
"line": 76
|
|
4363
4363
|
},
|
|
4364
4364
|
"name": "subnetSelection",
|
|
4365
4365
|
"optional": true,
|
|
@@ -4377,7 +4377,7 @@
|
|
|
4377
4377
|
"immutable": true,
|
|
4378
4378
|
"locationInModule": {
|
|
4379
4379
|
"filename": "src/image-builders/aws-image-builder/deprecated/ami.ts",
|
|
4380
|
-
"line":
|
|
4380
|
+
"line": 53
|
|
4381
4381
|
},
|
|
4382
4382
|
"name": "vpc",
|
|
4383
4383
|
"optional": true,
|
|
@@ -4654,7 +4654,7 @@
|
|
|
4654
4654
|
"kind": "interface",
|
|
4655
4655
|
"locationInModule": {
|
|
4656
4656
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
4657
|
-
"line":
|
|
4657
|
+
"line": 34
|
|
4658
4658
|
},
|
|
4659
4659
|
"name": "AwsImageBuilderRunnerImageBuilderProps",
|
|
4660
4660
|
"properties": [
|
|
@@ -4669,7 +4669,7 @@
|
|
|
4669
4669
|
"immutable": true,
|
|
4670
4670
|
"locationInModule": {
|
|
4671
4671
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
4672
|
-
"line":
|
|
4672
|
+
"line": 49
|
|
4673
4673
|
},
|
|
4674
4674
|
"name": "fastLaunchOptions",
|
|
4675
4675
|
"optional": true,
|
|
@@ -4687,7 +4687,7 @@
|
|
|
4687
4687
|
"immutable": true,
|
|
4688
4688
|
"locationInModule": {
|
|
4689
4689
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
4690
|
-
"line":
|
|
4690
|
+
"line": 40
|
|
4691
4691
|
},
|
|
4692
4692
|
"name": "instanceType",
|
|
4693
4693
|
"optional": true,
|
|
@@ -5487,7 +5487,7 @@
|
|
|
5487
5487
|
},
|
|
5488
5488
|
"locationInModule": {
|
|
5489
5489
|
"filename": "src/providers/common.ts",
|
|
5490
|
-
"line":
|
|
5490
|
+
"line": 492
|
|
5491
5491
|
},
|
|
5492
5492
|
"name": "labelsFromProperties",
|
|
5493
5493
|
"parameters": [
|
|
@@ -5954,7 +5954,7 @@
|
|
|
5954
5954
|
},
|
|
5955
5955
|
"locationInModule": {
|
|
5956
5956
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
5957
|
-
"line":
|
|
5957
|
+
"line": 155
|
|
5958
5958
|
},
|
|
5959
5959
|
"parameters": [
|
|
5960
5960
|
{
|
|
@@ -5984,7 +5984,7 @@
|
|
|
5984
5984
|
"kind": "class",
|
|
5985
5985
|
"locationInModule": {
|
|
5986
5986
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
5987
|
-
"line":
|
|
5987
|
+
"line": 150
|
|
5988
5988
|
},
|
|
5989
5989
|
"methods": [
|
|
5990
5990
|
{
|
|
@@ -5994,7 +5994,7 @@
|
|
|
5994
5994
|
},
|
|
5995
5995
|
"locationInModule": {
|
|
5996
5996
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
5997
|
-
"line":
|
|
5997
|
+
"line": 218
|
|
5998
5998
|
},
|
|
5999
5999
|
"name": "addComponent",
|
|
6000
6000
|
"parameters": [
|
|
@@ -6014,7 +6014,7 @@
|
|
|
6014
6014
|
},
|
|
6015
6015
|
"locationInModule": {
|
|
6016
6016
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6017
|
-
"line":
|
|
6017
|
+
"line": 235
|
|
6018
6018
|
},
|
|
6019
6019
|
"name": "addExtraCertificates",
|
|
6020
6020
|
"parameters": [
|
|
@@ -6037,7 +6037,7 @@
|
|
|
6037
6037
|
},
|
|
6038
6038
|
"locationInModule": {
|
|
6039
6039
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6040
|
-
"line":
|
|
6040
|
+
"line": 315
|
|
6041
6041
|
},
|
|
6042
6042
|
"name": "bindAmi",
|
|
6043
6043
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder",
|
|
@@ -6054,7 +6054,7 @@
|
|
|
6054
6054
|
},
|
|
6055
6055
|
"locationInModule": {
|
|
6056
6056
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6057
|
-
"line":
|
|
6057
|
+
"line": 248
|
|
6058
6058
|
},
|
|
6059
6059
|
"name": "bindDockerImage",
|
|
6060
6060
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder",
|
|
@@ -6225,7 +6225,7 @@
|
|
|
6225
6225
|
},
|
|
6226
6226
|
"locationInModule": {
|
|
6227
6227
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6228
|
-
"line":
|
|
6228
|
+
"line": 204
|
|
6229
6229
|
},
|
|
6230
6230
|
"name": "prependComponent",
|
|
6231
6231
|
"parameters": [
|
|
@@ -6322,7 +6322,7 @@
|
|
|
6322
6322
|
"immutable": true,
|
|
6323
6323
|
"locationInModule": {
|
|
6324
6324
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6325
|
-
"line":
|
|
6325
|
+
"line": 151
|
|
6326
6326
|
},
|
|
6327
6327
|
"name": "repository",
|
|
6328
6328
|
"type": {
|
|
@@ -6377,7 +6377,7 @@
|
|
|
6377
6377
|
"kind": "interface",
|
|
6378
6378
|
"locationInModule": {
|
|
6379
6379
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6380
|
-
"line":
|
|
6380
|
+
"line": 32
|
|
6381
6381
|
},
|
|
6382
6382
|
"name": "ContainerImageBuilderProps",
|
|
6383
6383
|
"properties": [
|
|
@@ -6391,7 +6391,7 @@
|
|
|
6391
6391
|
"immutable": true,
|
|
6392
6392
|
"locationInModule": {
|
|
6393
6393
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6394
|
-
"line":
|
|
6394
|
+
"line": 38
|
|
6395
6395
|
},
|
|
6396
6396
|
"name": "architecture",
|
|
6397
6397
|
"optional": true,
|
|
@@ -6409,7 +6409,7 @@
|
|
|
6409
6409
|
"immutable": true,
|
|
6410
6410
|
"locationInModule": {
|
|
6411
6411
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6412
|
-
"line":
|
|
6412
|
+
"line": 105
|
|
6413
6413
|
},
|
|
6414
6414
|
"name": "instanceType",
|
|
6415
6415
|
"optional": true,
|
|
@@ -6428,7 +6428,7 @@
|
|
|
6428
6428
|
"immutable": true,
|
|
6429
6429
|
"locationInModule": {
|
|
6430
6430
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6431
|
-
"line":
|
|
6431
|
+
"line": 123
|
|
6432
6432
|
},
|
|
6433
6433
|
"name": "logRemovalPolicy",
|
|
6434
6434
|
"optional": true,
|
|
@@ -6447,7 +6447,7 @@
|
|
|
6447
6447
|
"immutable": true,
|
|
6448
6448
|
"locationInModule": {
|
|
6449
6449
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6450
|
-
"line":
|
|
6450
|
+
"line": 114
|
|
6451
6451
|
},
|
|
6452
6452
|
"name": "logRetention",
|
|
6453
6453
|
"optional": true,
|
|
@@ -6465,7 +6465,7 @@
|
|
|
6465
6465
|
"immutable": true,
|
|
6466
6466
|
"locationInModule": {
|
|
6467
6467
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6468
|
-
"line":
|
|
6468
|
+
"line": 45
|
|
6469
6469
|
},
|
|
6470
6470
|
"name": "os",
|
|
6471
6471
|
"optional": true,
|
|
@@ -6484,7 +6484,7 @@
|
|
|
6484
6484
|
"immutable": true,
|
|
6485
6485
|
"locationInModule": {
|
|
6486
6486
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6487
|
-
"line":
|
|
6487
|
+
"line": 52
|
|
6488
6488
|
},
|
|
6489
6489
|
"name": "parentImage",
|
|
6490
6490
|
"optional": true,
|
|
@@ -6503,7 +6503,7 @@
|
|
|
6503
6503
|
"immutable": true,
|
|
6504
6504
|
"locationInModule": {
|
|
6505
6505
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6506
|
-
"line":
|
|
6506
|
+
"line": 68
|
|
6507
6507
|
},
|
|
6508
6508
|
"name": "rebuildInterval",
|
|
6509
6509
|
"optional": true,
|
|
@@ -6521,7 +6521,7 @@
|
|
|
6521
6521
|
"immutable": true,
|
|
6522
6522
|
"locationInModule": {
|
|
6523
6523
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6524
|
-
"line":
|
|
6524
|
+
"line": 59
|
|
6525
6525
|
},
|
|
6526
6526
|
"name": "runnerVersion",
|
|
6527
6527
|
"optional": true,
|
|
@@ -6540,7 +6540,7 @@
|
|
|
6540
6540
|
"immutable": true,
|
|
6541
6541
|
"locationInModule": {
|
|
6542
6542
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6543
|
-
"line":
|
|
6543
|
+
"line": 84
|
|
6544
6544
|
},
|
|
6545
6545
|
"name": "securityGroup",
|
|
6546
6546
|
"optional": true,
|
|
@@ -6558,7 +6558,7 @@
|
|
|
6558
6558
|
"immutable": true,
|
|
6559
6559
|
"locationInModule": {
|
|
6560
6560
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6561
|
-
"line":
|
|
6561
|
+
"line": 91
|
|
6562
6562
|
},
|
|
6563
6563
|
"name": "securityGroups",
|
|
6564
6564
|
"optional": true,
|
|
@@ -6581,7 +6581,7 @@
|
|
|
6581
6581
|
"immutable": true,
|
|
6582
6582
|
"locationInModule": {
|
|
6583
6583
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6584
|
-
"line":
|
|
6584
|
+
"line": 98
|
|
6585
6585
|
},
|
|
6586
6586
|
"name": "subnetSelection",
|
|
6587
6587
|
"optional": true,
|
|
@@ -6599,7 +6599,7 @@
|
|
|
6599
6599
|
"immutable": true,
|
|
6600
6600
|
"locationInModule": {
|
|
6601
6601
|
"filename": "src/image-builders/aws-image-builder/deprecated/container.ts",
|
|
6602
|
-
"line":
|
|
6602
|
+
"line": 75
|
|
6603
6603
|
},
|
|
6604
6604
|
"name": "vpc",
|
|
6605
6605
|
"optional": true,
|
|
@@ -6651,7 +6651,7 @@
|
|
|
6651
6651
|
"kind": "class",
|
|
6652
6652
|
"locationInModule": {
|
|
6653
6653
|
"filename": "src/providers/ec2.ts",
|
|
6654
|
-
"line":
|
|
6654
|
+
"line": 578
|
|
6655
6655
|
},
|
|
6656
6656
|
"name": "Ec2Runner",
|
|
6657
6657
|
"symbolId": "src/providers/ec2:Ec2Runner"
|
|
@@ -6780,7 +6780,7 @@
|
|
|
6780
6780
|
},
|
|
6781
6781
|
"locationInModule": {
|
|
6782
6782
|
"filename": "src/providers/ec2.ts",
|
|
6783
|
-
"line":
|
|
6783
|
+
"line": 518
|
|
6784
6784
|
},
|
|
6785
6785
|
"name": "grantStateMachine",
|
|
6786
6786
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6799,7 +6799,7 @@
|
|
|
6799
6799
|
},
|
|
6800
6800
|
"locationInModule": {
|
|
6801
6801
|
"filename": "src/providers/common.ts",
|
|
6802
|
-
"line":
|
|
6802
|
+
"line": 492
|
|
6803
6803
|
},
|
|
6804
6804
|
"name": "labelsFromProperties",
|
|
6805
6805
|
"parameters": [
|
|
@@ -6849,7 +6849,7 @@
|
|
|
6849
6849
|
},
|
|
6850
6850
|
"locationInModule": {
|
|
6851
6851
|
"filename": "src/providers/ec2.ts",
|
|
6852
|
-
"line":
|
|
6852
|
+
"line": 548
|
|
6853
6853
|
},
|
|
6854
6854
|
"name": "status",
|
|
6855
6855
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6878,7 +6878,7 @@
|
|
|
6878
6878
|
"immutable": true,
|
|
6879
6879
|
"locationInModule": {
|
|
6880
6880
|
"filename": "src/providers/ec2.ts",
|
|
6881
|
-
"line":
|
|
6881
|
+
"line": 570
|
|
6882
6882
|
},
|
|
6883
6883
|
"name": "connections",
|
|
6884
6884
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -7360,7 +7360,7 @@
|
|
|
7360
7360
|
},
|
|
7361
7361
|
"locationInModule": {
|
|
7362
7362
|
"filename": "src/providers/common.ts",
|
|
7363
|
-
"line":
|
|
7363
|
+
"line": 492
|
|
7364
7364
|
},
|
|
7365
7365
|
"name": "labelsFromProperties",
|
|
7366
7366
|
"parameters": [
|
|
@@ -8078,7 +8078,7 @@
|
|
|
8078
8078
|
},
|
|
8079
8079
|
"locationInModule": {
|
|
8080
8080
|
"filename": "src/providers/common.ts",
|
|
8081
|
-
"line":
|
|
8081
|
+
"line": 492
|
|
8082
8082
|
},
|
|
8083
8083
|
"name": "labelsFromProperties",
|
|
8084
8084
|
"parameters": [
|
|
@@ -8689,7 +8689,7 @@
|
|
|
8689
8689
|
"kind": "interface",
|
|
8690
8690
|
"locationInModule": {
|
|
8691
8691
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
8692
|
-
"line":
|
|
8692
|
+
"line": 55
|
|
8693
8693
|
},
|
|
8694
8694
|
"name": "FastLaunchOptions",
|
|
8695
8695
|
"properties": [
|
|
@@ -8707,7 +8707,7 @@
|
|
|
8707
8707
|
"immutable": true,
|
|
8708
8708
|
"locationInModule": {
|
|
8709
8709
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
8710
|
-
"line":
|
|
8710
|
+
"line": 66
|
|
8711
8711
|
},
|
|
8712
8712
|
"name": "enabled",
|
|
8713
8713
|
"optional": true,
|
|
@@ -8726,7 +8726,7 @@
|
|
|
8726
8726
|
"immutable": true,
|
|
8727
8727
|
"locationInModule": {
|
|
8728
8728
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
8729
|
-
"line":
|
|
8729
|
+
"line": 75
|
|
8730
8730
|
},
|
|
8731
8731
|
"name": "maxParallelLaunches",
|
|
8732
8732
|
"optional": true,
|
|
@@ -8744,7 +8744,7 @@
|
|
|
8744
8744
|
"immutable": true,
|
|
8745
8745
|
"locationInModule": {
|
|
8746
8746
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
8747
|
-
"line":
|
|
8747
|
+
"line": 82
|
|
8748
8748
|
},
|
|
8749
8749
|
"name": "targetResourceCount",
|
|
8750
8750
|
"optional": true,
|
|
@@ -9879,7 +9879,7 @@
|
|
|
9879
9879
|
"kind": "interface",
|
|
9880
9880
|
"locationInModule": {
|
|
9881
9881
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9882
|
-
"line":
|
|
9882
|
+
"line": 88
|
|
9883
9883
|
},
|
|
9884
9884
|
"name": "ImageBuilderAsset",
|
|
9885
9885
|
"properties": [
|
|
@@ -9892,7 +9892,7 @@
|
|
|
9892
9892
|
"immutable": true,
|
|
9893
9893
|
"locationInModule": {
|
|
9894
9894
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9895
|
-
"line":
|
|
9895
|
+
"line": 97
|
|
9896
9896
|
},
|
|
9897
9897
|
"name": "asset",
|
|
9898
9898
|
"type": {
|
|
@@ -9908,7 +9908,7 @@
|
|
|
9908
9908
|
"immutable": true,
|
|
9909
9909
|
"locationInModule": {
|
|
9910
9910
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9911
|
-
"line":
|
|
9911
|
+
"line": 92
|
|
9912
9912
|
},
|
|
9913
9913
|
"name": "path",
|
|
9914
9914
|
"type": {
|
|
@@ -9934,7 +9934,7 @@
|
|
|
9934
9934
|
},
|
|
9935
9935
|
"locationInModule": {
|
|
9936
9936
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9937
|
-
"line":
|
|
9937
|
+
"line": 171
|
|
9938
9938
|
},
|
|
9939
9939
|
"parameters": [
|
|
9940
9940
|
{
|
|
@@ -9960,7 +9960,7 @@
|
|
|
9960
9960
|
"kind": "class",
|
|
9961
9961
|
"locationInModule": {
|
|
9962
9962
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9963
|
-
"line":
|
|
9963
|
+
"line": 158
|
|
9964
9964
|
},
|
|
9965
9965
|
"methods": [
|
|
9966
9966
|
{
|
|
@@ -10006,7 +10006,7 @@
|
|
|
10006
10006
|
},
|
|
10007
10007
|
"locationInModule": {
|
|
10008
10008
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10009
|
-
"line":
|
|
10009
|
+
"line": 273
|
|
10010
10010
|
},
|
|
10011
10011
|
"name": "grantAssetsRead",
|
|
10012
10012
|
"parameters": [
|
|
@@ -10024,7 +10024,7 @@
|
|
|
10024
10024
|
},
|
|
10025
10025
|
"locationInModule": {
|
|
10026
10026
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10027
|
-
"line":
|
|
10027
|
+
"line": 279
|
|
10028
10028
|
},
|
|
10029
10029
|
"name": "prefixCommandsWithErrorHandling",
|
|
10030
10030
|
"parameters": [
|
|
@@ -10068,7 +10068,7 @@
|
|
|
10068
10068
|
"immutable": true,
|
|
10069
10069
|
"locationInModule": {
|
|
10070
10070
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10071
|
-
"line":
|
|
10071
|
+
"line": 162
|
|
10072
10072
|
},
|
|
10073
10073
|
"name": "arn",
|
|
10074
10074
|
"type": {
|
|
@@ -10083,7 +10083,7 @@
|
|
|
10083
10083
|
"immutable": true,
|
|
10084
10084
|
"locationInModule": {
|
|
10085
10085
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10086
|
-
"line":
|
|
10086
|
+
"line": 167
|
|
10087
10087
|
},
|
|
10088
10088
|
"name": "platform",
|
|
10089
10089
|
"type": {
|
|
@@ -10104,7 +10104,7 @@
|
|
|
10104
10104
|
"kind": "interface",
|
|
10105
10105
|
"locationInModule": {
|
|
10106
10106
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10107
|
-
"line":
|
|
10107
|
+
"line": 103
|
|
10108
10108
|
},
|
|
10109
10109
|
"name": "ImageBuilderComponentProperties",
|
|
10110
10110
|
"properties": [
|
|
@@ -10118,7 +10118,7 @@
|
|
|
10118
10118
|
"immutable": true,
|
|
10119
10119
|
"locationInModule": {
|
|
10120
10120
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10121
|
-
"line":
|
|
10121
|
+
"line": 124
|
|
10122
10122
|
},
|
|
10123
10123
|
"name": "commands",
|
|
10124
10124
|
"type": {
|
|
@@ -10139,7 +10139,7 @@
|
|
|
10139
10139
|
"immutable": true,
|
|
10140
10140
|
"locationInModule": {
|
|
10141
10141
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10142
|
-
"line":
|
|
10142
|
+
"line": 117
|
|
10143
10143
|
},
|
|
10144
10144
|
"name": "description",
|
|
10145
10145
|
"type": {
|
|
@@ -10155,7 +10155,7 @@
|
|
|
10155
10155
|
"immutable": true,
|
|
10156
10156
|
"locationInModule": {
|
|
10157
10157
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10158
|
-
"line":
|
|
10158
|
+
"line": 112
|
|
10159
10159
|
},
|
|
10160
10160
|
"name": "displayName",
|
|
10161
10161
|
"type": {
|
|
@@ -10172,7 +10172,7 @@
|
|
|
10172
10172
|
"immutable": true,
|
|
10173
10173
|
"locationInModule": {
|
|
10174
10174
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10175
|
-
"line":
|
|
10175
|
+
"line": 107
|
|
10176
10176
|
},
|
|
10177
10177
|
"name": "platform",
|
|
10178
10178
|
"type": {
|
|
@@ -10188,7 +10188,7 @@
|
|
|
10188
10188
|
"immutable": true,
|
|
10189
10189
|
"locationInModule": {
|
|
10190
10190
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10191
|
-
"line":
|
|
10191
|
+
"line": 129
|
|
10192
10192
|
},
|
|
10193
10193
|
"name": "assets",
|
|
10194
10194
|
"optional": true,
|
|
@@ -10211,7 +10211,7 @@
|
|
|
10211
10211
|
"immutable": true,
|
|
10212
10212
|
"locationInModule": {
|
|
10213
10213
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10214
|
-
"line":
|
|
10214
|
+
"line": 136
|
|
10215
10215
|
},
|
|
10216
10216
|
"name": "reboot",
|
|
10217
10217
|
"optional": true,
|
|
@@ -10384,7 +10384,7 @@
|
|
|
10384
10384
|
},
|
|
10385
10385
|
"locationInModule": {
|
|
10386
10386
|
"filename": "src/providers/lambda.ts",
|
|
10387
|
-
"line":
|
|
10387
|
+
"line": 222
|
|
10388
10388
|
},
|
|
10389
10389
|
"parameters": [
|
|
10390
10390
|
{
|
|
@@ -10411,7 +10411,7 @@
|
|
|
10411
10411
|
"kind": "class",
|
|
10412
10412
|
"locationInModule": {
|
|
10413
10413
|
"filename": "src/providers/lambda.ts",
|
|
10414
|
-
"line":
|
|
10414
|
+
"line": 458
|
|
10415
10415
|
},
|
|
10416
10416
|
"name": "LambdaRunner",
|
|
10417
10417
|
"symbolId": "src/providers/lambda:LambdaRunner"
|
|
@@ -10431,7 +10431,7 @@
|
|
|
10431
10431
|
},
|
|
10432
10432
|
"locationInModule": {
|
|
10433
10433
|
"filename": "src/providers/lambda.ts",
|
|
10434
|
-
"line":
|
|
10434
|
+
"line": 222
|
|
10435
10435
|
},
|
|
10436
10436
|
"parameters": [
|
|
10437
10437
|
{
|
|
@@ -10466,13 +10466,13 @@
|
|
|
10466
10466
|
"methods": [
|
|
10467
10467
|
{
|
|
10468
10468
|
"docs": {
|
|
10469
|
-
"remarks": "You can customize the OS, architecture, VPC, subnet, security groups, etc. by passing in props.\n\nYou can add components to the image builder by calling `imageBuilder.addComponent()`.\n\nThe default OS is Amazon Linux
|
|
10469
|
+
"remarks": "You can customize the OS, architecture, VPC, subnet, security groups, etc. by passing in props.\n\nYou can add components to the image builder by calling `imageBuilder.addComponent()`.\n\nThe default OS is Amazon Linux 2023 running on x64 architecture.\n\nIncluded components:\n * `RunnerImageComponent.requiredPackages()`\n * `RunnerImageComponent.runnerUser()`\n * `RunnerImageComponent.git()`\n * `RunnerImageComponent.githubCli()`\n * `RunnerImageComponent.awsCli()`\n * `RunnerImageComponent.githubRunner()`\n * `RunnerImageComponent.lambdaEntrypoint()`",
|
|
10470
10470
|
"stability": "experimental",
|
|
10471
10471
|
"summary": "Create new image builder that builds Lambda specific runner images."
|
|
10472
10472
|
},
|
|
10473
10473
|
"locationInModule": {
|
|
10474
10474
|
"filename": "src/providers/lambda.ts",
|
|
10475
|
-
"line":
|
|
10475
|
+
"line": 167
|
|
10476
10476
|
},
|
|
10477
10477
|
"name": "imageBuilder",
|
|
10478
10478
|
"parameters": [
|
|
@@ -10511,7 +10511,7 @@
|
|
|
10511
10511
|
},
|
|
10512
10512
|
"locationInModule": {
|
|
10513
10513
|
"filename": "src/providers/lambda.ts",
|
|
10514
|
-
"line":
|
|
10514
|
+
"line": 314
|
|
10515
10515
|
},
|
|
10516
10516
|
"name": "getStepFunctionTask",
|
|
10517
10517
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -10540,7 +10540,7 @@
|
|
|
10540
10540
|
},
|
|
10541
10541
|
"locationInModule": {
|
|
10542
10542
|
"filename": "src/providers/lambda.ts",
|
|
10543
|
-
"line":
|
|
10543
|
+
"line": 375
|
|
10544
10544
|
},
|
|
10545
10545
|
"name": "grantStateMachine",
|
|
10546
10546
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -10559,7 +10559,7 @@
|
|
|
10559
10559
|
},
|
|
10560
10560
|
"locationInModule": {
|
|
10561
10561
|
"filename": "src/providers/common.ts",
|
|
10562
|
-
"line":
|
|
10562
|
+
"line": 492
|
|
10563
10563
|
},
|
|
10564
10564
|
"name": "labelsFromProperties",
|
|
10565
10565
|
"parameters": [
|
|
@@ -10609,7 +10609,7 @@
|
|
|
10609
10609
|
},
|
|
10610
10610
|
"locationInModule": {
|
|
10611
10611
|
"filename": "src/providers/lambda.ts",
|
|
10612
|
-
"line":
|
|
10612
|
+
"line": 378
|
|
10613
10613
|
},
|
|
10614
10614
|
"name": "status",
|
|
10615
10615
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -10676,7 +10676,7 @@
|
|
|
10676
10676
|
"immutable": true,
|
|
10677
10677
|
"locationInModule": {
|
|
10678
10678
|
"filename": "src/providers/lambda.ts",
|
|
10679
|
-
"line":
|
|
10679
|
+
"line": 303
|
|
10680
10680
|
},
|
|
10681
10681
|
"name": "connections",
|
|
10682
10682
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -10692,7 +10692,7 @@
|
|
|
10692
10692
|
"immutable": true,
|
|
10693
10693
|
"locationInModule": {
|
|
10694
10694
|
"filename": "src/providers/lambda.ts",
|
|
10695
|
-
"line":
|
|
10695
|
+
"line": 187
|
|
10696
10696
|
},
|
|
10697
10697
|
"name": "function",
|
|
10698
10698
|
"type": {
|
|
@@ -10707,7 +10707,7 @@
|
|
|
10707
10707
|
"immutable": true,
|
|
10708
10708
|
"locationInModule": {
|
|
10709
10709
|
"filename": "src/providers/lambda.ts",
|
|
10710
|
-
"line":
|
|
10710
|
+
"line": 197
|
|
10711
10711
|
},
|
|
10712
10712
|
"name": "grantPrincipal",
|
|
10713
10713
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
|
@@ -10724,7 +10724,7 @@
|
|
|
10724
10724
|
"immutable": true,
|
|
10725
10725
|
"locationInModule": {
|
|
10726
10726
|
"filename": "src/providers/lambda.ts",
|
|
10727
|
-
"line":
|
|
10727
|
+
"line": 202
|
|
10728
10728
|
},
|
|
10729
10729
|
"name": "image",
|
|
10730
10730
|
"type": {
|
|
@@ -10739,7 +10739,7 @@
|
|
|
10739
10739
|
"immutable": true,
|
|
10740
10740
|
"locationInModule": {
|
|
10741
10741
|
"filename": "src/providers/lambda.ts",
|
|
10742
|
-
"line":
|
|
10742
|
+
"line": 192
|
|
10743
10743
|
},
|
|
10744
10744
|
"name": "labels",
|
|
10745
10745
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -10761,7 +10761,7 @@
|
|
|
10761
10761
|
"immutable": true,
|
|
10762
10762
|
"locationInModule": {
|
|
10763
10763
|
"filename": "src/providers/lambda.ts",
|
|
10764
|
-
"line":
|
|
10764
|
+
"line": 209
|
|
10765
10765
|
},
|
|
10766
10766
|
"name": "logGroup",
|
|
10767
10767
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -10777,7 +10777,7 @@
|
|
|
10777
10777
|
"immutable": true,
|
|
10778
10778
|
"locationInModule": {
|
|
10779
10779
|
"filename": "src/providers/lambda.ts",
|
|
10780
|
-
"line":
|
|
10780
|
+
"line": 211
|
|
10781
10781
|
},
|
|
10782
10782
|
"name": "retryableErrors",
|
|
10783
10783
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -12665,7 +12665,7 @@
|
|
|
12665
12665
|
},
|
|
12666
12666
|
"locationInModule": {
|
|
12667
12667
|
"filename": "src/image-builders/components.ts",
|
|
12668
|
-
"line":
|
|
12668
|
+
"line": 549
|
|
12669
12669
|
},
|
|
12670
12670
|
"name": "environmentVariables",
|
|
12671
12671
|
"parameters": [
|
|
@@ -12849,7 +12849,7 @@
|
|
|
12849
12849
|
},
|
|
12850
12850
|
"locationInModule": {
|
|
12851
12851
|
"filename": "src/image-builders/components.ts",
|
|
12852
|
-
"line":
|
|
12852
|
+
"line": 586
|
|
12853
12853
|
},
|
|
12854
12854
|
"name": "getAssets",
|
|
12855
12855
|
"parameters": [
|
|
@@ -12886,7 +12886,7 @@
|
|
|
12886
12886
|
},
|
|
12887
12887
|
"locationInModule": {
|
|
12888
12888
|
"filename": "src/image-builders/components.ts",
|
|
12889
|
-
"line":
|
|
12889
|
+
"line": 581
|
|
12890
12890
|
},
|
|
12891
12891
|
"name": "getCommands",
|
|
12892
12892
|
"parameters": [
|
|
@@ -12922,7 +12922,7 @@
|
|
|
12922
12922
|
},
|
|
12923
12923
|
"locationInModule": {
|
|
12924
12924
|
"filename": "src/image-builders/components.ts",
|
|
12925
|
-
"line":
|
|
12925
|
+
"line": 595
|
|
12926
12926
|
},
|
|
12927
12927
|
"name": "getDockerCommands",
|
|
12928
12928
|
"parameters": [
|
|
@@ -12957,7 +12957,7 @@
|
|
|
12957
12957
|
},
|
|
12958
12958
|
"locationInModule": {
|
|
12959
12959
|
"filename": "src/image-builders/components.ts",
|
|
12960
|
-
"line":
|
|
12960
|
+
"line": 602
|
|
12961
12961
|
},
|
|
12962
12962
|
"name": "shouldReboot",
|
|
12963
12963
|
"parameters": [
|
|
@@ -12993,7 +12993,7 @@
|
|
|
12993
12993
|
"immutable": true,
|
|
12994
12994
|
"locationInModule": {
|
|
12995
12995
|
"filename": "src/image-builders/components.ts",
|
|
12996
|
-
"line":
|
|
12996
|
+
"line": 576
|
|
12997
12997
|
},
|
|
12998
12998
|
"name": "name",
|
|
12999
12999
|
"type": {
|
|
@@ -13893,6 +13893,6 @@
|
|
|
13893
13893
|
"symbolId": "src/image-builders/aws-image-builder/deprecated/windows-components:WindowsComponents"
|
|
13894
13894
|
}
|
|
13895
13895
|
},
|
|
13896
|
-
"version": "0.
|
|
13897
|
-
"fingerprint": "
|
|
13896
|
+
"version": "0.14.1",
|
|
13897
|
+
"fingerprint": "s14A2AyOJ9MTzfRntIM06tE5ea5tRtTYnY5SmVECxSk="
|
|
13898
13898
|
}
|