@cloudsnorkel/cdk-github-runners 0.9.8 → 0.10.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 +268 -318
- package/API.md +188 -34
- package/README.md +8 -7
- package/assets/setup.lambda/index.html +12 -12
- package/assets/token-retriever.lambda/index.js +25 -9
- package/lib/access.d.ts +3 -1
- package/lib/access.js +12 -4
- package/lib/image-builders/api.js +1 -1
- package/lib/image-builders/aws-image-builder/builder.js +1 -1
- package/lib/image-builders/aws-image-builder/deprecated/ami.js +1 -1
- package/lib/image-builders/aws-image-builder/deprecated/container.js +1 -1
- 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/codebuild-deprecated.js +1 -1
- package/lib/image-builders/components.js +1 -1
- package/lib/image-builders/static.js +1 -1
- package/lib/providers/codebuild.d.ts +1 -0
- package/lib/providers/codebuild.js +7 -4
- package/lib/providers/common.d.ts +8 -8
- package/lib/providers/common.js +5 -16
- package/lib/providers/ec2.d.ts +1 -0
- package/lib/providers/ec2.js +9 -10
- package/lib/providers/ecs.d.ts +3 -0
- package/lib/providers/ecs.js +53 -44
- package/lib/providers/fargate.d.ts +1 -0
- package/lib/providers/fargate.js +8 -4
- package/lib/providers/lambda.d.ts +1 -0
- package/lib/providers/lambda.js +10 -4
- package/lib/runner.d.ts +12 -2
- package/lib/runner.js +28 -9
- package/lib/secrets.js +1 -1
- package/lib/token-retriever.lambda.js +24 -10
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -3138,7 +3138,7 @@
|
|
|
3138
3138
|
},
|
|
3139
3139
|
"name": "@cloudsnorkel/cdk-github-runners",
|
|
3140
3140
|
"readme": {
|
|
3141
|
-
"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 = CodeBuildRunnerProvider.imageBuilder(this, 'image builder', {\n dockerfilePath: FargateRunner.LINUX_X64_DOCKERFILE_PATH,\n runnerVersion: RunnerVersion.specific('2.291.0'),\n rebuildInterval: Duration.days(14),\n});\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 vpc: vpc,\n securityGroups: [runnerSg],\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 runnerVersion: RunnerVersion.specific('2.291.0'),\n rebuildInterval: Duration.days(14),\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 vpc: vpc,\n securityGroups: [runnerSg],\n imageBuidler: 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 imageBuidler: 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\n1. Always start with the status function, make sure no errors are reported, and confirm all status codes are OK\n2. If jobs are stuck on pending:\n 1. Make sure `runs-on` in the workflow matches the expected labels set in the runner provider\n 2. If jobs get stuck often and take a long time to start, cancel the pending jobs and start them again\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 installation in `github.auth.app.installations`\n6. Check execution details of the orchestrator step function by visiting the URL in `troubleshooting.stepFunctionUrl` from `status.json`\n 1. Use the details tab to find the specific execution of the provider (Lambda, CodeBuild, Fargate, etc.)\n 2. Every step function execution should be successful, even if the runner action inside it failed\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## 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-action-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"
|
|
3141
|
+
"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 = CodeBuildRunnerProvider.imageBuilder(this, 'image builder', {\n dockerfilePath: FargateRunner.LINUX_X64_DOCKERFILE_PATH,\n runnerVersion: RunnerVersion.specific('2.291.0'),\n rebuildInterval: Duration.days(14),\n});\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 vpc: vpc,\n securityGroups: [runnerSg],\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 runnerVersion: RunnerVersion.specific('2.291.0'),\n rebuildInterval: Duration.days(14),\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 vpc: vpc,\n securityGroups: [runnerSg],\n imageBuidler: 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 imageBuidler: 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\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## 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-action-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"
|
|
3142
3142
|
},
|
|
3143
3143
|
"repository": {
|
|
3144
3144
|
"type": "git",
|
|
@@ -3851,7 +3851,7 @@
|
|
|
3851
3851
|
"immutable": true,
|
|
3852
3852
|
"locationInModule": {
|
|
3853
3853
|
"filename": "src/access.ts",
|
|
3854
|
-
"line":
|
|
3854
|
+
"line": 28
|
|
3855
3855
|
},
|
|
3856
3856
|
"name": "allowedIps",
|
|
3857
3857
|
"optional": true,
|
|
@@ -3874,7 +3874,7 @@
|
|
|
3874
3874
|
"immutable": true,
|
|
3875
3875
|
"locationInModule": {
|
|
3876
3876
|
"filename": "src/access.ts",
|
|
3877
|
-
"line":
|
|
3877
|
+
"line": 40
|
|
3878
3878
|
},
|
|
3879
3879
|
"name": "allowedSecurityGroups",
|
|
3880
3880
|
"optional": true,
|
|
@@ -3896,7 +3896,7 @@
|
|
|
3896
3896
|
"immutable": true,
|
|
3897
3897
|
"locationInModule": {
|
|
3898
3898
|
"filename": "src/access.ts",
|
|
3899
|
-
"line":
|
|
3899
|
+
"line": 33
|
|
3900
3900
|
},
|
|
3901
3901
|
"name": "allowedVpc",
|
|
3902
3902
|
"optional": true,
|
|
@@ -3907,14 +3907,14 @@
|
|
|
3907
3907
|
{
|
|
3908
3908
|
"abstract": true,
|
|
3909
3909
|
"docs": {
|
|
3910
|
-
"remarks": "Use this to make use of existing VPC endpoints. The VPC endpoint must point to `ec2.InterfaceVpcEndpointAwsService.APIGATEWAY`.\n\nNo other settings are supported when using this option.",
|
|
3910
|
+
"remarks": "Use this to make use of existing VPC endpoints or to share an endpoint between multiple functions. The VPC endpoint must point to `ec2.InterfaceVpcEndpointAwsService.APIGATEWAY`.\n\nNo other settings are supported when using this option.\n\nAll endpoints will be allowed access, but only the first one will be used as the URL by the runner system for setting up the webhook, and as setup URL.",
|
|
3911
3911
|
"stability": "experimental",
|
|
3912
3912
|
"summary": "Create a private API Gateway and allow access from the specified VPC endpoints."
|
|
3913
3913
|
},
|
|
3914
3914
|
"immutable": true,
|
|
3915
3915
|
"locationInModule": {
|
|
3916
3916
|
"filename": "src/access.ts",
|
|
3917
|
-
"line":
|
|
3917
|
+
"line": 19
|
|
3918
3918
|
},
|
|
3919
3919
|
"name": "allowedVpcEndpoints",
|
|
3920
3920
|
"optional": true,
|
|
@@ -4658,7 +4658,7 @@
|
|
|
4658
4658
|
},
|
|
4659
4659
|
"locationInModule": {
|
|
4660
4660
|
"filename": "src/providers/codebuild.ts",
|
|
4661
|
-
"line":
|
|
4661
|
+
"line": 220
|
|
4662
4662
|
},
|
|
4663
4663
|
"parameters": [
|
|
4664
4664
|
{
|
|
@@ -4685,7 +4685,7 @@
|
|
|
4685
4685
|
"kind": "class",
|
|
4686
4686
|
"locationInModule": {
|
|
4687
4687
|
"filename": "src/providers/codebuild.ts",
|
|
4688
|
-
"line":
|
|
4688
|
+
"line": 419
|
|
4689
4689
|
},
|
|
4690
4690
|
"name": "CodeBuildRunner",
|
|
4691
4691
|
"symbolId": "src/providers/codebuild:CodeBuildRunner"
|
|
@@ -4779,7 +4779,7 @@
|
|
|
4779
4779
|
},
|
|
4780
4780
|
"locationInModule": {
|
|
4781
4781
|
"filename": "src/providers/codebuild.ts",
|
|
4782
|
-
"line":
|
|
4782
|
+
"line": 220
|
|
4783
4783
|
},
|
|
4784
4784
|
"parameters": [
|
|
4785
4785
|
{
|
|
@@ -4851,45 +4851,6 @@
|
|
|
4851
4851
|
},
|
|
4852
4852
|
"static": true
|
|
4853
4853
|
},
|
|
4854
|
-
{
|
|
4855
|
-
"docs": {
|
|
4856
|
-
"stability": "experimental"
|
|
4857
|
-
},
|
|
4858
|
-
"locationInModule": {
|
|
4859
|
-
"filename": "src/providers/common.ts",
|
|
4860
|
-
"line": 474
|
|
4861
|
-
},
|
|
4862
|
-
"name": "addRetry",
|
|
4863
|
-
"parameters": [
|
|
4864
|
-
{
|
|
4865
|
-
"name": "task",
|
|
4866
|
-
"type": {
|
|
4867
|
-
"union": {
|
|
4868
|
-
"types": [
|
|
4869
|
-
{
|
|
4870
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.TaskStateBase"
|
|
4871
|
-
},
|
|
4872
|
-
{
|
|
4873
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.Parallel"
|
|
4874
|
-
}
|
|
4875
|
-
]
|
|
4876
|
-
}
|
|
4877
|
-
}
|
|
4878
|
-
},
|
|
4879
|
-
{
|
|
4880
|
-
"name": "errors",
|
|
4881
|
-
"type": {
|
|
4882
|
-
"collection": {
|
|
4883
|
-
"elementtype": {
|
|
4884
|
-
"primitive": "string"
|
|
4885
|
-
},
|
|
4886
|
-
"kind": "array"
|
|
4887
|
-
}
|
|
4888
|
-
}
|
|
4889
|
-
}
|
|
4890
|
-
],
|
|
4891
|
-
"protected": true
|
|
4892
|
-
},
|
|
4893
4854
|
{
|
|
4894
4855
|
"docs": {
|
|
4895
4856
|
"remarks": "Called by GithubRunners and shouldn't be called manually.",
|
|
@@ -4898,7 +4859,7 @@
|
|
|
4898
4859
|
},
|
|
4899
4860
|
"locationInModule": {
|
|
4900
4861
|
"filename": "src/providers/codebuild.ts",
|
|
4901
|
-
"line":
|
|
4862
|
+
"line": 348
|
|
4902
4863
|
},
|
|
4903
4864
|
"name": "getStepFunctionTask",
|
|
4904
4865
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -4927,7 +4888,7 @@
|
|
|
4927
4888
|
},
|
|
4928
4889
|
"locationInModule": {
|
|
4929
4890
|
"filename": "src/providers/codebuild.ts",
|
|
4930
|
-
"line":
|
|
4891
|
+
"line": 387
|
|
4931
4892
|
},
|
|
4932
4893
|
"name": "grantStateMachine",
|
|
4933
4894
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -4996,7 +4957,7 @@
|
|
|
4996
4957
|
},
|
|
4997
4958
|
"locationInModule": {
|
|
4998
4959
|
"filename": "src/providers/codebuild.ts",
|
|
4999
|
-
"line":
|
|
4960
|
+
"line": 390
|
|
5000
4961
|
},
|
|
5001
4962
|
"name": "status",
|
|
5002
4963
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5063,7 +5024,7 @@
|
|
|
5063
5024
|
"immutable": true,
|
|
5064
5025
|
"locationInModule": {
|
|
5065
5026
|
"filename": "src/providers/codebuild.ts",
|
|
5066
|
-
"line":
|
|
5027
|
+
"line": 411
|
|
5067
5028
|
},
|
|
5068
5029
|
"name": "connections",
|
|
5069
5030
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -5155,6 +5116,27 @@
|
|
|
5155
5116
|
"type": {
|
|
5156
5117
|
"fqn": "aws-cdk-lib.aws_codebuild.Project"
|
|
5157
5118
|
}
|
|
5119
|
+
},
|
|
5120
|
+
{
|
|
5121
|
+
"docs": {
|
|
5122
|
+
"stability": "experimental",
|
|
5123
|
+
"summary": "List of step functions errors that should be retried."
|
|
5124
|
+
},
|
|
5125
|
+
"immutable": true,
|
|
5126
|
+
"locationInModule": {
|
|
5127
|
+
"filename": "src/providers/codebuild.ts",
|
|
5128
|
+
"line": 211
|
|
5129
|
+
},
|
|
5130
|
+
"name": "retryableErrors",
|
|
5131
|
+
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
5132
|
+
"type": {
|
|
5133
|
+
"collection": {
|
|
5134
|
+
"elementtype": {
|
|
5135
|
+
"primitive": "string"
|
|
5136
|
+
},
|
|
5137
|
+
"kind": "array"
|
|
5138
|
+
}
|
|
5139
|
+
}
|
|
5158
5140
|
}
|
|
5159
5141
|
],
|
|
5160
5142
|
"symbolId": "src/providers/codebuild:CodeBuildRunnerProvider"
|
|
@@ -6062,7 +6044,7 @@
|
|
|
6062
6044
|
},
|
|
6063
6045
|
"locationInModule": {
|
|
6064
6046
|
"filename": "src/providers/ec2.ts",
|
|
6065
|
-
"line":
|
|
6047
|
+
"line": 297
|
|
6066
6048
|
},
|
|
6067
6049
|
"parameters": [
|
|
6068
6050
|
{
|
|
@@ -6089,7 +6071,7 @@
|
|
|
6089
6071
|
"kind": "class",
|
|
6090
6072
|
"locationInModule": {
|
|
6091
6073
|
"filename": "src/providers/ec2.ts",
|
|
6092
|
-
"line":
|
|
6074
|
+
"line": 506
|
|
6093
6075
|
},
|
|
6094
6076
|
"name": "Ec2Runner",
|
|
6095
6077
|
"symbolId": "src/providers/ec2:Ec2Runner"
|
|
@@ -6109,7 +6091,7 @@
|
|
|
6109
6091
|
},
|
|
6110
6092
|
"locationInModule": {
|
|
6111
6093
|
"filename": "src/providers/ec2.ts",
|
|
6112
|
-
"line":
|
|
6094
|
+
"line": 297
|
|
6113
6095
|
},
|
|
6114
6096
|
"parameters": [
|
|
6115
6097
|
{
|
|
@@ -6181,45 +6163,6 @@
|
|
|
6181
6163
|
},
|
|
6182
6164
|
"static": true
|
|
6183
6165
|
},
|
|
6184
|
-
{
|
|
6185
|
-
"docs": {
|
|
6186
|
-
"stability": "experimental"
|
|
6187
|
-
},
|
|
6188
|
-
"locationInModule": {
|
|
6189
|
-
"filename": "src/providers/common.ts",
|
|
6190
|
-
"line": 474
|
|
6191
|
-
},
|
|
6192
|
-
"name": "addRetry",
|
|
6193
|
-
"parameters": [
|
|
6194
|
-
{
|
|
6195
|
-
"name": "task",
|
|
6196
|
-
"type": {
|
|
6197
|
-
"union": {
|
|
6198
|
-
"types": [
|
|
6199
|
-
{
|
|
6200
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.TaskStateBase"
|
|
6201
|
-
},
|
|
6202
|
-
{
|
|
6203
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.Parallel"
|
|
6204
|
-
}
|
|
6205
|
-
]
|
|
6206
|
-
}
|
|
6207
|
-
}
|
|
6208
|
-
},
|
|
6209
|
-
{
|
|
6210
|
-
"name": "errors",
|
|
6211
|
-
"type": {
|
|
6212
|
-
"collection": {
|
|
6213
|
-
"elementtype": {
|
|
6214
|
-
"primitive": "string"
|
|
6215
|
-
},
|
|
6216
|
-
"kind": "array"
|
|
6217
|
-
}
|
|
6218
|
-
}
|
|
6219
|
-
}
|
|
6220
|
-
],
|
|
6221
|
-
"protected": true
|
|
6222
|
-
},
|
|
6223
6166
|
{
|
|
6224
6167
|
"docs": {
|
|
6225
6168
|
"remarks": "Called by GithubRunners and shouldn't be called manually.",
|
|
@@ -6228,7 +6171,7 @@
|
|
|
6228
6171
|
},
|
|
6229
6172
|
"locationInModule": {
|
|
6230
6173
|
"filename": "src/providers/ec2.ts",
|
|
6231
|
-
"line":
|
|
6174
|
+
"line": 349
|
|
6232
6175
|
},
|
|
6233
6176
|
"name": "getStepFunctionTask",
|
|
6234
6177
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6257,7 +6200,7 @@
|
|
|
6257
6200
|
},
|
|
6258
6201
|
"locationInModule": {
|
|
6259
6202
|
"filename": "src/providers/ec2.ts",
|
|
6260
|
-
"line":
|
|
6203
|
+
"line": 446
|
|
6261
6204
|
},
|
|
6262
6205
|
"name": "grantStateMachine",
|
|
6263
6206
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6326,7 +6269,7 @@
|
|
|
6326
6269
|
},
|
|
6327
6270
|
"locationInModule": {
|
|
6328
6271
|
"filename": "src/providers/ec2.ts",
|
|
6329
|
-
"line":
|
|
6272
|
+
"line": 476
|
|
6330
6273
|
},
|
|
6331
6274
|
"name": "status",
|
|
6332
6275
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6355,7 +6298,7 @@
|
|
|
6355
6298
|
"immutable": true,
|
|
6356
6299
|
"locationInModule": {
|
|
6357
6300
|
"filename": "src/providers/ec2.ts",
|
|
6358
|
-
"line":
|
|
6301
|
+
"line": 498
|
|
6359
6302
|
},
|
|
6360
6303
|
"name": "connections",
|
|
6361
6304
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -6416,6 +6359,27 @@
|
|
|
6416
6359
|
"type": {
|
|
6417
6360
|
"fqn": "aws-cdk-lib.aws_logs.ILogGroup"
|
|
6418
6361
|
}
|
|
6362
|
+
},
|
|
6363
|
+
{
|
|
6364
|
+
"docs": {
|
|
6365
|
+
"stability": "experimental",
|
|
6366
|
+
"summary": "List of step functions errors that should be retried."
|
|
6367
|
+
},
|
|
6368
|
+
"immutable": true,
|
|
6369
|
+
"locationInModule": {
|
|
6370
|
+
"filename": "src/providers/ec2.ts",
|
|
6371
|
+
"line": 282
|
|
6372
|
+
},
|
|
6373
|
+
"name": "retryableErrors",
|
|
6374
|
+
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
6375
|
+
"type": {
|
|
6376
|
+
"collection": {
|
|
6377
|
+
"elementtype": {
|
|
6378
|
+
"primitive": "string"
|
|
6379
|
+
},
|
|
6380
|
+
"kind": "array"
|
|
6381
|
+
}
|
|
6382
|
+
}
|
|
6419
6383
|
}
|
|
6420
6384
|
],
|
|
6421
6385
|
"symbolId": "src/providers/ec2:Ec2RunnerProvider"
|
|
@@ -6688,7 +6652,7 @@
|
|
|
6688
6652
|
},
|
|
6689
6653
|
"locationInModule": {
|
|
6690
6654
|
"filename": "src/providers/ecs.ts",
|
|
6691
|
-
"line":
|
|
6655
|
+
"line": 309
|
|
6692
6656
|
},
|
|
6693
6657
|
"parameters": [
|
|
6694
6658
|
{
|
|
@@ -6718,7 +6682,7 @@
|
|
|
6718
6682
|
"kind": "class",
|
|
6719
6683
|
"locationInModule": {
|
|
6720
6684
|
"filename": "src/providers/ecs.ts",
|
|
6721
|
-
"line":
|
|
6685
|
+
"line": 201
|
|
6722
6686
|
},
|
|
6723
6687
|
"methods": [
|
|
6724
6688
|
{
|
|
@@ -6729,7 +6693,7 @@
|
|
|
6729
6693
|
},
|
|
6730
6694
|
"locationInModule": {
|
|
6731
6695
|
"filename": "src/providers/ecs.ts",
|
|
6732
|
-
"line":
|
|
6696
|
+
"line": 214
|
|
6733
6697
|
},
|
|
6734
6698
|
"name": "imageBuilder",
|
|
6735
6699
|
"parameters": [
|
|
@@ -6760,45 +6724,6 @@
|
|
|
6760
6724
|
},
|
|
6761
6725
|
"static": true
|
|
6762
6726
|
},
|
|
6763
|
-
{
|
|
6764
|
-
"docs": {
|
|
6765
|
-
"stability": "experimental"
|
|
6766
|
-
},
|
|
6767
|
-
"locationInModule": {
|
|
6768
|
-
"filename": "src/providers/common.ts",
|
|
6769
|
-
"line": 474
|
|
6770
|
-
},
|
|
6771
|
-
"name": "addRetry",
|
|
6772
|
-
"parameters": [
|
|
6773
|
-
{
|
|
6774
|
-
"name": "task",
|
|
6775
|
-
"type": {
|
|
6776
|
-
"union": {
|
|
6777
|
-
"types": [
|
|
6778
|
-
{
|
|
6779
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.TaskStateBase"
|
|
6780
|
-
},
|
|
6781
|
-
{
|
|
6782
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.Parallel"
|
|
6783
|
-
}
|
|
6784
|
-
]
|
|
6785
|
-
}
|
|
6786
|
-
}
|
|
6787
|
-
},
|
|
6788
|
-
{
|
|
6789
|
-
"name": "errors",
|
|
6790
|
-
"type": {
|
|
6791
|
-
"collection": {
|
|
6792
|
-
"elementtype": {
|
|
6793
|
-
"primitive": "string"
|
|
6794
|
-
},
|
|
6795
|
-
"kind": "array"
|
|
6796
|
-
}
|
|
6797
|
-
}
|
|
6798
|
-
}
|
|
6799
|
-
],
|
|
6800
|
-
"protected": true
|
|
6801
|
-
},
|
|
6802
6727
|
{
|
|
6803
6728
|
"docs": {
|
|
6804
6729
|
"remarks": "Called by GithubRunners and shouldn't be called manually.",
|
|
@@ -6807,7 +6732,7 @@
|
|
|
6807
6732
|
},
|
|
6808
6733
|
"locationInModule": {
|
|
6809
6734
|
"filename": "src/providers/ecs.ts",
|
|
6810
|
-
"line":
|
|
6735
|
+
"line": 510
|
|
6811
6736
|
},
|
|
6812
6737
|
"name": "getStepFunctionTask",
|
|
6813
6738
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6836,7 +6761,7 @@
|
|
|
6836
6761
|
},
|
|
6837
6762
|
"locationInModule": {
|
|
6838
6763
|
"filename": "src/providers/ecs.ts",
|
|
6839
|
-
"line":
|
|
6764
|
+
"line": 557
|
|
6840
6765
|
},
|
|
6841
6766
|
"name": "grantStateMachine",
|
|
6842
6767
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6905,7 +6830,7 @@
|
|
|
6905
6830
|
},
|
|
6906
6831
|
"locationInModule": {
|
|
6907
6832
|
"filename": "src/providers/ecs.ts",
|
|
6908
|
-
"line":
|
|
6833
|
+
"line": 560
|
|
6909
6834
|
},
|
|
6910
6835
|
"name": "status",
|
|
6911
6836
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6934,7 +6859,7 @@
|
|
|
6934
6859
|
"immutable": true,
|
|
6935
6860
|
"locationInModule": {
|
|
6936
6861
|
"filename": "src/providers/ecs.ts",
|
|
6937
|
-
"line":
|
|
6862
|
+
"line": 279
|
|
6938
6863
|
},
|
|
6939
6864
|
"name": "connections",
|
|
6940
6865
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -6950,7 +6875,7 @@
|
|
|
6950
6875
|
"immutable": true,
|
|
6951
6876
|
"locationInModule": {
|
|
6952
6877
|
"filename": "src/providers/ecs.ts",
|
|
6953
|
-
"line":
|
|
6878
|
+
"line": 274
|
|
6954
6879
|
},
|
|
6955
6880
|
"name": "grantPrincipal",
|
|
6956
6881
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
|
@@ -6966,7 +6891,7 @@
|
|
|
6966
6891
|
"immutable": true,
|
|
6967
6892
|
"locationInModule": {
|
|
6968
6893
|
"filename": "src/providers/ecs.ts",
|
|
6969
|
-
"line":
|
|
6894
|
+
"line": 254
|
|
6970
6895
|
},
|
|
6971
6896
|
"name": "labels",
|
|
6972
6897
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6988,13 +6913,34 @@
|
|
|
6988
6913
|
"immutable": true,
|
|
6989
6914
|
"locationInModule": {
|
|
6990
6915
|
"filename": "src/providers/ecs.ts",
|
|
6991
|
-
"line":
|
|
6916
|
+
"line": 291
|
|
6992
6917
|
},
|
|
6993
6918
|
"name": "logGroup",
|
|
6994
6919
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
6995
6920
|
"type": {
|
|
6996
6921
|
"fqn": "aws-cdk-lib.aws_logs.ILogGroup"
|
|
6997
6922
|
}
|
|
6923
|
+
},
|
|
6924
|
+
{
|
|
6925
|
+
"docs": {
|
|
6926
|
+
"stability": "experimental",
|
|
6927
|
+
"summary": "List of step functions errors that should be retried."
|
|
6928
|
+
},
|
|
6929
|
+
"immutable": true,
|
|
6930
|
+
"locationInModule": {
|
|
6931
|
+
"filename": "src/providers/ecs.ts",
|
|
6932
|
+
"line": 303
|
|
6933
|
+
},
|
|
6934
|
+
"name": "retryableErrors",
|
|
6935
|
+
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
6936
|
+
"type": {
|
|
6937
|
+
"collection": {
|
|
6938
|
+
"elementtype": {
|
|
6939
|
+
"primitive": "string"
|
|
6940
|
+
},
|
|
6941
|
+
"kind": "array"
|
|
6942
|
+
}
|
|
6943
|
+
}
|
|
6998
6944
|
}
|
|
6999
6945
|
],
|
|
7000
6946
|
"symbolId": "src/providers/ecs:EcsRunnerProvider"
|
|
@@ -7028,7 +6974,7 @@
|
|
|
7028
6974
|
"immutable": true,
|
|
7029
6975
|
"locationInModule": {
|
|
7030
6976
|
"filename": "src/providers/ecs.ts",
|
|
7031
|
-
"line":
|
|
6977
|
+
"line": 99
|
|
7032
6978
|
},
|
|
7033
6979
|
"name": "assignPublicIp",
|
|
7034
6980
|
"optional": true,
|
|
@@ -7040,13 +6986,14 @@
|
|
|
7040
6986
|
"abstract": true,
|
|
7041
6987
|
"docs": {
|
|
7042
6988
|
"default": "new capacity provider",
|
|
6989
|
+
"remarks": "Make sure the AMI used by the capacity provider is compatible with ECS.",
|
|
7043
6990
|
"stability": "experimental",
|
|
7044
6991
|
"summary": "Existing capacity provider to use."
|
|
7045
6992
|
},
|
|
7046
6993
|
"immutable": true,
|
|
7047
6994
|
"locationInModule": {
|
|
7048
6995
|
"filename": "src/providers/ecs.ts",
|
|
7049
|
-
"line":
|
|
6996
|
+
"line": 90
|
|
7050
6997
|
},
|
|
7051
6998
|
"name": "capacityProvider",
|
|
7052
6999
|
"optional": true,
|
|
@@ -7083,7 +7030,7 @@
|
|
|
7083
7030
|
"immutable": true,
|
|
7084
7031
|
"locationInModule": {
|
|
7085
7032
|
"filename": "src/providers/ecs.ts",
|
|
7086
|
-
"line":
|
|
7033
|
+
"line": 106
|
|
7087
7034
|
},
|
|
7088
7035
|
"name": "cpu",
|
|
7089
7036
|
"optional": true,
|
|
@@ -7102,7 +7049,7 @@
|
|
|
7102
7049
|
"immutable": true,
|
|
7103
7050
|
"locationInModule": {
|
|
7104
7051
|
"filename": "src/providers/ecs.ts",
|
|
7105
|
-
"line":
|
|
7052
|
+
"line": 151
|
|
7106
7053
|
},
|
|
7107
7054
|
"name": "dockerInDocker",
|
|
7108
7055
|
"optional": true,
|
|
@@ -7140,7 +7087,7 @@
|
|
|
7140
7087
|
"immutable": true,
|
|
7141
7088
|
"locationInModule": {
|
|
7142
7089
|
"filename": "src/providers/ecs.ts",
|
|
7143
|
-
"line":
|
|
7090
|
+
"line": 120
|
|
7144
7091
|
},
|
|
7145
7092
|
"name": "instanceType",
|
|
7146
7093
|
"optional": true,
|
|
@@ -7183,7 +7130,7 @@
|
|
|
7183
7130
|
"immutable": true,
|
|
7184
7131
|
"locationInModule": {
|
|
7185
7132
|
"filename": "src/providers/ecs.ts",
|
|
7186
|
-
"line":
|
|
7133
|
+
"line": 134
|
|
7187
7134
|
},
|
|
7188
7135
|
"name": "maxInstances",
|
|
7189
7136
|
"optional": true,
|
|
@@ -7201,7 +7148,7 @@
|
|
|
7201
7148
|
"immutable": true,
|
|
7202
7149
|
"locationInModule": {
|
|
7203
7150
|
"filename": "src/providers/ecs.ts",
|
|
7204
|
-
"line":
|
|
7151
|
+
"line": 113
|
|
7205
7152
|
},
|
|
7206
7153
|
"name": "memoryLimitMiB",
|
|
7207
7154
|
"optional": true,
|
|
@@ -7220,7 +7167,7 @@
|
|
|
7220
7167
|
"immutable": true,
|
|
7221
7168
|
"locationInModule": {
|
|
7222
7169
|
"filename": "src/providers/ecs.ts",
|
|
7223
|
-
"line":
|
|
7170
|
+
"line": 127
|
|
7224
7171
|
},
|
|
7225
7172
|
"name": "minInstances",
|
|
7226
7173
|
"optional": true,
|
|
@@ -7261,7 +7208,7 @@
|
|
|
7261
7208
|
"immutable": true,
|
|
7262
7209
|
"locationInModule": {
|
|
7263
7210
|
"filename": "src/providers/ecs.ts",
|
|
7264
|
-
"line":
|
|
7211
|
+
"line": 158
|
|
7265
7212
|
},
|
|
7266
7213
|
"name": "spot",
|
|
7267
7214
|
"optional": true,
|
|
@@ -7278,7 +7225,7 @@
|
|
|
7278
7225
|
"immutable": true,
|
|
7279
7226
|
"locationInModule": {
|
|
7280
7227
|
"filename": "src/providers/ecs.ts",
|
|
7281
|
-
"line":
|
|
7228
|
+
"line": 163
|
|
7282
7229
|
},
|
|
7283
7230
|
"name": "spotMaxPrice",
|
|
7284
7231
|
"optional": true,
|
|
@@ -7297,7 +7244,7 @@
|
|
|
7297
7244
|
"immutable": true,
|
|
7298
7245
|
"locationInModule": {
|
|
7299
7246
|
"filename": "src/providers/ecs.ts",
|
|
7300
|
-
"line":
|
|
7247
|
+
"line": 143
|
|
7301
7248
|
},
|
|
7302
7249
|
"name": "storageSize",
|
|
7303
7250
|
"optional": true,
|
|
@@ -7358,7 +7305,7 @@
|
|
|
7358
7305
|
},
|
|
7359
7306
|
"locationInModule": {
|
|
7360
7307
|
"filename": "src/providers/fargate.ts",
|
|
7361
|
-
"line":
|
|
7308
|
+
"line": 362
|
|
7362
7309
|
},
|
|
7363
7310
|
"parameters": [
|
|
7364
7311
|
{
|
|
@@ -7385,7 +7332,7 @@
|
|
|
7385
7332
|
"kind": "class",
|
|
7386
7333
|
"locationInModule": {
|
|
7387
7334
|
"filename": "src/providers/fargate.ts",
|
|
7388
|
-
"line":
|
|
7335
|
+
"line": 523
|
|
7389
7336
|
},
|
|
7390
7337
|
"name": "FargateRunner",
|
|
7391
7338
|
"symbolId": "src/providers/fargate:FargateRunner"
|
|
@@ -7405,7 +7352,7 @@
|
|
|
7405
7352
|
},
|
|
7406
7353
|
"locationInModule": {
|
|
7407
7354
|
"filename": "src/providers/fargate.ts",
|
|
7408
|
-
"line":
|
|
7355
|
+
"line": 362
|
|
7409
7356
|
},
|
|
7410
7357
|
"parameters": [
|
|
7411
7358
|
{
|
|
@@ -7477,45 +7424,6 @@
|
|
|
7477
7424
|
},
|
|
7478
7425
|
"static": true
|
|
7479
7426
|
},
|
|
7480
|
-
{
|
|
7481
|
-
"docs": {
|
|
7482
|
-
"stability": "experimental"
|
|
7483
|
-
},
|
|
7484
|
-
"locationInModule": {
|
|
7485
|
-
"filename": "src/providers/common.ts",
|
|
7486
|
-
"line": 474
|
|
7487
|
-
},
|
|
7488
|
-
"name": "addRetry",
|
|
7489
|
-
"parameters": [
|
|
7490
|
-
{
|
|
7491
|
-
"name": "task",
|
|
7492
|
-
"type": {
|
|
7493
|
-
"union": {
|
|
7494
|
-
"types": [
|
|
7495
|
-
{
|
|
7496
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.TaskStateBase"
|
|
7497
|
-
},
|
|
7498
|
-
{
|
|
7499
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.Parallel"
|
|
7500
|
-
}
|
|
7501
|
-
]
|
|
7502
|
-
}
|
|
7503
|
-
}
|
|
7504
|
-
},
|
|
7505
|
-
{
|
|
7506
|
-
"name": "errors",
|
|
7507
|
-
"type": {
|
|
7508
|
-
"collection": {
|
|
7509
|
-
"elementtype": {
|
|
7510
|
-
"primitive": "string"
|
|
7511
|
-
},
|
|
7512
|
-
"kind": "array"
|
|
7513
|
-
}
|
|
7514
|
-
}
|
|
7515
|
-
}
|
|
7516
|
-
],
|
|
7517
|
-
"protected": true
|
|
7518
|
-
},
|
|
7519
7427
|
{
|
|
7520
7428
|
"docs": {
|
|
7521
7429
|
"remarks": "Called by GithubRunners and shouldn't be called manually.",
|
|
@@ -7524,7 +7432,7 @@
|
|
|
7524
7432
|
},
|
|
7525
7433
|
"locationInModule": {
|
|
7526
7434
|
"filename": "src/providers/fargate.ts",
|
|
7527
|
-
"line":
|
|
7435
|
+
"line": 446
|
|
7528
7436
|
},
|
|
7529
7437
|
"name": "getStepFunctionTask",
|
|
7530
7438
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7553,7 +7461,7 @@
|
|
|
7553
7461
|
},
|
|
7554
7462
|
"locationInModule": {
|
|
7555
7463
|
"filename": "src/providers/fargate.ts",
|
|
7556
|
-
"line":
|
|
7464
|
+
"line": 498
|
|
7557
7465
|
},
|
|
7558
7466
|
"name": "grantStateMachine",
|
|
7559
7467
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7622,7 +7530,7 @@
|
|
|
7622
7530
|
},
|
|
7623
7531
|
"locationInModule": {
|
|
7624
7532
|
"filename": "src/providers/fargate.ts",
|
|
7625
|
-
"line":
|
|
7533
|
+
"line": 501
|
|
7626
7534
|
},
|
|
7627
7535
|
"name": "status",
|
|
7628
7536
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7812,6 +7720,27 @@
|
|
|
7812
7720
|
"fqn": "aws-cdk-lib.aws_logs.ILogGroup"
|
|
7813
7721
|
}
|
|
7814
7722
|
},
|
|
7723
|
+
{
|
|
7724
|
+
"docs": {
|
|
7725
|
+
"stability": "experimental",
|
|
7726
|
+
"summary": "List of step functions errors that should be retried."
|
|
7727
|
+
},
|
|
7728
|
+
"immutable": true,
|
|
7729
|
+
"locationInModule": {
|
|
7730
|
+
"filename": "src/providers/fargate.ts",
|
|
7731
|
+
"line": 354
|
|
7732
|
+
},
|
|
7733
|
+
"name": "retryableErrors",
|
|
7734
|
+
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
7735
|
+
"type": {
|
|
7736
|
+
"collection": {
|
|
7737
|
+
"elementtype": {
|
|
7738
|
+
"primitive": "string"
|
|
7739
|
+
},
|
|
7740
|
+
"kind": "array"
|
|
7741
|
+
}
|
|
7742
|
+
}
|
|
7743
|
+
},
|
|
7815
7744
|
{
|
|
7816
7745
|
"docs": {
|
|
7817
7746
|
"stability": "experimental",
|
|
@@ -8166,7 +8095,7 @@
|
|
|
8166
8095
|
},
|
|
8167
8096
|
"locationInModule": {
|
|
8168
8097
|
"filename": "src/runner.ts",
|
|
8169
|
-
"line":
|
|
8098
|
+
"line": 246
|
|
8170
8099
|
},
|
|
8171
8100
|
"parameters": [
|
|
8172
8101
|
{
|
|
@@ -8193,7 +8122,7 @@
|
|
|
8193
8122
|
"kind": "class",
|
|
8194
8123
|
"locationInModule": {
|
|
8195
8124
|
"filename": "src/runner.ts",
|
|
8196
|
-
"line":
|
|
8125
|
+
"line": 227
|
|
8197
8126
|
},
|
|
8198
8127
|
"methods": [
|
|
8199
8128
|
{
|
|
@@ -8204,7 +8133,7 @@
|
|
|
8204
8133
|
},
|
|
8205
8134
|
"locationInModule": {
|
|
8206
8135
|
"filename": "src/runner.ts",
|
|
8207
|
-
"line":
|
|
8136
|
+
"line": 696
|
|
8208
8137
|
},
|
|
8209
8138
|
"name": "failedImageBuildsTopic",
|
|
8210
8139
|
"returns": {
|
|
@@ -8221,7 +8150,7 @@
|
|
|
8221
8150
|
},
|
|
8222
8151
|
"locationInModule": {
|
|
8223
8152
|
"filename": "src/runner.ts",
|
|
8224
|
-
"line":
|
|
8153
|
+
"line": 678
|
|
8225
8154
|
},
|
|
8226
8155
|
"name": "metricFailed",
|
|
8227
8156
|
"parameters": [
|
|
@@ -8247,7 +8176,7 @@
|
|
|
8247
8176
|
},
|
|
8248
8177
|
"locationInModule": {
|
|
8249
8178
|
"filename": "src/runner.ts",
|
|
8250
|
-
"line":
|
|
8179
|
+
"line": 623
|
|
8251
8180
|
},
|
|
8252
8181
|
"name": "metricJobCompleted",
|
|
8253
8182
|
"parameters": [
|
|
@@ -8273,7 +8202,7 @@
|
|
|
8273
8202
|
},
|
|
8274
8203
|
"locationInModule": {
|
|
8275
8204
|
"filename": "src/runner.ts",
|
|
8276
|
-
"line":
|
|
8205
|
+
"line": 669
|
|
8277
8206
|
},
|
|
8278
8207
|
"name": "metricSucceeded",
|
|
8279
8208
|
"parameters": [
|
|
@@ -8299,7 +8228,7 @@
|
|
|
8299
8228
|
},
|
|
8300
8229
|
"locationInModule": {
|
|
8301
8230
|
"filename": "src/runner.ts",
|
|
8302
|
-
"line":
|
|
8231
|
+
"line": 685
|
|
8303
8232
|
},
|
|
8304
8233
|
"name": "metricTime",
|
|
8305
8234
|
"parameters": [
|
|
@@ -8328,7 +8257,7 @@
|
|
|
8328
8257
|
"immutable": true,
|
|
8329
8258
|
"locationInModule": {
|
|
8330
8259
|
"filename": "src/runner.ts",
|
|
8331
|
-
"line":
|
|
8260
|
+
"line": 231
|
|
8332
8261
|
},
|
|
8333
8262
|
"name": "providers",
|
|
8334
8263
|
"type": {
|
|
@@ -8348,7 +8277,7 @@
|
|
|
8348
8277
|
"immutable": true,
|
|
8349
8278
|
"locationInModule": {
|
|
8350
8279
|
"filename": "src/runner.ts",
|
|
8351
|
-
"line":
|
|
8280
|
+
"line": 236
|
|
8352
8281
|
},
|
|
8353
8282
|
"name": "secrets",
|
|
8354
8283
|
"type": {
|
|
@@ -8362,7 +8291,7 @@
|
|
|
8362
8291
|
"immutable": true,
|
|
8363
8292
|
"locationInModule": {
|
|
8364
8293
|
"filename": "src/runner.ts",
|
|
8365
|
-
"line":
|
|
8294
|
+
"line": 246
|
|
8366
8295
|
},
|
|
8367
8296
|
"name": "props",
|
|
8368
8297
|
"optional": true,
|
|
@@ -8384,7 +8313,7 @@
|
|
|
8384
8313
|
"kind": "interface",
|
|
8385
8314
|
"locationInModule": {
|
|
8386
8315
|
"filename": "src/runner.ts",
|
|
8387
|
-
"line":
|
|
8316
|
+
"line": 38
|
|
8388
8317
|
},
|
|
8389
8318
|
"name": "GitHubRunnersProps",
|
|
8390
8319
|
"properties": [
|
|
@@ -8399,7 +8328,7 @@
|
|
|
8399
8328
|
"immutable": true,
|
|
8400
8329
|
"locationInModule": {
|
|
8401
8330
|
"filename": "src/runner.ts",
|
|
8402
|
-
"line":
|
|
8331
|
+
"line": 70
|
|
8403
8332
|
},
|
|
8404
8333
|
"name": "allowPublicSubnet",
|
|
8405
8334
|
"optional": true,
|
|
@@ -8417,7 +8346,7 @@
|
|
|
8417
8346
|
"immutable": true,
|
|
8418
8347
|
"locationInModule": {
|
|
8419
8348
|
"filename": "src/runner.ts",
|
|
8420
|
-
"line":
|
|
8349
|
+
"line": 100
|
|
8421
8350
|
},
|
|
8422
8351
|
"name": "extraCertificates",
|
|
8423
8352
|
"optional": true,
|
|
@@ -8436,7 +8365,7 @@
|
|
|
8436
8365
|
"immutable": true,
|
|
8437
8366
|
"locationInModule": {
|
|
8438
8367
|
"filename": "src/runner.ts",
|
|
8439
|
-
"line":
|
|
8368
|
+
"line": 107
|
|
8440
8369
|
},
|
|
8441
8370
|
"name": "idleTimeout",
|
|
8442
8371
|
"optional": true,
|
|
@@ -8454,7 +8383,7 @@
|
|
|
8454
8383
|
"immutable": true,
|
|
8455
8384
|
"locationInModule": {
|
|
8456
8385
|
"filename": "src/runner.ts",
|
|
8457
|
-
"line":
|
|
8386
|
+
"line": 114
|
|
8458
8387
|
},
|
|
8459
8388
|
"name": "logOptions",
|
|
8460
8389
|
"optional": true,
|
|
@@ -8473,7 +8402,7 @@
|
|
|
8473
8402
|
"immutable": true,
|
|
8474
8403
|
"locationInModule": {
|
|
8475
8404
|
"filename": "src/runner.ts",
|
|
8476
|
-
"line":
|
|
8405
|
+
"line": 44
|
|
8477
8406
|
},
|
|
8478
8407
|
"name": "providers",
|
|
8479
8408
|
"optional": true,
|
|
@@ -8486,6 +8415,25 @@
|
|
|
8486
8415
|
}
|
|
8487
8416
|
}
|
|
8488
8417
|
},
|
|
8418
|
+
{
|
|
8419
|
+
"abstract": true,
|
|
8420
|
+
"docs": {
|
|
8421
|
+
"default": "retry 23 times up to about 24 hours",
|
|
8422
|
+
"remarks": "GitHub jobs time out after not being able to get a runner for 24 hours. You should not retry for more than 24 hours.\n\nTotal time spent waiting can be calculated with interval * (backoffRate ^ maxAttempts) / (backoffRate - 1).",
|
|
8423
|
+
"stability": "experimental",
|
|
8424
|
+
"summary": "Options to retry operation in case of failure like missing capacity, or API quota issues."
|
|
8425
|
+
},
|
|
8426
|
+
"immutable": true,
|
|
8427
|
+
"locationInModule": {
|
|
8428
|
+
"filename": "src/runner.ts",
|
|
8429
|
+
"line": 151
|
|
8430
|
+
},
|
|
8431
|
+
"name": "retryOptions",
|
|
8432
|
+
"optional": true,
|
|
8433
|
+
"type": {
|
|
8434
|
+
"fqn": "@cloudsnorkel/cdk-github-runners.ProviderRetryOptions"
|
|
8435
|
+
}
|
|
8436
|
+
},
|
|
8489
8437
|
{
|
|
8490
8438
|
"abstract": true,
|
|
8491
8439
|
"docs": {
|
|
@@ -8496,7 +8444,7 @@
|
|
|
8496
8444
|
"immutable": true,
|
|
8497
8445
|
"locationInModule": {
|
|
8498
8446
|
"filename": "src/runner.ts",
|
|
8499
|
-
"line":
|
|
8447
|
+
"line": 75
|
|
8500
8448
|
},
|
|
8501
8449
|
"name": "securityGroup",
|
|
8502
8450
|
"optional": true,
|
|
@@ -8515,7 +8463,7 @@
|
|
|
8515
8463
|
"immutable": true,
|
|
8516
8464
|
"locationInModule": {
|
|
8517
8465
|
"filename": "src/runner.ts",
|
|
8518
|
-
"line":
|
|
8466
|
+
"line": 121
|
|
8519
8467
|
},
|
|
8520
8468
|
"name": "setupAccess",
|
|
8521
8469
|
"optional": true,
|
|
@@ -8534,7 +8482,7 @@
|
|
|
8534
8482
|
"immutable": true,
|
|
8535
8483
|
"locationInModule": {
|
|
8536
8484
|
"filename": "src/runner.ts",
|
|
8537
|
-
"line":
|
|
8485
|
+
"line": 140
|
|
8538
8486
|
},
|
|
8539
8487
|
"name": "statusAccess",
|
|
8540
8488
|
"optional": true,
|
|
@@ -8552,7 +8500,7 @@
|
|
|
8552
8500
|
"immutable": true,
|
|
8553
8501
|
"locationInModule": {
|
|
8554
8502
|
"filename": "src/runner.ts",
|
|
8555
|
-
"line":
|
|
8503
|
+
"line": 58
|
|
8556
8504
|
},
|
|
8557
8505
|
"name": "vpc",
|
|
8558
8506
|
"optional": true,
|
|
@@ -8570,7 +8518,7 @@
|
|
|
8570
8518
|
"immutable": true,
|
|
8571
8519
|
"locationInModule": {
|
|
8572
8520
|
"filename": "src/runner.ts",
|
|
8573
|
-
"line":
|
|
8521
|
+
"line": 63
|
|
8574
8522
|
},
|
|
8575
8523
|
"name": "vpcSubnets",
|
|
8576
8524
|
"optional": true,
|
|
@@ -8582,14 +8530,14 @@
|
|
|
8582
8530
|
"abstract": true,
|
|
8583
8531
|
"docs": {
|
|
8584
8532
|
"default": "LambdaAccess.lambdaUrl()",
|
|
8585
|
-
"remarks": "This function is called by GitHub when a new workflow job is scheduled. For an extra layer of security, you can set this to `LambdaAccess.apiGateway({ allowedIps: LambdaAccess.githubWebhookIps() })`.\n\nYou can also set this to `LambdaAccess.
|
|
8533
|
+
"remarks": "This function is called by GitHub when a new workflow job is scheduled. For an extra layer of security, you can set this to `LambdaAccess.apiGateway({ allowedIps: LambdaAccess.githubWebhookIps() })`.\n\nYou can also set this to `LambdaAccess.apiGateway({allowedVpc: vpc, allowedIps: ['GHES.IP.ADDRESS/32']})` if your GitHub Enterprise Server is hosted in a VPC. This will create an API Gateway endpoint that's only accessible from within the VPC.\n\n*WARNING*: changing access type may change the URL. When the URL changes, you must update GitHub as well.",
|
|
8586
8534
|
"stability": "experimental",
|
|
8587
8535
|
"summary": "Access configuration for the webhook function."
|
|
8588
8536
|
},
|
|
8589
8537
|
"immutable": true,
|
|
8590
8538
|
"locationInModule": {
|
|
8591
8539
|
"filename": "src/runner.ts",
|
|
8592
|
-
"line":
|
|
8540
|
+
"line": 133
|
|
8593
8541
|
},
|
|
8594
8542
|
"name": "webhookAccess",
|
|
8595
8543
|
"optional": true,
|
|
@@ -8610,7 +8558,7 @@
|
|
|
8610
8558
|
"kind": "interface",
|
|
8611
8559
|
"locationInModule": {
|
|
8612
8560
|
"filename": "src/providers/common.ts",
|
|
8613
|
-
"line":
|
|
8561
|
+
"line": 343
|
|
8614
8562
|
},
|
|
8615
8563
|
"name": "IRunnerAmiStatus",
|
|
8616
8564
|
"properties": [
|
|
@@ -8623,7 +8571,7 @@
|
|
|
8623
8571
|
"immutable": true,
|
|
8624
8572
|
"locationInModule": {
|
|
8625
8573
|
"filename": "src/providers/common.ts",
|
|
8626
|
-
"line":
|
|
8574
|
+
"line": 347
|
|
8627
8575
|
},
|
|
8628
8576
|
"name": "launchTemplate",
|
|
8629
8577
|
"type": {
|
|
@@ -8639,7 +8587,7 @@
|
|
|
8639
8587
|
"immutable": true,
|
|
8640
8588
|
"locationInModule": {
|
|
8641
8589
|
"filename": "src/providers/common.ts",
|
|
8642
|
-
"line":
|
|
8590
|
+
"line": 352
|
|
8643
8591
|
},
|
|
8644
8592
|
"name": "amiBuilderLogGroup",
|
|
8645
8593
|
"optional": true,
|
|
@@ -8714,7 +8662,7 @@
|
|
|
8714
8662
|
"kind": "interface",
|
|
8715
8663
|
"locationInModule": {
|
|
8716
8664
|
"filename": "src/providers/common.ts",
|
|
8717
|
-
"line":
|
|
8665
|
+
"line": 323
|
|
8718
8666
|
},
|
|
8719
8667
|
"name": "IRunnerImageStatus",
|
|
8720
8668
|
"properties": [
|
|
@@ -8727,7 +8675,7 @@
|
|
|
8727
8675
|
"immutable": true,
|
|
8728
8676
|
"locationInModule": {
|
|
8729
8677
|
"filename": "src/providers/common.ts",
|
|
8730
|
-
"line":
|
|
8678
|
+
"line": 327
|
|
8731
8679
|
},
|
|
8732
8680
|
"name": "imageRepository",
|
|
8733
8681
|
"type": {
|
|
@@ -8743,7 +8691,7 @@
|
|
|
8743
8691
|
"immutable": true,
|
|
8744
8692
|
"locationInModule": {
|
|
8745
8693
|
"filename": "src/providers/common.ts",
|
|
8746
|
-
"line":
|
|
8694
|
+
"line": 332
|
|
8747
8695
|
},
|
|
8748
8696
|
"name": "imageTag",
|
|
8749
8697
|
"type": {
|
|
@@ -8759,7 +8707,7 @@
|
|
|
8759
8707
|
"immutable": true,
|
|
8760
8708
|
"locationInModule": {
|
|
8761
8709
|
"filename": "src/providers/common.ts",
|
|
8762
|
-
"line":
|
|
8710
|
+
"line": 337
|
|
8763
8711
|
},
|
|
8764
8712
|
"name": "imageBuilderLogGroup",
|
|
8765
8713
|
"optional": true,
|
|
@@ -8786,7 +8734,7 @@
|
|
|
8786
8734
|
"kind": "interface",
|
|
8787
8735
|
"locationInModule": {
|
|
8788
8736
|
"filename": "src/providers/common.ts",
|
|
8789
|
-
"line":
|
|
8737
|
+
"line": 403
|
|
8790
8738
|
},
|
|
8791
8739
|
"methods": [
|
|
8792
8740
|
{
|
|
@@ -8798,7 +8746,7 @@
|
|
|
8798
8746
|
},
|
|
8799
8747
|
"locationInModule": {
|
|
8800
8748
|
"filename": "src/providers/common.ts",
|
|
8801
|
-
"line":
|
|
8749
|
+
"line": 432
|
|
8802
8750
|
},
|
|
8803
8751
|
"name": "getStepFunctionTask",
|
|
8804
8752
|
"parameters": [
|
|
@@ -8827,7 +8775,7 @@
|
|
|
8827
8775
|
},
|
|
8828
8776
|
"locationInModule": {
|
|
8829
8777
|
"filename": "src/providers/common.ts",
|
|
8830
|
-
"line":
|
|
8778
|
+
"line": 440
|
|
8831
8779
|
},
|
|
8832
8780
|
"name": "grantStateMachine",
|
|
8833
8781
|
"parameters": [
|
|
@@ -8851,7 +8799,7 @@
|
|
|
8851
8799
|
},
|
|
8852
8800
|
"locationInModule": {
|
|
8853
8801
|
"filename": "src/providers/common.ts",
|
|
8854
|
-
"line":
|
|
8802
|
+
"line": 447
|
|
8855
8803
|
},
|
|
8856
8804
|
"name": "status",
|
|
8857
8805
|
"parameters": [
|
|
@@ -8884,7 +8832,7 @@
|
|
|
8884
8832
|
"immutable": true,
|
|
8885
8833
|
"locationInModule": {
|
|
8886
8834
|
"filename": "src/providers/common.ts",
|
|
8887
|
-
"line":
|
|
8835
|
+
"line": 411
|
|
8888
8836
|
},
|
|
8889
8837
|
"name": "labels",
|
|
8890
8838
|
"type": {
|
|
@@ -8906,12 +8854,33 @@
|
|
|
8906
8854
|
"immutable": true,
|
|
8907
8855
|
"locationInModule": {
|
|
8908
8856
|
"filename": "src/providers/common.ts",
|
|
8909
|
-
"line":
|
|
8857
|
+
"line": 418
|
|
8910
8858
|
},
|
|
8911
8859
|
"name": "logGroup",
|
|
8912
8860
|
"type": {
|
|
8913
8861
|
"fqn": "aws-cdk-lib.aws_logs.ILogGroup"
|
|
8914
8862
|
}
|
|
8863
|
+
},
|
|
8864
|
+
{
|
|
8865
|
+
"abstract": true,
|
|
8866
|
+
"docs": {
|
|
8867
|
+
"stability": "experimental",
|
|
8868
|
+
"summary": "List of step functions errors that should be retried."
|
|
8869
|
+
},
|
|
8870
|
+
"immutable": true,
|
|
8871
|
+
"locationInModule": {
|
|
8872
|
+
"filename": "src/providers/common.ts",
|
|
8873
|
+
"line": 423
|
|
8874
|
+
},
|
|
8875
|
+
"name": "retryableErrors",
|
|
8876
|
+
"type": {
|
|
8877
|
+
"collection": {
|
|
8878
|
+
"elementtype": {
|
|
8879
|
+
"primitive": "string"
|
|
8880
|
+
},
|
|
8881
|
+
"kind": "array"
|
|
8882
|
+
}
|
|
8883
|
+
}
|
|
8915
8884
|
}
|
|
8916
8885
|
],
|
|
8917
8886
|
"symbolId": "src/providers/common:IRunnerProvider"
|
|
@@ -8926,7 +8895,7 @@
|
|
|
8926
8895
|
"kind": "interface",
|
|
8927
8896
|
"locationInModule": {
|
|
8928
8897
|
"filename": "src/providers/common.ts",
|
|
8929
|
-
"line":
|
|
8898
|
+
"line": 358
|
|
8930
8899
|
},
|
|
8931
8900
|
"name": "IRunnerProviderStatus",
|
|
8932
8901
|
"properties": [
|
|
@@ -8939,7 +8908,7 @@
|
|
|
8939
8908
|
"immutable": true,
|
|
8940
8909
|
"locationInModule": {
|
|
8941
8910
|
"filename": "src/providers/common.ts",
|
|
8942
|
-
"line":
|
|
8911
|
+
"line": 367
|
|
8943
8912
|
},
|
|
8944
8913
|
"name": "labels",
|
|
8945
8914
|
"type": {
|
|
@@ -8960,7 +8929,7 @@
|
|
|
8960
8929
|
"immutable": true,
|
|
8961
8930
|
"locationInModule": {
|
|
8962
8931
|
"filename": "src/providers/common.ts",
|
|
8963
|
-
"line":
|
|
8932
|
+
"line": 362
|
|
8964
8933
|
},
|
|
8965
8934
|
"name": "type",
|
|
8966
8935
|
"type": {
|
|
@@ -8976,7 +8945,7 @@
|
|
|
8976
8945
|
"immutable": true,
|
|
8977
8946
|
"locationInModule": {
|
|
8978
8947
|
"filename": "src/providers/common.ts",
|
|
8979
|
-
"line":
|
|
8948
|
+
"line": 392
|
|
8980
8949
|
},
|
|
8981
8950
|
"name": "ami",
|
|
8982
8951
|
"optional": true,
|
|
@@ -8993,7 +8962,7 @@
|
|
|
8993
8962
|
"immutable": true,
|
|
8994
8963
|
"locationInModule": {
|
|
8995
8964
|
"filename": "src/providers/common.ts",
|
|
8996
|
-
"line":
|
|
8965
|
+
"line": 387
|
|
8997
8966
|
},
|
|
8998
8967
|
"name": "image",
|
|
8999
8968
|
"optional": true,
|
|
@@ -9010,7 +8979,7 @@
|
|
|
9010
8979
|
"immutable": true,
|
|
9011
8980
|
"locationInModule": {
|
|
9012
8981
|
"filename": "src/providers/common.ts",
|
|
9013
|
-
"line":
|
|
8982
|
+
"line": 397
|
|
9014
8983
|
},
|
|
9015
8984
|
"name": "logGroup",
|
|
9016
8985
|
"optional": true,
|
|
@@ -9027,7 +8996,7 @@
|
|
|
9027
8996
|
"immutable": true,
|
|
9028
8997
|
"locationInModule": {
|
|
9029
8998
|
"filename": "src/providers/common.ts",
|
|
9030
|
-
"line":
|
|
8999
|
+
"line": 382
|
|
9031
9000
|
},
|
|
9032
9001
|
"name": "roleArn",
|
|
9033
9002
|
"optional": true,
|
|
@@ -9044,7 +9013,7 @@
|
|
|
9044
9013
|
"immutable": true,
|
|
9045
9014
|
"locationInModule": {
|
|
9046
9015
|
"filename": "src/providers/common.ts",
|
|
9047
|
-
"line":
|
|
9016
|
+
"line": 377
|
|
9048
9017
|
},
|
|
9049
9018
|
"name": "securityGroups",
|
|
9050
9019
|
"optional": true,
|
|
@@ -9066,7 +9035,7 @@
|
|
|
9066
9035
|
"immutable": true,
|
|
9067
9036
|
"locationInModule": {
|
|
9068
9037
|
"filename": "src/providers/common.ts",
|
|
9069
|
-
"line":
|
|
9038
|
+
"line": 372
|
|
9070
9039
|
},
|
|
9071
9040
|
"name": "vpcArn",
|
|
9072
9041
|
"optional": true,
|
|
@@ -9448,7 +9417,7 @@
|
|
|
9448
9417
|
"kind": "class",
|
|
9449
9418
|
"locationInModule": {
|
|
9450
9419
|
"filename": "src/access.ts",
|
|
9451
|
-
"line":
|
|
9420
|
+
"line": 46
|
|
9452
9421
|
},
|
|
9453
9422
|
"methods": [
|
|
9454
9423
|
{
|
|
@@ -9459,7 +9428,7 @@
|
|
|
9459
9428
|
},
|
|
9460
9429
|
"locationInModule": {
|
|
9461
9430
|
"filename": "src/access.ts",
|
|
9462
|
-
"line":
|
|
9431
|
+
"line": 78
|
|
9463
9432
|
},
|
|
9464
9433
|
"name": "apiGateway",
|
|
9465
9434
|
"parameters": [
|
|
@@ -9486,7 +9455,7 @@
|
|
|
9486
9455
|
},
|
|
9487
9456
|
"locationInModule": {
|
|
9488
9457
|
"filename": "src/access.ts",
|
|
9489
|
-
"line":
|
|
9458
|
+
"line": 87
|
|
9490
9459
|
},
|
|
9491
9460
|
"name": "githubWebhookIps",
|
|
9492
9461
|
"returns": {
|
|
@@ -9509,7 +9478,7 @@
|
|
|
9509
9478
|
},
|
|
9510
9479
|
"locationInModule": {
|
|
9511
9480
|
"filename": "src/access.ts",
|
|
9512
|
-
"line":
|
|
9481
|
+
"line": 57
|
|
9513
9482
|
},
|
|
9514
9483
|
"name": "lambdaUrl",
|
|
9515
9484
|
"returns": {
|
|
@@ -9527,7 +9496,7 @@
|
|
|
9527
9496
|
},
|
|
9528
9497
|
"locationInModule": {
|
|
9529
9498
|
"filename": "src/access.ts",
|
|
9530
|
-
"line":
|
|
9499
|
+
"line": 50
|
|
9531
9500
|
},
|
|
9532
9501
|
"name": "noAccess",
|
|
9533
9502
|
"returns": {
|
|
@@ -9555,7 +9524,7 @@
|
|
|
9555
9524
|
},
|
|
9556
9525
|
"locationInModule": {
|
|
9557
9526
|
"filename": "src/providers/lambda.ts",
|
|
9558
|
-
"line":
|
|
9527
|
+
"line": 224
|
|
9559
9528
|
},
|
|
9560
9529
|
"parameters": [
|
|
9561
9530
|
{
|
|
@@ -9582,7 +9551,7 @@
|
|
|
9582
9551
|
"kind": "class",
|
|
9583
9552
|
"locationInModule": {
|
|
9584
9553
|
"filename": "src/providers/lambda.ts",
|
|
9585
|
-
"line":
|
|
9554
|
+
"line": 456
|
|
9586
9555
|
},
|
|
9587
9556
|
"name": "LambdaRunner",
|
|
9588
9557
|
"symbolId": "src/providers/lambda:LambdaRunner"
|
|
@@ -9602,7 +9571,7 @@
|
|
|
9602
9571
|
},
|
|
9603
9572
|
"locationInModule": {
|
|
9604
9573
|
"filename": "src/providers/lambda.ts",
|
|
9605
|
-
"line":
|
|
9574
|
+
"line": 224
|
|
9606
9575
|
},
|
|
9607
9576
|
"parameters": [
|
|
9608
9577
|
{
|
|
@@ -9674,45 +9643,6 @@
|
|
|
9674
9643
|
},
|
|
9675
9644
|
"static": true
|
|
9676
9645
|
},
|
|
9677
|
-
{
|
|
9678
|
-
"docs": {
|
|
9679
|
-
"stability": "experimental"
|
|
9680
|
-
},
|
|
9681
|
-
"locationInModule": {
|
|
9682
|
-
"filename": "src/providers/common.ts",
|
|
9683
|
-
"line": 474
|
|
9684
|
-
},
|
|
9685
|
-
"name": "addRetry",
|
|
9686
|
-
"parameters": [
|
|
9687
|
-
{
|
|
9688
|
-
"name": "task",
|
|
9689
|
-
"type": {
|
|
9690
|
-
"union": {
|
|
9691
|
-
"types": [
|
|
9692
|
-
{
|
|
9693
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.TaskStateBase"
|
|
9694
|
-
},
|
|
9695
|
-
{
|
|
9696
|
-
"fqn": "aws-cdk-lib.aws_stepfunctions.Parallel"
|
|
9697
|
-
}
|
|
9698
|
-
]
|
|
9699
|
-
}
|
|
9700
|
-
}
|
|
9701
|
-
},
|
|
9702
|
-
{
|
|
9703
|
-
"name": "errors",
|
|
9704
|
-
"type": {
|
|
9705
|
-
"collection": {
|
|
9706
|
-
"elementtype": {
|
|
9707
|
-
"primitive": "string"
|
|
9708
|
-
},
|
|
9709
|
-
"kind": "array"
|
|
9710
|
-
}
|
|
9711
|
-
}
|
|
9712
|
-
}
|
|
9713
|
-
],
|
|
9714
|
-
"protected": true
|
|
9715
|
-
},
|
|
9716
9646
|
{
|
|
9717
9647
|
"docs": {
|
|
9718
9648
|
"remarks": "Called by GithubRunners and shouldn't be called manually.",
|
|
@@ -9721,7 +9651,7 @@
|
|
|
9721
9651
|
},
|
|
9722
9652
|
"locationInModule": {
|
|
9723
9653
|
"filename": "src/providers/lambda.ts",
|
|
9724
|
-
"line":
|
|
9654
|
+
"line": 312
|
|
9725
9655
|
},
|
|
9726
9656
|
"name": "getStepFunctionTask",
|
|
9727
9657
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -9750,7 +9680,7 @@
|
|
|
9750
9680
|
},
|
|
9751
9681
|
"locationInModule": {
|
|
9752
9682
|
"filename": "src/providers/lambda.ts",
|
|
9753
|
-
"line":
|
|
9683
|
+
"line": 373
|
|
9754
9684
|
},
|
|
9755
9685
|
"name": "grantStateMachine",
|
|
9756
9686
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -9819,7 +9749,7 @@
|
|
|
9819
9749
|
},
|
|
9820
9750
|
"locationInModule": {
|
|
9821
9751
|
"filename": "src/providers/lambda.ts",
|
|
9822
|
-
"line":
|
|
9752
|
+
"line": 376
|
|
9823
9753
|
},
|
|
9824
9754
|
"name": "status",
|
|
9825
9755
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -9886,7 +9816,7 @@
|
|
|
9886
9816
|
"immutable": true,
|
|
9887
9817
|
"locationInModule": {
|
|
9888
9818
|
"filename": "src/providers/lambda.ts",
|
|
9889
|
-
"line":
|
|
9819
|
+
"line": 301
|
|
9890
9820
|
},
|
|
9891
9821
|
"name": "connections",
|
|
9892
9822
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -9978,6 +9908,27 @@
|
|
|
9978
9908
|
"type": {
|
|
9979
9909
|
"fqn": "aws-cdk-lib.aws_logs.ILogGroup"
|
|
9980
9910
|
}
|
|
9911
|
+
},
|
|
9912
|
+
{
|
|
9913
|
+
"docs": {
|
|
9914
|
+
"stability": "experimental",
|
|
9915
|
+
"summary": "List of step functions errors that should be retried."
|
|
9916
|
+
},
|
|
9917
|
+
"immutable": true,
|
|
9918
|
+
"locationInModule": {
|
|
9919
|
+
"filename": "src/providers/lambda.ts",
|
|
9920
|
+
"line": 213
|
|
9921
|
+
},
|
|
9922
|
+
"name": "retryableErrors",
|
|
9923
|
+
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
9924
|
+
"type": {
|
|
9925
|
+
"collection": {
|
|
9926
|
+
"elementtype": {
|
|
9927
|
+
"primitive": "string"
|
|
9928
|
+
},
|
|
9929
|
+
"kind": "array"
|
|
9930
|
+
}
|
|
9931
|
+
}
|
|
9981
9932
|
}
|
|
9982
9933
|
],
|
|
9983
9934
|
"symbolId": "src/providers/lambda:LambdaRunnerProvider"
|
|
@@ -10527,7 +10478,7 @@
|
|
|
10527
10478
|
"kind": "interface",
|
|
10528
10479
|
"locationInModule": {
|
|
10529
10480
|
"filename": "src/runner.ts",
|
|
10530
|
-
"line":
|
|
10481
|
+
"line": 157
|
|
10531
10482
|
},
|
|
10532
10483
|
"name": "LogOptions",
|
|
10533
10484
|
"properties": [
|
|
@@ -10541,7 +10492,7 @@
|
|
|
10541
10492
|
"immutable": true,
|
|
10542
10493
|
"locationInModule": {
|
|
10543
10494
|
"filename": "src/runner.ts",
|
|
10544
|
-
"line":
|
|
10495
|
+
"line": 168
|
|
10545
10496
|
},
|
|
10546
10497
|
"name": "includeExecutionData",
|
|
10547
10498
|
"optional": true,
|
|
@@ -10559,7 +10510,7 @@
|
|
|
10559
10510
|
"immutable": true,
|
|
10560
10511
|
"locationInModule": {
|
|
10561
10512
|
"filename": "src/runner.ts",
|
|
10562
|
-
"line":
|
|
10513
|
+
"line": 175
|
|
10563
10514
|
},
|
|
10564
10515
|
"name": "level",
|
|
10565
10516
|
"optional": true,
|
|
@@ -10576,7 +10527,7 @@
|
|
|
10576
10527
|
"immutable": true,
|
|
10577
10528
|
"locationInModule": {
|
|
10578
10529
|
"filename": "src/runner.ts",
|
|
10579
|
-
"line":
|
|
10530
|
+
"line": 161
|
|
10580
10531
|
},
|
|
10581
10532
|
"name": "logGroupName",
|
|
10582
10533
|
"optional": true,
|
|
@@ -10595,7 +10546,7 @@
|
|
|
10595
10546
|
"immutable": true,
|
|
10596
10547
|
"locationInModule": {
|
|
10597
10548
|
"filename": "src/runner.ts",
|
|
10598
|
-
"line":
|
|
10549
|
+
"line": 184
|
|
10599
10550
|
},
|
|
10600
10551
|
"name": "logRetention",
|
|
10601
10552
|
"optional": true,
|
|
@@ -10771,7 +10722,7 @@
|
|
|
10771
10722
|
"assembly": "@cloudsnorkel/cdk-github-runners",
|
|
10772
10723
|
"datatype": true,
|
|
10773
10724
|
"docs": {
|
|
10774
|
-
"remarks": "The default is to retry
|
|
10725
|
+
"remarks": "The default is to retry 23 times for about 24 hours with increasing interval.",
|
|
10775
10726
|
"stability": "experimental",
|
|
10776
10727
|
"summary": "Retry options for providers."
|
|
10777
10728
|
},
|
|
@@ -10823,7 +10774,7 @@
|
|
|
10823
10774
|
{
|
|
10824
10775
|
"abstract": true,
|
|
10825
10776
|
"docs": {
|
|
10826
|
-
"default": "
|
|
10777
|
+
"default": "23",
|
|
10827
10778
|
"stability": "experimental",
|
|
10828
10779
|
"summary": "How many times to retry."
|
|
10829
10780
|
},
|
|
@@ -12244,14 +12195,13 @@
|
|
|
12244
12195
|
{
|
|
12245
12196
|
"abstract": true,
|
|
12246
12197
|
"docs": {
|
|
12247
|
-
"
|
|
12248
|
-
"stability": "
|
|
12249
|
-
"summary": "Options to retry operation in case of failure like missing capacity, or API quota issues."
|
|
12198
|
+
"deprecated": "use {@link retryOptions } on {@link GitHubRunners } instead",
|
|
12199
|
+
"stability": "deprecated"
|
|
12250
12200
|
},
|
|
12251
12201
|
"immutable": true,
|
|
12252
12202
|
"locationInModule": {
|
|
12253
12203
|
"filename": "src/providers/common.ts",
|
|
12254
|
-
"line":
|
|
12204
|
+
"line": 281
|
|
12255
12205
|
},
|
|
12256
12206
|
"name": "retryOptions",
|
|
12257
12207
|
"optional": true,
|
|
@@ -12274,7 +12224,7 @@
|
|
|
12274
12224
|
"kind": "interface",
|
|
12275
12225
|
"locationInModule": {
|
|
12276
12226
|
"filename": "src/providers/common.ts",
|
|
12277
|
-
"line":
|
|
12227
|
+
"line": 293
|
|
12278
12228
|
},
|
|
12279
12229
|
"name": "RunnerRuntimeParameters",
|
|
12280
12230
|
"properties": [
|
|
@@ -12288,7 +12238,7 @@
|
|
|
12288
12238
|
"immutable": true,
|
|
12289
12239
|
"locationInModule": {
|
|
12290
12240
|
"filename": "src/providers/common.ts",
|
|
12291
|
-
"line":
|
|
12241
|
+
"line": 307
|
|
12292
12242
|
},
|
|
12293
12243
|
"name": "githubDomainPath",
|
|
12294
12244
|
"type": {
|
|
@@ -12304,7 +12254,7 @@
|
|
|
12304
12254
|
"immutable": true,
|
|
12305
12255
|
"locationInModule": {
|
|
12306
12256
|
"filename": "src/providers/common.ts",
|
|
12307
|
-
"line":
|
|
12257
|
+
"line": 312
|
|
12308
12258
|
},
|
|
12309
12259
|
"name": "ownerPath",
|
|
12310
12260
|
"type": {
|
|
@@ -12320,7 +12270,7 @@
|
|
|
12320
12270
|
"immutable": true,
|
|
12321
12271
|
"locationInModule": {
|
|
12322
12272
|
"filename": "src/providers/common.ts",
|
|
12323
|
-
"line":
|
|
12273
|
+
"line": 317
|
|
12324
12274
|
},
|
|
12325
12275
|
"name": "repoPath",
|
|
12326
12276
|
"type": {
|
|
@@ -12337,7 +12287,7 @@
|
|
|
12337
12287
|
"immutable": true,
|
|
12338
12288
|
"locationInModule": {
|
|
12339
12289
|
"filename": "src/providers/common.ts",
|
|
12340
|
-
"line":
|
|
12290
|
+
"line": 302
|
|
12341
12291
|
},
|
|
12342
12292
|
"name": "runnerNamePath",
|
|
12343
12293
|
"type": {
|
|
@@ -12353,7 +12303,7 @@
|
|
|
12353
12303
|
"immutable": true,
|
|
12354
12304
|
"locationInModule": {
|
|
12355
12305
|
"filename": "src/providers/common.ts",
|
|
12356
|
-
"line":
|
|
12306
|
+
"line": 297
|
|
12357
12307
|
},
|
|
12358
12308
|
"name": "runnerTokenPath",
|
|
12359
12309
|
"type": {
|
|
@@ -12980,6 +12930,6 @@
|
|
|
12980
12930
|
"symbolId": "src/image-builders/aws-image-builder/deprecated/windows-components:WindowsComponents"
|
|
12981
12931
|
}
|
|
12982
12932
|
},
|
|
12983
|
-
"version": "0.
|
|
12984
|
-
"fingerprint": "
|
|
12933
|
+
"version": "0.10.1",
|
|
12934
|
+
"fingerprint": "YTiz0PdUwgzgjDhmtW1IyMvGisrPShd+Q1H/hFau8Ok="
|
|
12985
12935
|
}
|