@cloudsnorkel/cdk-github-runners 0.9.2 → 0.9.4

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.
Files changed (109) hide show
  1. package/.gitattributes +10 -9
  2. package/.jsii +871 -200
  3. package/API.md +567 -3
  4. package/assets/{lambdas/delete-runner.lambda → delete-runner.lambda}/index.js +96 -56
  5. package/assets/{lambdas → providers}/build-image.lambda/index.js +3 -3
  6. package/assets/{lambdas → providers/image-builders/aws-image-builder}/delete-ami.lambda/index.js +3 -3
  7. package/assets/providers/image-builders/aws-image-builder/filter-failed-builds.lambda/index.js +39 -0
  8. package/assets/{lambdas/aws-image-builder-versioner.lambda → providers/image-builders/aws-image-builder/versioner.lambda}/index.js +98 -58
  9. package/assets/{lambdas → providers}/update-lambda.lambda/index.js +1 -1
  10. package/assets/{lambdas/setup.lambda → setup.lambda}/index.js +4 -4
  11. package/assets/{lambdas/status.lambda → status.lambda}/index.js +96 -56
  12. package/assets/{lambdas/token-retriever.lambda → token-retriever.lambda}/index.js +96 -56
  13. package/assets/{lambdas/webhook-handler.lambda → webhook-handler.lambda}/index.js +3 -3
  14. package/lib/access.js +1 -1
  15. package/lib/{lambdas/delete-runner-function.d.ts → delete-runner-function.d.ts} +1 -1
  16. package/lib/delete-runner-function.js +23 -0
  17. package/lib/delete-runner.lambda.js +69 -0
  18. package/lib/github.js +50 -0
  19. package/lib/lambda-helpers.js +66 -0
  20. package/lib/{lambdas → providers}/build-image-function.d.ts +1 -1
  21. package/lib/providers/build-image-function.js +23 -0
  22. package/lib/providers/build-image.lambda.js +92 -0
  23. package/lib/providers/codebuild.js +2 -2
  24. package/lib/providers/common.js +3 -3
  25. package/lib/providers/ec2.js +2 -2
  26. package/lib/providers/ecs.js +10 -2
  27. package/lib/providers/fargate.js +2 -2
  28. package/lib/providers/image-builders/api.js +1 -1
  29. package/lib/providers/image-builders/aws-image-builder/builder.d.ts +12 -3
  30. package/lib/providers/image-builders/aws-image-builder/builder.js +43 -11
  31. package/lib/providers/image-builders/aws-image-builder/common.js +3 -3
  32. package/lib/{lambdas → providers/image-builders/aws-image-builder}/delete-ami-function.d.ts +1 -1
  33. package/lib/providers/image-builders/aws-image-builder/delete-ami-function.js +23 -0
  34. package/lib/providers/image-builders/aws-image-builder/delete-ami.lambda.js +87 -0
  35. package/lib/providers/image-builders/aws-image-builder/deprecated/ami.d.ts +0 -1
  36. package/lib/providers/image-builders/aws-image-builder/deprecated/ami.js +6 -5
  37. package/lib/providers/image-builders/aws-image-builder/deprecated/common.js +6 -1
  38. package/lib/providers/image-builders/aws-image-builder/deprecated/container.js +3 -3
  39. package/lib/providers/image-builders/aws-image-builder/deprecated/linux-components.js +2 -10
  40. package/lib/providers/image-builders/aws-image-builder/deprecated/windows-components.js +3 -16
  41. package/lib/providers/image-builders/aws-image-builder/filter-failed-builds-function.d.ts +13 -0
  42. package/lib/providers/image-builders/aws-image-builder/filter-failed-builds-function.js +23 -0
  43. package/lib/providers/image-builders/aws-image-builder/filter-failed-builds.lambda.js +18 -0
  44. package/lib/providers/image-builders/aws-image-builder/versioner-function.d.ts +13 -0
  45. package/lib/providers/image-builders/aws-image-builder/versioner-function.js +23 -0
  46. package/lib/providers/image-builders/aws-image-builder/versioner.lambda.js +96 -0
  47. package/lib/providers/image-builders/codebuild-deprecated.js +3 -3
  48. package/lib/providers/image-builders/codebuild.d.ts +11 -2
  49. package/lib/providers/image-builders/codebuild.js +19 -3
  50. package/lib/providers/image-builders/components.js +1 -1
  51. package/lib/providers/image-builders/static.js +1 -1
  52. package/lib/providers/index.d.ts +1 -0
  53. package/lib/providers/index.js +2 -1
  54. package/lib/providers/lambda.js +4 -4
  55. package/lib/{lambdas → providers}/update-lambda-function.d.ts +1 -1
  56. package/lib/providers/update-lambda-function.js +23 -0
  57. package/lib/providers/update-lambda.lambda.js +34 -0
  58. package/lib/runner.d.ts +9 -1
  59. package/lib/runner.js +24 -12
  60. package/lib/secrets.js +1 -1
  61. package/lib/{lambdas/setup-function.d.ts → setup-function.d.ts} +1 -1
  62. package/lib/setup-function.js +23 -0
  63. package/lib/setup.lambda.js +152 -0
  64. package/lib/{lambdas/status-function.d.ts → status-function.d.ts} +1 -1
  65. package/lib/status-function.js +23 -0
  66. package/lib/status.lambda.js +298 -0
  67. package/lib/{lambdas/token-retriever-function.d.ts → token-retriever-function.d.ts} +1 -1
  68. package/lib/token-retriever-function.js +23 -0
  69. package/lib/token-retriever.lambda.js +15 -0
  70. package/lib/{lambdas/webhook-handler-function.d.ts → webhook-handler-function.d.ts} +1 -1
  71. package/lib/webhook-handler-function.js +23 -0
  72. package/lib/webhook-handler.lambda.d.ts +1 -0
  73. package/lib/webhook-handler.lambda.js +116 -0
  74. package/lib/webhook.d.ts +1 -1
  75. package/lib/webhook.js +2 -2
  76. package/package.json +28 -26
  77. package/lib/lambdas/aws-image-builder-versioner-function.d.ts +0 -13
  78. package/lib/lambdas/aws-image-builder-versioner-function.js +0 -23
  79. package/lib/lambdas/aws-image-builder-versioner.lambda.js +0 -96
  80. package/lib/lambdas/build-image-function.js +0 -23
  81. package/lib/lambdas/build-image.lambda.js +0 -92
  82. package/lib/lambdas/delete-ami-function.js +0 -23
  83. package/lib/lambdas/delete-ami.lambda.js +0 -87
  84. package/lib/lambdas/delete-runner-function.js +0 -23
  85. package/lib/lambdas/delete-runner.lambda.js +0 -69
  86. package/lib/lambdas/github.js +0 -50
  87. package/lib/lambdas/helpers.js +0 -66
  88. package/lib/lambdas/setup-function.js +0 -23
  89. package/lib/lambdas/setup.lambda.js +0 -152
  90. package/lib/lambdas/status-function.js +0 -23
  91. package/lib/lambdas/status.lambda.js +0 -298
  92. package/lib/lambdas/token-retriever-function.js +0 -23
  93. package/lib/lambdas/token-retriever.lambda.js +0 -15
  94. package/lib/lambdas/update-lambda-function.js +0 -23
  95. package/lib/lambdas/update-lambda.lambda.js +0 -34
  96. package/lib/lambdas/webhook-handler-function.js +0 -23
  97. package/lib/lambdas/webhook-handler.lambda.js +0 -116
  98. /package/assets/{lambdas/setup.lambda → setup.lambda}/index.html +0 -0
  99. /package/lib/{lambdas/delete-runner.lambda.d.ts → delete-runner.lambda.d.ts} +0 -0
  100. /package/lib/{lambdas/github.d.ts → github.d.ts} +0 -0
  101. /package/lib/{lambdas/helpers.d.ts → lambda-helpers.d.ts} +0 -0
  102. /package/lib/{lambdas → providers}/build-image.lambda.d.ts +0 -0
  103. /package/lib/{lambdas → providers/image-builders/aws-image-builder}/delete-ami.lambda.d.ts +0 -0
  104. /package/lib/{lambdas/setup.lambda.d.ts → providers/image-builders/aws-image-builder/filter-failed-builds.lambda.d.ts} +0 -0
  105. /package/lib/{lambdas/aws-image-builder-versioner.lambda.d.ts → providers/image-builders/aws-image-builder/versioner.lambda.d.ts} +0 -0
  106. /package/lib/{lambdas → providers}/update-lambda.lambda.d.ts +0 -0
  107. /package/lib/{lambdas/status.lambda.d.ts → setup.lambda.d.ts} +0 -0
  108. /package/lib/{lambdas/token-retriever.lambda.d.ts → status.lambda.d.ts} +0 -0
  109. /package/lib/{lambdas/webhook-handler.lambda.d.ts → token-retriever.lambda.d.ts} +0 -0
package/.jsii CHANGED
@@ -3114,7 +3114,7 @@
3114
3114
  "stability": "experimental"
3115
3115
  },
3116
3116
  "homepage": "https://github.com/CloudSnorkel/cdk-github-runners.git",
3117
- "jsiiVersion": "5.0.2 (build fc559a8)",
3117
+ "jsiiVersion": "5.0.4 (build 7b6f232)",
3118
3118
  "keywords": [
3119
3119
  "aws",
3120
3120
  "aws-cdk",
@@ -3174,7 +3174,7 @@
3174
3174
  "base": "constructs.Construct",
3175
3175
  "docs": {
3176
3176
  "deprecated": "use RunnerImageBuilder",
3177
- "remarks": "Builders can be used with {@link Ec2Runner }.\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 'set -ex',\n 'apt-get install p7zip',\n ],\n}));\nnew Ec2Runner(this, 'EC2 provider', {\n label: 'custom-ec2',\n amiBuilder: builder,\n});\n```",
3177
+ "remarks": "Builders can be used with {@link Ec2Runner }.\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 Ec2Runner(this, 'EC2 provider', {\n label: 'custom-ec2',\n amiBuilder: builder,\n});\n```",
3178
3178
  "stability": "deprecated",
3179
3179
  "summary": "An AMI builder that uses AWS Image Builder to build AMIs pre-baked with all the GitHub Actions runner requirements."
3180
3180
  },
@@ -3185,7 +3185,7 @@
3185
3185
  },
3186
3186
  "locationInModule": {
3187
3187
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/ami.ts",
3188
- "line": 156
3188
+ "line": 155
3189
3189
  },
3190
3190
  "parameters": [
3191
3191
  {
@@ -3215,7 +3215,7 @@
3215
3215
  "kind": "class",
3216
3216
  "locationInModule": {
3217
3217
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/ami.ts",
3218
- "line": 153
3218
+ "line": 152
3219
3219
  },
3220
3220
  "methods": [
3221
3221
  {
@@ -3225,7 +3225,7 @@
3225
3225
  },
3226
3226
  "locationInModule": {
3227
3227
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/ami.ts",
3228
- "line": 224
3228
+ "line": 223
3229
3229
  },
3230
3230
  "name": "addComponent",
3231
3231
  "parameters": [
@@ -3245,7 +3245,7 @@
3245
3245
  },
3246
3246
  "locationInModule": {
3247
3247
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/ami.ts",
3248
- "line": 239
3248
+ "line": 238
3249
3249
  },
3250
3250
  "name": "addExtraCertificates",
3251
3251
  "parameters": [
@@ -3267,7 +3267,7 @@
3267
3267
  },
3268
3268
  "locationInModule": {
3269
3269
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/ami.ts",
3270
- "line": 252
3270
+ "line": 251
3271
3271
  },
3272
3272
  "name": "bindAmi",
3273
3273
  "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder",
@@ -3285,7 +3285,7 @@
3285
3285
  },
3286
3286
  "locationInModule": {
3287
3287
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/ami.ts",
3288
- "line": 355
3288
+ "line": 356
3289
3289
  },
3290
3290
  "name": "bindDockerImage",
3291
3291
  "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder",
@@ -3301,7 +3301,7 @@
3301
3301
  },
3302
3302
  "locationInModule": {
3303
3303
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/common.ts",
3304
- "line": 121
3304
+ "line": 126
3305
3305
  },
3306
3306
  "name": "createImage",
3307
3307
  "parameters": [
@@ -3404,7 +3404,7 @@
3404
3404
  },
3405
3405
  "locationInModule": {
3406
3406
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/common.ts",
3407
- "line": 138
3407
+ "line": 143
3408
3408
  },
3409
3409
  "name": "createPipeline",
3410
3410
  "parameters": [
@@ -3456,7 +3456,7 @@
3456
3456
  },
3457
3457
  "locationInModule": {
3458
3458
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/ami.ts",
3459
- "line": 210
3459
+ "line": 209
3460
3460
  },
3461
3461
  "name": "prependComponent",
3462
3462
  "parameters": [
@@ -3494,7 +3494,7 @@
3494
3494
  "immutable": true,
3495
3495
  "locationInModule": {
3496
3496
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/common.ts",
3497
- "line": 168
3497
+ "line": 173
3498
3498
  },
3499
3499
  "name": "connections",
3500
3500
  "type": {
@@ -4071,7 +4071,7 @@
4071
4071
  "kind": "interface",
4072
4072
  "locationInModule": {
4073
4073
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
4074
- "line": 29
4074
+ "line": 32
4075
4075
  },
4076
4076
  "name": "AwsImageBuilderRunnerImageBuilderProps",
4077
4077
  "properties": [
@@ -4085,7 +4085,7 @@
4085
4085
  "immutable": true,
4086
4086
  "locationInModule": {
4087
4087
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
4088
- "line": 35
4088
+ "line": 38
4089
4089
  },
4090
4090
  "name": "instanceType",
4091
4091
  "optional": true,
@@ -4678,7 +4678,7 @@
4678
4678
  "kind": "interface",
4679
4679
  "locationInModule": {
4680
4680
  "filename": "src/providers/image-builders/codebuild.ts",
4681
- "line": 27
4681
+ "line": 28
4682
4682
  },
4683
4683
  "name": "CodeBuildRunnerImageBuilderProps",
4684
4684
  "properties": [
@@ -4693,7 +4693,7 @@
4693
4693
  "immutable": true,
4694
4694
  "locationInModule": {
4695
4695
  "filename": "src/providers/image-builders/codebuild.ts",
4696
- "line": 43
4696
+ "line": 44
4697
4697
  },
4698
4698
  "name": "buildImage",
4699
4699
  "optional": true,
@@ -4712,7 +4712,7 @@
4712
4712
  "immutable": true,
4713
4713
  "locationInModule": {
4714
4714
  "filename": "src/providers/image-builders/codebuild.ts",
4715
- "line": 34
4715
+ "line": 35
4716
4716
  },
4717
4717
  "name": "computeType",
4718
4718
  "optional": true,
@@ -4731,7 +4731,7 @@
4731
4731
  "immutable": true,
4732
4732
  "locationInModule": {
4733
4733
  "filename": "src/providers/image-builders/codebuild.ts",
4734
- "line": 52
4734
+ "line": 53
4735
4735
  },
4736
4736
  "name": "timeout",
4737
4737
  "optional": true,
@@ -5486,7 +5486,7 @@
5486
5486
  },
5487
5487
  "locationInModule": {
5488
5488
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/common.ts",
5489
- "line": 121
5489
+ "line": 126
5490
5490
  },
5491
5491
  "name": "createImage",
5492
5492
  "parameters": [
@@ -5589,7 +5589,7 @@
5589
5589
  },
5590
5590
  "locationInModule": {
5591
5591
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/common.ts",
5592
- "line": 138
5592
+ "line": 143
5593
5593
  },
5594
5594
  "name": "createPipeline",
5595
5595
  "parameters": [
@@ -5679,7 +5679,7 @@
5679
5679
  "immutable": true,
5680
5680
  "locationInModule": {
5681
5681
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/common.ts",
5682
- "line": 168
5682
+ "line": 173
5683
5683
  },
5684
5684
  "name": "connections",
5685
5685
  "type": {
@@ -6335,116 +6335,771 @@
6335
6335
  "filename": "src/providers/ec2.ts",
6336
6336
  "line": 500
6337
6337
  },
6338
- "name": "connections",
6339
- "overrides": "aws-cdk-lib.aws_ec2.IConnectable",
6338
+ "name": "connections",
6339
+ "overrides": "aws-cdk-lib.aws_ec2.IConnectable",
6340
+ "type": {
6341
+ "fqn": "aws-cdk-lib.aws_ec2.Connections"
6342
+ }
6343
+ },
6344
+ {
6345
+ "docs": {
6346
+ "stability": "experimental",
6347
+ "summary": "Grant principal used to add permissions to the runner role."
6348
+ },
6349
+ "immutable": true,
6350
+ "locationInModule": {
6351
+ "filename": "src/providers/ec2.ts",
6352
+ "line": 273
6353
+ },
6354
+ "name": "grantPrincipal",
6355
+ "overrides": "aws-cdk-lib.aws_iam.IGrantable",
6356
+ "type": {
6357
+ "fqn": "aws-cdk-lib.aws_iam.IPrincipal"
6358
+ }
6359
+ },
6360
+ {
6361
+ "docs": {
6362
+ "stability": "experimental",
6363
+ "summary": "Labels associated with this provider."
6364
+ },
6365
+ "immutable": true,
6366
+ "locationInModule": {
6367
+ "filename": "src/providers/ec2.ts",
6368
+ "line": 268
6369
+ },
6370
+ "name": "labels",
6371
+ "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
6372
+ "type": {
6373
+ "collection": {
6374
+ "elementtype": {
6375
+ "primitive": "string"
6376
+ },
6377
+ "kind": "array"
6378
+ }
6379
+ }
6380
+ },
6381
+ {
6382
+ "docs": {
6383
+ "remarks": "Note that this is not the job log, but the runner itself. It will not contain output from the GitHub Action but only metadata on its execution.",
6384
+ "stability": "experimental",
6385
+ "summary": "Log group where provided runners will save their logs."
6386
+ },
6387
+ "immutable": true,
6388
+ "locationInModule": {
6389
+ "filename": "src/providers/ec2.ts",
6390
+ "line": 280
6391
+ },
6392
+ "name": "logGroup",
6393
+ "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
6394
+ "type": {
6395
+ "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
6396
+ }
6397
+ }
6398
+ ],
6399
+ "symbolId": "src/providers/ec2:Ec2RunnerProvider"
6400
+ },
6401
+ "@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps": {
6402
+ "assembly": "@cloudsnorkel/cdk-github-runners",
6403
+ "datatype": true,
6404
+ "docs": {
6405
+ "stability": "experimental",
6406
+ "summary": "Properties for {@link Ec2RunnerProvider} construct."
6407
+ },
6408
+ "fqn": "@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps",
6409
+ "interfaces": [
6410
+ "@cloudsnorkel/cdk-github-runners.RunnerProviderProps"
6411
+ ],
6412
+ "kind": "interface",
6413
+ "locationInModule": {
6414
+ "filename": "src/providers/ec2.ts",
6415
+ "line": 135
6416
+ },
6417
+ "name": "Ec2RunnerProviderProps",
6418
+ "properties": [
6419
+ {
6420
+ "abstract": true,
6421
+ "docs": {
6422
+ "deprecated": "use imageBuilder",
6423
+ "stability": "deprecated"
6424
+ },
6425
+ "immutable": true,
6426
+ "locationInModule": {
6427
+ "filename": "src/providers/ec2.ts",
6428
+ "line": 148
6429
+ },
6430
+ "name": "amiBuilder",
6431
+ "optional": true,
6432
+ "type": {
6433
+ "fqn": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder"
6434
+ }
6435
+ },
6436
+ {
6437
+ "abstract": true,
6438
+ "docs": {
6439
+ "default": "Ec2ProviderProps.imageBuilder()",
6440
+ "remarks": "The image builder determines the OS and architecture of the runner.",
6441
+ "stability": "experimental",
6442
+ "summary": "Runner image builder used to build AMI containing GitHub Runner and all requirements."
6443
+ },
6444
+ "immutable": true,
6445
+ "locationInModule": {
6446
+ "filename": "src/providers/ec2.ts",
6447
+ "line": 143
6448
+ },
6449
+ "name": "imageBuilder",
6450
+ "optional": true,
6451
+ "type": {
6452
+ "fqn": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder"
6453
+ }
6454
+ },
6455
+ {
6456
+ "abstract": true,
6457
+ "docs": {
6458
+ "default": "m5.large",
6459
+ "stability": "experimental",
6460
+ "summary": "Instance type for launched runner instances."
6461
+ },
6462
+ "immutable": true,
6463
+ "locationInModule": {
6464
+ "filename": "src/providers/ec2.ts",
6465
+ "line": 166
6466
+ },
6467
+ "name": "instanceType",
6468
+ "optional": true,
6469
+ "type": {
6470
+ "fqn": "aws-cdk-lib.aws_ec2.InstanceType"
6471
+ }
6472
+ },
6473
+ {
6474
+ "abstract": true,
6475
+ "docs": {
6476
+ "default": "['ec2']",
6477
+ "remarks": "These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for\nbased on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the\njob's labels, this provider will be chosen and spawn a new runner.",
6478
+ "stability": "experimental",
6479
+ "summary": "GitHub Actions labels used for this provider."
6480
+ },
6481
+ "immutable": true,
6482
+ "locationInModule": {
6483
+ "filename": "src/providers/ec2.ts",
6484
+ "line": 159
6485
+ },
6486
+ "name": "labels",
6487
+ "optional": true,
6488
+ "type": {
6489
+ "collection": {
6490
+ "elementtype": {
6491
+ "primitive": "string"
6492
+ },
6493
+ "kind": "array"
6494
+ }
6495
+ }
6496
+ },
6497
+ {
6498
+ "abstract": true,
6499
+ "docs": {
6500
+ "default": "a new security group",
6501
+ "deprecated": "use {@link securityGroups }",
6502
+ "stability": "deprecated",
6503
+ "summary": "Security Group to assign to launched runner instances."
6504
+ },
6505
+ "immutable": true,
6506
+ "locationInModule": {
6507
+ "filename": "src/providers/ec2.ts",
6508
+ "line": 182
6509
+ },
6510
+ "name": "securityGroup",
6511
+ "optional": true,
6512
+ "type": {
6513
+ "fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
6514
+ }
6515
+ },
6516
+ {
6517
+ "abstract": true,
6518
+ "docs": {
6519
+ "default": "a new security group",
6520
+ "stability": "experimental",
6521
+ "summary": "Security groups to assign to launched runner instances."
6522
+ },
6523
+ "immutable": true,
6524
+ "locationInModule": {
6525
+ "filename": "src/providers/ec2.ts",
6526
+ "line": 189
6527
+ },
6528
+ "name": "securityGroups",
6529
+ "optional": true,
6530
+ "type": {
6531
+ "collection": {
6532
+ "elementtype": {
6533
+ "fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
6534
+ },
6535
+ "kind": "array"
6536
+ }
6537
+ }
6538
+ },
6539
+ {
6540
+ "abstract": true,
6541
+ "docs": {
6542
+ "default": "false",
6543
+ "remarks": "Spot instances are cheaper but not always available and can be stopped prematurely.",
6544
+ "stability": "experimental",
6545
+ "summary": "Use spot instances to save money."
6546
+ },
6547
+ "immutable": true,
6548
+ "locationInModule": {
6549
+ "filename": "src/providers/ec2.ts",
6550
+ "line": 219
6551
+ },
6552
+ "name": "spot",
6553
+ "optional": true,
6554
+ "type": {
6555
+ "primitive": "boolean"
6556
+ }
6557
+ },
6558
+ {
6559
+ "abstract": true,
6560
+ "docs": {
6561
+ "default": "no max price (you will pay current spot price)",
6562
+ "stability": "experimental",
6563
+ "summary": "Set a maximum price for spot instances."
6564
+ },
6565
+ "immutable": true,
6566
+ "locationInModule": {
6567
+ "filename": "src/providers/ec2.ts",
6568
+ "line": 226
6569
+ },
6570
+ "name": "spotMaxPrice",
6571
+ "optional": true,
6572
+ "type": {
6573
+ "primitive": "string"
6574
+ }
6575
+ },
6576
+ {
6577
+ "abstract": true,
6578
+ "docs": {
6579
+ "default": "30GB",
6580
+ "remarks": "This modifies the boot volume size and doesn't add any additional volumes.",
6581
+ "stability": "experimental",
6582
+ "summary": "Size of volume available for launched runner instances."
6583
+ },
6584
+ "immutable": true,
6585
+ "locationInModule": {
6586
+ "filename": "src/providers/ec2.ts",
6587
+ "line": 173
6588
+ },
6589
+ "name": "storageSize",
6590
+ "optional": true,
6591
+ "type": {
6592
+ "fqn": "aws-cdk-lib.Size"
6593
+ }
6594
+ },
6595
+ {
6596
+ "abstract": true,
6597
+ "docs": {
6598
+ "default": "default subnet of account's default VPC",
6599
+ "deprecated": "use {@link vpc } and {@link subnetSelection }",
6600
+ "stability": "deprecated",
6601
+ "summary": "Subnet where the runner instances will be launched."
6602
+ },
6603
+ "immutable": true,
6604
+ "locationInModule": {
6605
+ "filename": "src/providers/ec2.ts",
6606
+ "line": 198
6607
+ },
6608
+ "name": "subnet",
6609
+ "optional": true,
6610
+ "type": {
6611
+ "fqn": "aws-cdk-lib.aws_ec2.ISubnet"
6612
+ }
6613
+ },
6614
+ {
6615
+ "abstract": true,
6616
+ "docs": {
6617
+ "default": "default VPC subnet",
6618
+ "remarks": "Only the first matched subnet will be used.",
6619
+ "stability": "experimental",
6620
+ "summary": "Where to place the network interfaces within the VPC."
6621
+ },
6622
+ "immutable": true,
6623
+ "locationInModule": {
6624
+ "filename": "src/providers/ec2.ts",
6625
+ "line": 212
6626
+ },
6627
+ "name": "subnetSelection",
6628
+ "optional": true,
6629
+ "type": {
6630
+ "fqn": "aws-cdk-lib.aws_ec2.SubnetSelection"
6631
+ }
6632
+ },
6633
+ {
6634
+ "abstract": true,
6635
+ "docs": {
6636
+ "default": "default account VPC",
6637
+ "stability": "experimental",
6638
+ "summary": "VPC where runner instances will be launched."
6639
+ },
6640
+ "immutable": true,
6641
+ "locationInModule": {
6642
+ "filename": "src/providers/ec2.ts",
6643
+ "line": 205
6644
+ },
6645
+ "name": "vpc",
6646
+ "optional": true,
6647
+ "type": {
6648
+ "fqn": "aws-cdk-lib.aws_ec2.IVpc"
6649
+ }
6650
+ }
6651
+ ],
6652
+ "symbolId": "src/providers/ec2:Ec2RunnerProviderProps"
6653
+ },
6654
+ "@cloudsnorkel/cdk-github-runners.EcsRunnerProvider": {
6655
+ "assembly": "@cloudsnorkel/cdk-github-runners",
6656
+ "base": "constructs.Construct",
6657
+ "docs": {
6658
+ "remarks": "ECS can be useful when you want more control of the infrastructure running the GitHub Actions Docker containers. You can control the autoscaling\ngroup to scale down to zero during the night and scale up during work hours. This way you can still save money, but have to wait less for\ninfrastructure to spin up.\n\nThis construct is not meant to be used by itself. It should be passed in the providers property for GitHubRunners.",
6659
+ "stability": "experimental",
6660
+ "summary": "GitHub Actions runner provider using ECS on EC2 to execute jobs."
6661
+ },
6662
+ "fqn": "@cloudsnorkel/cdk-github-runners.EcsRunnerProvider",
6663
+ "initializer": {
6664
+ "docs": {
6665
+ "stability": "experimental"
6666
+ },
6667
+ "locationInModule": {
6668
+ "filename": "src/providers/ecs.ts",
6669
+ "line": 296
6670
+ },
6671
+ "parameters": [
6672
+ {
6673
+ "name": "scope",
6674
+ "type": {
6675
+ "fqn": "constructs.Construct"
6676
+ }
6677
+ },
6678
+ {
6679
+ "name": "id",
6680
+ "type": {
6681
+ "primitive": "string"
6682
+ }
6683
+ },
6684
+ {
6685
+ "name": "props",
6686
+ "optional": true,
6687
+ "type": {
6688
+ "fqn": "@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps"
6689
+ }
6690
+ }
6691
+ ]
6692
+ },
6693
+ "interfaces": [
6694
+ "@cloudsnorkel/cdk-github-runners.IRunnerProvider"
6695
+ ],
6696
+ "kind": "class",
6697
+ "locationInModule": {
6698
+ "filename": "src/providers/ecs.ts",
6699
+ "line": 194
6700
+ },
6701
+ "methods": [
6702
+ {
6703
+ "docs": {
6704
+ "remarks": "Included components:\n * `RunnerImageComponent.requiredPackages()`\n * `RunnerImageComponent.runnerUser()`\n * `RunnerImageComponent.git()`\n * `RunnerImageComponent.githubCli()`\n * `RunnerImageComponent.awsCli()`\n * `RunnerImageComponent.dockerInDocker()`\n * `RunnerImageComponent.githubRunner()`",
6705
+ "stability": "experimental",
6706
+ "summary": "Create new image builder that builds ECS specific runner images using Ubuntu."
6707
+ },
6708
+ "locationInModule": {
6709
+ "filename": "src/providers/ecs.ts",
6710
+ "line": 207
6711
+ },
6712
+ "name": "imageBuilder",
6713
+ "parameters": [
6714
+ {
6715
+ "name": "scope",
6716
+ "type": {
6717
+ "fqn": "constructs.Construct"
6718
+ }
6719
+ },
6720
+ {
6721
+ "name": "id",
6722
+ "type": {
6723
+ "primitive": "string"
6724
+ }
6725
+ },
6726
+ {
6727
+ "name": "props",
6728
+ "optional": true,
6729
+ "type": {
6730
+ "fqn": "@cloudsnorkel/cdk-github-runners.RunnerImageBuilderProps"
6731
+ }
6732
+ }
6733
+ ],
6734
+ "returns": {
6735
+ "type": {
6736
+ "fqn": "@cloudsnorkel/cdk-github-runners.RunnerImageBuilder"
6737
+ }
6738
+ },
6739
+ "static": true
6740
+ },
6741
+ {
6742
+ "docs": {
6743
+ "stability": "experimental"
6744
+ },
6745
+ "locationInModule": {
6746
+ "filename": "src/providers/common.ts",
6747
+ "line": 467
6748
+ },
6749
+ "name": "addRetry",
6750
+ "parameters": [
6751
+ {
6752
+ "name": "task",
6753
+ "type": {
6754
+ "union": {
6755
+ "types": [
6756
+ {
6757
+ "fqn": "aws-cdk-lib.aws_stepfunctions.TaskStateBase"
6758
+ },
6759
+ {
6760
+ "fqn": "aws-cdk-lib.aws_stepfunctions.Parallel"
6761
+ }
6762
+ ]
6763
+ }
6764
+ }
6765
+ },
6766
+ {
6767
+ "name": "errors",
6768
+ "type": {
6769
+ "collection": {
6770
+ "elementtype": {
6771
+ "primitive": "string"
6772
+ },
6773
+ "kind": "array"
6774
+ }
6775
+ }
6776
+ }
6777
+ ],
6778
+ "protected": true
6779
+ },
6780
+ {
6781
+ "docs": {
6782
+ "remarks": "Called by GithubRunners and shouldn't be called manually.",
6783
+ "stability": "experimental",
6784
+ "summary": "Generate step function task(s) to start a new runner."
6785
+ },
6786
+ "locationInModule": {
6787
+ "filename": "src/providers/ecs.ts",
6788
+ "line": 453
6789
+ },
6790
+ "name": "getStepFunctionTask",
6791
+ "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
6792
+ "parameters": [
6793
+ {
6794
+ "docs": {
6795
+ "summary": "workflow job details."
6796
+ },
6797
+ "name": "parameters",
6798
+ "type": {
6799
+ "fqn": "@cloudsnorkel/cdk-github-runners.RunnerRuntimeParameters"
6800
+ }
6801
+ }
6802
+ ],
6803
+ "returns": {
6804
+ "type": {
6805
+ "fqn": "aws-cdk-lib.aws_stepfunctions.IChainable"
6806
+ }
6807
+ }
6808
+ },
6809
+ {
6810
+ "docs": {
6811
+ "remarks": "This can be used to add additional policy\nstatements to the state machine role that are not automatically added by the task returned from {@link getStepFunctionTask}.",
6812
+ "stability": "experimental",
6813
+ "summary": "An optional method that modifies the role of the state machine after all the tasks have been generated."
6814
+ },
6815
+ "locationInModule": {
6816
+ "filename": "src/providers/ecs.ts",
6817
+ "line": 502
6818
+ },
6819
+ "name": "grantStateMachine",
6820
+ "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
6821
+ "parameters": [
6822
+ {
6823
+ "name": "_",
6824
+ "type": {
6825
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
6826
+ }
6827
+ }
6828
+ ]
6829
+ },
6830
+ {
6831
+ "docs": {
6832
+ "stability": "experimental"
6833
+ },
6834
+ "locationInModule": {
6835
+ "filename": "src/providers/common.ts",
6836
+ "line": 453
6837
+ },
6838
+ "name": "labelsFromProperties",
6839
+ "parameters": [
6840
+ {
6841
+ "name": "defaultLabel",
6842
+ "type": {
6843
+ "primitive": "string"
6844
+ }
6845
+ },
6846
+ {
6847
+ "name": "propsLabel",
6848
+ "optional": true,
6849
+ "type": {
6850
+ "primitive": "string"
6851
+ }
6852
+ },
6853
+ {
6854
+ "name": "propsLabels",
6855
+ "optional": true,
6856
+ "type": {
6857
+ "collection": {
6858
+ "elementtype": {
6859
+ "primitive": "string"
6860
+ },
6861
+ "kind": "array"
6862
+ }
6863
+ }
6864
+ }
6865
+ ],
6866
+ "protected": true,
6867
+ "returns": {
6868
+ "type": {
6869
+ "collection": {
6870
+ "elementtype": {
6871
+ "primitive": "string"
6872
+ },
6873
+ "kind": "array"
6874
+ }
6875
+ }
6876
+ }
6877
+ },
6878
+ {
6879
+ "docs": {
6880
+ "remarks": "Also gives the status function any needed permissions to query the Docker image or AMI.",
6881
+ "stability": "experimental",
6882
+ "summary": "Return status of the runner provider to be used in the main status function."
6883
+ },
6884
+ "locationInModule": {
6885
+ "filename": "src/providers/ecs.ts",
6886
+ "line": 505
6887
+ },
6888
+ "name": "status",
6889
+ "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
6890
+ "parameters": [
6891
+ {
6892
+ "name": "statusFunctionRole",
6893
+ "type": {
6894
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
6895
+ }
6896
+ }
6897
+ ],
6898
+ "returns": {
6899
+ "type": {
6900
+ "fqn": "@cloudsnorkel/cdk-github-runners.IRunnerProviderStatus"
6901
+ }
6902
+ }
6903
+ }
6904
+ ],
6905
+ "name": "EcsRunnerProvider",
6906
+ "properties": [
6907
+ {
6908
+ "docs": {
6909
+ "stability": "experimental",
6910
+ "summary": "The network connections associated with this resource."
6911
+ },
6912
+ "immutable": true,
6913
+ "locationInModule": {
6914
+ "filename": "src/providers/ecs.ts",
6915
+ "line": 272
6916
+ },
6917
+ "name": "connections",
6918
+ "overrides": "aws-cdk-lib.aws_ec2.IConnectable",
6919
+ "type": {
6920
+ "fqn": "aws-cdk-lib.aws_ec2.Connections"
6921
+ }
6922
+ },
6923
+ {
6924
+ "docs": {
6925
+ "stability": "experimental",
6926
+ "summary": "Grant principal used to add permissions to the runner role."
6927
+ },
6928
+ "immutable": true,
6929
+ "locationInModule": {
6930
+ "filename": "src/providers/ecs.ts",
6931
+ "line": 267
6932
+ },
6933
+ "name": "grantPrincipal",
6934
+ "overrides": "aws-cdk-lib.aws_iam.IGrantable",
6935
+ "type": {
6936
+ "fqn": "aws-cdk-lib.aws_iam.IPrincipal"
6937
+ }
6938
+ },
6939
+ {
6940
+ "docs": {
6941
+ "stability": "experimental",
6942
+ "summary": "Labels associated with this provider."
6943
+ },
6944
+ "immutable": true,
6945
+ "locationInModule": {
6946
+ "filename": "src/providers/ecs.ts",
6947
+ "line": 247
6948
+ },
6949
+ "name": "labels",
6950
+ "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
6951
+ "type": {
6952
+ "collection": {
6953
+ "elementtype": {
6954
+ "primitive": "string"
6955
+ },
6956
+ "kind": "array"
6957
+ }
6958
+ }
6959
+ },
6960
+ {
6961
+ "docs": {
6962
+ "remarks": "Note that this is not the job log, but the runner itself. It will not contain output from the GitHub Action but only metadata on its execution.",
6963
+ "stability": "experimental",
6964
+ "summary": "Log group where provided runners will save their logs."
6965
+ },
6966
+ "immutable": true,
6967
+ "locationInModule": {
6968
+ "filename": "src/providers/ecs.ts",
6969
+ "line": 284
6970
+ },
6971
+ "name": "logGroup",
6972
+ "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
6973
+ "type": {
6974
+ "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
6975
+ }
6976
+ }
6977
+ ],
6978
+ "symbolId": "src/providers/ecs:EcsRunnerProvider"
6979
+ },
6980
+ "@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps": {
6981
+ "assembly": "@cloudsnorkel/cdk-github-runners",
6982
+ "datatype": true,
6983
+ "docs": {
6984
+ "stability": "experimental",
6985
+ "summary": "Properties for EcsRunnerProvider."
6986
+ },
6987
+ "fqn": "@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps",
6988
+ "interfaces": [
6989
+ "@cloudsnorkel/cdk-github-runners.RunnerProviderProps"
6990
+ ],
6991
+ "kind": "interface",
6992
+ "locationInModule": {
6993
+ "filename": "src/providers/ecs.ts",
6994
+ "line": 34
6995
+ },
6996
+ "name": "EcsRunnerProviderProps",
6997
+ "properties": [
6998
+ {
6999
+ "abstract": true,
7000
+ "docs": {
7001
+ "default": "true",
7002
+ "remarks": "Make sure the task will have access to GitHub. A public IP might be required unless you have NAT gateway.",
7003
+ "stability": "experimental",
7004
+ "summary": "Assign public IP to the runner task."
7005
+ },
7006
+ "immutable": true,
7007
+ "locationInModule": {
7008
+ "filename": "src/providers/ecs.ts",
7009
+ "line": 97
7010
+ },
7011
+ "name": "assignPublicIp",
7012
+ "optional": true,
6340
7013
  "type": {
6341
- "fqn": "aws-cdk-lib.aws_ec2.Connections"
7014
+ "primitive": "boolean"
6342
7015
  }
6343
7016
  },
6344
7017
  {
7018
+ "abstract": true,
6345
7019
  "docs": {
7020
+ "default": "new capacity provider",
6346
7021
  "stability": "experimental",
6347
- "summary": "Grant principal used to add permissions to the runner role."
7022
+ "summary": "Existing capacity provider to use."
6348
7023
  },
6349
7024
  "immutable": true,
6350
7025
  "locationInModule": {
6351
- "filename": "src/providers/ec2.ts",
6352
- "line": 273
7026
+ "filename": "src/providers/ecs.ts",
7027
+ "line": 88
6353
7028
  },
6354
- "name": "grantPrincipal",
6355
- "overrides": "aws-cdk-lib.aws_iam.IGrantable",
7029
+ "name": "capacityProvider",
7030
+ "optional": true,
6356
7031
  "type": {
6357
- "fqn": "aws-cdk-lib.aws_iam.IPrincipal"
7032
+ "fqn": "aws-cdk-lib.aws_ecs.AsgCapacityProvider"
6358
7033
  }
6359
7034
  },
6360
7035
  {
7036
+ "abstract": true,
6361
7037
  "docs": {
7038
+ "default": "a new cluster",
6362
7039
  "stability": "experimental",
6363
- "summary": "Labels associated with this provider."
7040
+ "summary": "Existing ECS cluster to use."
6364
7041
  },
6365
7042
  "immutable": true,
6366
7043
  "locationInModule": {
6367
- "filename": "src/providers/ec2.ts",
6368
- "line": 268
7044
+ "filename": "src/providers/ecs.ts",
7045
+ "line": 81
6369
7046
  },
6370
- "name": "labels",
6371
- "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
7047
+ "name": "cluster",
7048
+ "optional": true,
6372
7049
  "type": {
6373
- "collection": {
6374
- "elementtype": {
6375
- "primitive": "string"
6376
- },
6377
- "kind": "array"
6378
- }
7050
+ "fqn": "aws-cdk-lib.aws_ecs.Cluster"
6379
7051
  }
6380
7052
  },
6381
7053
  {
7054
+ "abstract": true,
6382
7055
  "docs": {
6383
- "remarks": "Note that this is not the job log, but the runner itself. It will not contain output from the GitHub Action but only metadata on its execution.",
7056
+ "default": "1024",
7057
+ "remarks": "1024 units is 1 vCPU. Fractions of a vCPU are supported.",
6384
7058
  "stability": "experimental",
6385
- "summary": "Log group where provided runners will save their logs."
7059
+ "summary": "The number of cpu units used by the task."
6386
7060
  },
6387
7061
  "immutable": true,
6388
7062
  "locationInModule": {
6389
- "filename": "src/providers/ec2.ts",
6390
- "line": 280
7063
+ "filename": "src/providers/ecs.ts",
7064
+ "line": 104
6391
7065
  },
6392
- "name": "logGroup",
6393
- "overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
7066
+ "name": "cpu",
7067
+ "optional": true,
6394
7068
  "type": {
6395
- "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
7069
+ "primitive": "number"
6396
7070
  }
6397
- }
6398
- ],
6399
- "symbolId": "src/providers/ec2:Ec2RunnerProvider"
6400
- },
6401
- "@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps": {
6402
- "assembly": "@cloudsnorkel/cdk-github-runners",
6403
- "datatype": true,
6404
- "docs": {
6405
- "stability": "experimental",
6406
- "summary": "Properties for {@link Ec2RunnerProvider} construct."
6407
- },
6408
- "fqn": "@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps",
6409
- "interfaces": [
6410
- "@cloudsnorkel/cdk-github-runners.RunnerProviderProps"
6411
- ],
6412
- "kind": "interface",
6413
- "locationInModule": {
6414
- "filename": "src/providers/ec2.ts",
6415
- "line": 135
6416
- },
6417
- "name": "Ec2RunnerProviderProps",
6418
- "properties": [
7071
+ },
6419
7072
  {
6420
7073
  "abstract": true,
6421
7074
  "docs": {
6422
- "deprecated": "use imageBuilder",
6423
- "stability": "deprecated"
7075
+ "default": "true",
7076
+ "remarks": "Disabling this can\nspeed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times.",
7077
+ "stability": "experimental",
7078
+ "summary": "Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode."
6424
7079
  },
6425
7080
  "immutable": true,
6426
7081
  "locationInModule": {
6427
- "filename": "src/providers/ec2.ts",
6428
- "line": 148
7082
+ "filename": "src/providers/ecs.ts",
7083
+ "line": 149
6429
7084
  },
6430
- "name": "amiBuilder",
7085
+ "name": "dockerInDocker",
6431
7086
  "optional": true,
6432
7087
  "type": {
6433
- "fqn": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder"
7088
+ "primitive": "boolean"
6434
7089
  }
6435
7090
  },
6436
7091
  {
6437
7092
  "abstract": true,
6438
7093
  "docs": {
6439
- "default": "Ec2ProviderProps.imageBuilder()",
7094
+ "default": "EcsRunnerProvider.imageBuilder()",
6440
7095
  "remarks": "The image builder determines the OS and architecture of the runner.",
6441
7096
  "stability": "experimental",
6442
- "summary": "Runner image builder used to build AMI containing GitHub Runner and all requirements."
7097
+ "summary": "Runner image builder used to build Docker images containing GitHub Runner and all requirements."
6443
7098
  },
6444
7099
  "immutable": true,
6445
7100
  "locationInModule": {
6446
- "filename": "src/providers/ec2.ts",
6447
- "line": 143
7101
+ "filename": "src/providers/ecs.ts",
7102
+ "line": 42
6448
7103
  },
6449
7104
  "name": "imageBuilder",
6450
7105
  "optional": true,
@@ -6455,14 +7110,15 @@
6455
7110
  {
6456
7111
  "abstract": true,
6457
7112
  "docs": {
6458
- "default": "m5.large",
7113
+ "default": "m5.large or m6g.large",
7114
+ "remarks": "Only used when creating a new cluster.",
6459
7115
  "stability": "experimental",
6460
- "summary": "Instance type for launched runner instances."
7116
+ "summary": "Instance type of ECS cluster instances."
6461
7117
  },
6462
7118
  "immutable": true,
6463
7119
  "locationInModule": {
6464
- "filename": "src/providers/ec2.ts",
6465
- "line": 166
7120
+ "filename": "src/providers/ecs.ts",
7121
+ "line": 118
6466
7122
  },
6467
7123
  "name": "instanceType",
6468
7124
  "optional": true,
@@ -6473,15 +7129,15 @@
6473
7129
  {
6474
7130
  "abstract": true,
6475
7131
  "docs": {
6476
- "default": "['ec2']",
7132
+ "default": "['ecs']",
6477
7133
  "remarks": "These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for\nbased on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the\njob's labels, this provider will be chosen and spawn a new runner.",
6478
7134
  "stability": "experimental",
6479
7135
  "summary": "GitHub Actions labels used for this provider."
6480
7136
  },
6481
7137
  "immutable": true,
6482
7138
  "locationInModule": {
6483
- "filename": "src/providers/ec2.ts",
6484
- "line": 159
7139
+ "filename": "src/providers/ecs.ts",
7140
+ "line": 53
6485
7141
  },
6486
7142
  "name": "labels",
6487
7143
  "optional": true,
@@ -6497,132 +7153,130 @@
6497
7153
  {
6498
7154
  "abstract": true,
6499
7155
  "docs": {
6500
- "default": "a new security group",
6501
- "deprecated": "use {@link securityGroups }",
6502
- "stability": "deprecated",
6503
- "summary": "Security Group to assign to launched runner instances."
7156
+ "default": "5",
7157
+ "remarks": "Only used when creating a new cluster.",
7158
+ "stability": "experimental",
7159
+ "summary": "The maximum number of instances to run in the cluster."
6504
7160
  },
6505
7161
  "immutable": true,
6506
7162
  "locationInModule": {
6507
- "filename": "src/providers/ec2.ts",
6508
- "line": 182
7163
+ "filename": "src/providers/ecs.ts",
7164
+ "line": 132
6509
7165
  },
6510
- "name": "securityGroup",
7166
+ "name": "maxInstances",
6511
7167
  "optional": true,
6512
7168
  "type": {
6513
- "fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
7169
+ "primitive": "number"
6514
7170
  }
6515
7171
  },
6516
7172
  {
6517
7173
  "abstract": true,
6518
7174
  "docs": {
6519
- "default": "a new security group",
7175
+ "default": "3500",
6520
7176
  "stability": "experimental",
6521
- "summary": "Security groups to assign to launched runner instances."
7177
+ "summary": "The amount (in MiB) of memory used by the task."
6522
7178
  },
6523
7179
  "immutable": true,
6524
7180
  "locationInModule": {
6525
- "filename": "src/providers/ec2.ts",
6526
- "line": 189
7181
+ "filename": "src/providers/ecs.ts",
7182
+ "line": 111
6527
7183
  },
6528
- "name": "securityGroups",
7184
+ "name": "memoryLimitMiB",
6529
7185
  "optional": true,
6530
7186
  "type": {
6531
- "collection": {
6532
- "elementtype": {
6533
- "fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
6534
- },
6535
- "kind": "array"
6536
- }
7187
+ "primitive": "number"
6537
7188
  }
6538
7189
  },
6539
7190
  {
6540
7191
  "abstract": true,
6541
7192
  "docs": {
6542
- "default": "false",
6543
- "remarks": "Spot instances are cheaper but not always available and can be stopped prematurely.",
7193
+ "default": "0",
7194
+ "remarks": "Only used when creating a new cluster.",
6544
7195
  "stability": "experimental",
6545
- "summary": "Use spot instances to save money."
7196
+ "summary": "The minimum number of instances to run in the cluster."
6546
7197
  },
6547
7198
  "immutable": true,
6548
7199
  "locationInModule": {
6549
- "filename": "src/providers/ec2.ts",
6550
- "line": 219
7200
+ "filename": "src/providers/ecs.ts",
7201
+ "line": 125
6551
7202
  },
6552
- "name": "spot",
7203
+ "name": "minInstances",
6553
7204
  "optional": true,
6554
7205
  "type": {
6555
- "primitive": "boolean"
7206
+ "primitive": "number"
6556
7207
  }
6557
7208
  },
6558
7209
  {
6559
7210
  "abstract": true,
6560
7211
  "docs": {
6561
- "default": "no max price (you will pay current spot price)",
7212
+ "default": "a new security group",
6562
7213
  "stability": "experimental",
6563
- "summary": "Set a maximum price for spot instances."
7214
+ "summary": "Security groups to assign to the task."
6564
7215
  },
6565
7216
  "immutable": true,
6566
7217
  "locationInModule": {
6567
- "filename": "src/providers/ec2.ts",
6568
- "line": 226
7218
+ "filename": "src/providers/ecs.ts",
7219
+ "line": 74
6569
7220
  },
6570
- "name": "spotMaxPrice",
7221
+ "name": "securityGroups",
6571
7222
  "optional": true,
6572
7223
  "type": {
6573
- "primitive": "string"
7224
+ "collection": {
7225
+ "elementtype": {
7226
+ "fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
7227
+ },
7228
+ "kind": "array"
7229
+ }
6574
7230
  }
6575
7231
  },
6576
7232
  {
6577
7233
  "abstract": true,
6578
7234
  "docs": {
6579
- "default": "30GB",
6580
- "remarks": "This modifies the boot volume size and doesn't add any additional volumes.",
7235
+ "default": "no spot capacity",
6581
7236
  "stability": "experimental",
6582
- "summary": "Size of volume available for launched runner instances."
7237
+ "summary": "Use spot capacity and set a maximum price for spot instances."
6583
7238
  },
6584
7239
  "immutable": true,
6585
7240
  "locationInModule": {
6586
- "filename": "src/providers/ec2.ts",
6587
- "line": 173
7241
+ "filename": "src/providers/ecs.ts",
7242
+ "line": 156
6588
7243
  },
6589
- "name": "storageSize",
7244
+ "name": "spotMaxPrice",
6590
7245
  "optional": true,
6591
7246
  "type": {
6592
- "fqn": "aws-cdk-lib.Size"
7247
+ "primitive": "string"
6593
7248
  }
6594
7249
  },
6595
7250
  {
6596
7251
  "abstract": true,
6597
7252
  "docs": {
6598
- "default": "default subnet of account's default VPC",
6599
- "deprecated": "use {@link vpc } and {@link subnetSelection }",
6600
- "stability": "deprecated",
6601
- "summary": "Subnet where the runner instances will be launched."
7253
+ "default": "default size for AMI (usually 30GB for Linux and 50GB for Windows)",
7254
+ "remarks": "This modifies the boot volume size and doesn't add any additional volumes.\n\nEach instance can be used by multiple runners, so make sure there is enough space for all of them.",
7255
+ "stability": "experimental",
7256
+ "summary": "Size of volume available for launched cluster instances."
6602
7257
  },
6603
7258
  "immutable": true,
6604
7259
  "locationInModule": {
6605
- "filename": "src/providers/ec2.ts",
6606
- "line": 198
7260
+ "filename": "src/providers/ecs.ts",
7261
+ "line": 141
6607
7262
  },
6608
- "name": "subnet",
7263
+ "name": "storageSize",
6609
7264
  "optional": true,
6610
7265
  "type": {
6611
- "fqn": "aws-cdk-lib.aws_ec2.ISubnet"
7266
+ "fqn": "aws-cdk-lib.Size"
6612
7267
  }
6613
7268
  },
6614
7269
  {
6615
7270
  "abstract": true,
6616
7271
  "docs": {
6617
- "default": "default VPC subnet",
6618
- "remarks": "Only the first matched subnet will be used.",
7272
+ "default": "ECS default",
6619
7273
  "stability": "experimental",
6620
- "summary": "Where to place the network interfaces within the VPC."
7274
+ "summary": "Subnets to run the runners in."
6621
7275
  },
6622
7276
  "immutable": true,
6623
7277
  "locationInModule": {
6624
- "filename": "src/providers/ec2.ts",
6625
- "line": 212
7278
+ "filename": "src/providers/ecs.ts",
7279
+ "line": 67
6626
7280
  },
6627
7281
  "name": "subnetSelection",
6628
7282
  "optional": true,
@@ -6635,12 +7289,12 @@
6635
7289
  "docs": {
6636
7290
  "default": "default account VPC",
6637
7291
  "stability": "experimental",
6638
- "summary": "VPC where runner instances will be launched."
7292
+ "summary": "VPC to launch the runners in."
6639
7293
  },
6640
7294
  "immutable": true,
6641
7295
  "locationInModule": {
6642
- "filename": "src/providers/ec2.ts",
6643
- "line": 205
7296
+ "filename": "src/providers/ecs.ts",
7297
+ "line": 60
6644
7298
  },
6645
7299
  "name": "vpc",
6646
7300
  "optional": true,
@@ -6649,7 +7303,7 @@
6649
7303
  }
6650
7304
  }
6651
7305
  ],
6652
- "symbolId": "src/providers/ec2:Ec2RunnerProviderProps"
7306
+ "symbolId": "src/providers/ecs:EcsRunnerProviderProps"
6653
7307
  },
6654
7308
  "@cloudsnorkel/cdk-github-runners.FargateRunner": {
6655
7309
  "assembly": "@cloudsnorkel/cdk-github-runners",
@@ -7473,7 +8127,7 @@
7473
8127
  },
7474
8128
  "locationInModule": {
7475
8129
  "filename": "src/runner.ts",
7476
- "line": 218
8130
+ "line": 223
7477
8131
  },
7478
8132
  "parameters": [
7479
8133
  {
@@ -7500,9 +8154,26 @@
7500
8154
  "kind": "class",
7501
8155
  "locationInModule": {
7502
8156
  "filename": "src/runner.ts",
7503
- "line": 199
8157
+ "line": 204
7504
8158
  },
7505
8159
  "methods": [
8160
+ {
8161
+ "docs": {
8162
+ "remarks": "Runner images are rebuilt every week by default. This provides the latest GitHub Runner version and software updates.\n\nIf you want to be sure you are using the latest runner version, you can use this topic to be notified when a build fails.",
8163
+ "stability": "experimental",
8164
+ "summary": "Creates a topic for notifications when a runner image build fails."
8165
+ },
8166
+ "locationInModule": {
8167
+ "filename": "src/runner.ts",
8168
+ "line": 630
8169
+ },
8170
+ "name": "failedImageBuildsTopic",
8171
+ "returns": {
8172
+ "type": {
8173
+ "fqn": "aws-cdk-lib.aws_sns.Topic"
8174
+ }
8175
+ }
8176
+ },
7506
8177
  {
7507
8178
  "docs": {
7508
8179
  "remarks": "A failed runner usually means the runner failed to start and so a job was never executed. It doesn't necessarily mean the job was executed and failed. For that, see {@link metricJobCompleted}.",
@@ -7511,7 +8182,7 @@
7511
8182
  },
7512
8183
  "locationInModule": {
7513
8184
  "filename": "src/runner.ts",
7514
- "line": 607
8185
+ "line": 612
7515
8186
  },
7516
8187
  "name": "metricFailed",
7517
8188
  "parameters": [
@@ -7537,7 +8208,7 @@
7537
8208
  },
7538
8209
  "locationInModule": {
7539
8210
  "filename": "src/runner.ts",
7540
- "line": 552
8211
+ "line": 557
7541
8212
  },
7542
8213
  "name": "metricJobCompleted",
7543
8214
  "parameters": [
@@ -7563,7 +8234,7 @@
7563
8234
  },
7564
8235
  "locationInModule": {
7565
8236
  "filename": "src/runner.ts",
7566
- "line": 598
8237
+ "line": 603
7567
8238
  },
7568
8239
  "name": "metricSucceeded",
7569
8240
  "parameters": [
@@ -7589,7 +8260,7 @@
7589
8260
  },
7590
8261
  "locationInModule": {
7591
8262
  "filename": "src/runner.ts",
7592
- "line": 614
8263
+ "line": 619
7593
8264
  },
7594
8265
  "name": "metricTime",
7595
8266
  "parameters": [
@@ -7618,7 +8289,7 @@
7618
8289
  "immutable": true,
7619
8290
  "locationInModule": {
7620
8291
  "filename": "src/runner.ts",
7621
- "line": 203
8292
+ "line": 208
7622
8293
  },
7623
8294
  "name": "providers",
7624
8295
  "type": {
@@ -7638,7 +8309,7 @@
7638
8309
  "immutable": true,
7639
8310
  "locationInModule": {
7640
8311
  "filename": "src/runner.ts",
7641
- "line": 208
8312
+ "line": 213
7642
8313
  },
7643
8314
  "name": "secrets",
7644
8315
  "type": {
@@ -7652,7 +8323,7 @@
7652
8323
  "immutable": true,
7653
8324
  "locationInModule": {
7654
8325
  "filename": "src/runner.ts",
7655
- "line": 218
8326
+ "line": 223
7656
8327
  },
7657
8328
  "name": "props",
7658
8329
  "optional": true,
@@ -7674,7 +8345,7 @@
7674
8345
  "kind": "interface",
7675
8346
  "locationInModule": {
7676
8347
  "filename": "src/runner.ts",
7677
- "line": 30
8348
+ "line": 35
7678
8349
  },
7679
8350
  "name": "GitHubRunnersProps",
7680
8351
  "properties": [
@@ -7689,7 +8360,7 @@
7689
8360
  "immutable": true,
7690
8361
  "locationInModule": {
7691
8362
  "filename": "src/runner.ts",
7692
- "line": 53
8363
+ "line": 58
7693
8364
  },
7694
8365
  "name": "allowPublicSubnet",
7695
8366
  "optional": true,
@@ -7707,7 +8378,7 @@
7707
8378
  "immutable": true,
7708
8379
  "locationInModule": {
7709
8380
  "filename": "src/runner.ts",
7710
- "line": 83
8381
+ "line": 88
7711
8382
  },
7712
8383
  "name": "extraCertificates",
7713
8384
  "optional": true,
@@ -7726,7 +8397,7 @@
7726
8397
  "immutable": true,
7727
8398
  "locationInModule": {
7728
8399
  "filename": "src/runner.ts",
7729
- "line": 90
8400
+ "line": 95
7730
8401
  },
7731
8402
  "name": "idleTimeout",
7732
8403
  "optional": true,
@@ -7744,7 +8415,7 @@
7744
8415
  "immutable": true,
7745
8416
  "locationInModule": {
7746
8417
  "filename": "src/runner.ts",
7747
- "line": 97
8418
+ "line": 102
7748
8419
  },
7749
8420
  "name": "logOptions",
7750
8421
  "optional": true,
@@ -7763,7 +8434,7 @@
7763
8434
  "immutable": true,
7764
8435
  "locationInModule": {
7765
8436
  "filename": "src/runner.ts",
7766
- "line": 36
8437
+ "line": 41
7767
8438
  },
7768
8439
  "name": "providers",
7769
8440
  "optional": true,
@@ -7786,7 +8457,7 @@
7786
8457
  "immutable": true,
7787
8458
  "locationInModule": {
7788
8459
  "filename": "src/runner.ts",
7789
- "line": 58
8460
+ "line": 63
7790
8461
  },
7791
8462
  "name": "securityGroup",
7792
8463
  "optional": true,
@@ -7805,7 +8476,7 @@
7805
8476
  "immutable": true,
7806
8477
  "locationInModule": {
7807
8478
  "filename": "src/runner.ts",
7808
- "line": 104
8479
+ "line": 109
7809
8480
  },
7810
8481
  "name": "setupAccess",
7811
8482
  "optional": true,
@@ -7824,7 +8495,7 @@
7824
8495
  "immutable": true,
7825
8496
  "locationInModule": {
7826
8497
  "filename": "src/runner.ts",
7827
- "line": 123
8498
+ "line": 128
7828
8499
  },
7829
8500
  "name": "statusAccess",
7830
8501
  "optional": true,
@@ -7842,7 +8513,7 @@
7842
8513
  "immutable": true,
7843
8514
  "locationInModule": {
7844
8515
  "filename": "src/runner.ts",
7845
- "line": 41
8516
+ "line": 46
7846
8517
  },
7847
8518
  "name": "vpc",
7848
8519
  "optional": true,
@@ -7860,7 +8531,7 @@
7860
8531
  "immutable": true,
7861
8532
  "locationInModule": {
7862
8533
  "filename": "src/runner.ts",
7863
- "line": 46
8534
+ "line": 51
7864
8535
  },
7865
8536
  "name": "vpcSubnets",
7866
8537
  "optional": true,
@@ -7879,7 +8550,7 @@
7879
8550
  "immutable": true,
7880
8551
  "locationInModule": {
7881
8552
  "filename": "src/runner.ts",
7882
- "line": 116
8553
+ "line": 121
7883
8554
  },
7884
8555
  "name": "webhookAccess",
7885
8556
  "optional": true,
@@ -8378,7 +9049,7 @@
8378
9049
  "kind": "interface",
8379
9050
  "locationInModule": {
8380
9051
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8381
- "line": 41
9052
+ "line": 44
8382
9053
  },
8383
9054
  "name": "ImageBuilderAsset",
8384
9055
  "properties": [
@@ -8391,7 +9062,7 @@
8391
9062
  "immutable": true,
8392
9063
  "locationInModule": {
8393
9064
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8394
- "line": 50
9065
+ "line": 53
8395
9066
  },
8396
9067
  "name": "asset",
8397
9068
  "type": {
@@ -8407,7 +9078,7 @@
8407
9078
  "immutable": true,
8408
9079
  "locationInModule": {
8409
9080
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8410
- "line": 45
9081
+ "line": 48
8411
9082
  },
8412
9083
  "name": "path",
8413
9084
  "type": {
@@ -8422,7 +9093,7 @@
8422
9093
  "base": "aws-cdk-lib.Resource",
8423
9094
  "docs": {
8424
9095
  "deprecated": "Use `RunnerImageComponent` instead as this be internal soon.",
8425
- "remarks": "Components are the building blocks of images built by Image Builder.\n\nExample:\n\n```\nnew ImageBuilderComponent(this, 'AWS CLI', {\n platform: 'Windows',\n displayName: 'AWS CLI',\n description: 'Install latest version of AWS CLI',\n commands: [\n '$ErrorActionPreference = \\'Stop\\'',\n 'Start-Process msiexec.exe -Wait -ArgumentList \\'/i https://awscli.amazonaws.com/AWSCLIV2.msi /qn\\'',\n ],\n}\n```",
9096
+ "remarks": "Components are the building blocks of images built by Image Builder.\n\nExample:\n\n```\nnew ImageBuilderComponent(this, 'AWS CLI', {\n platform: 'Windows',\n displayName: 'AWS CLI',\n description: 'Install latest version of AWS CLI',\n commands: [\n 'Start-Process msiexec.exe -Wait -ArgumentList \\'/i https://awscli.amazonaws.com/AWSCLIV2.msi /qn\\'',\n ],\n}\n```",
8426
9097
  "stability": "deprecated",
8427
9098
  "summary": "Components are a set of commands to run and optional files to add to an image."
8428
9099
  },
@@ -8433,7 +9104,7 @@
8433
9104
  },
8434
9105
  "locationInModule": {
8435
9106
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8436
- "line": 117
9107
+ "line": 119
8437
9108
  },
8438
9109
  "parameters": [
8439
9110
  {
@@ -8459,7 +9130,7 @@
8459
9130
  "kind": "class",
8460
9131
  "locationInModule": {
8461
9132
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8462
- "line": 104
9133
+ "line": 106
8463
9134
  },
8464
9135
  "methods": [
8465
9136
  {
@@ -8469,7 +9140,7 @@
8469
9140
  },
8470
9141
  "locationInModule": {
8471
9142
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8472
- "line": 211
9143
+ "line": 213
8473
9144
  },
8474
9145
  "name": "grantAssetsRead",
8475
9146
  "parameters": [
@@ -8487,7 +9158,7 @@
8487
9158
  },
8488
9159
  "locationInModule": {
8489
9160
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8490
- "line": 217
9161
+ "line": 219
8491
9162
  },
8492
9163
  "name": "prefixCommandsWithErrorHandling",
8493
9164
  "parameters": [
@@ -8567,7 +9238,7 @@
8567
9238
  "immutable": true,
8568
9239
  "locationInModule": {
8569
9240
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8570
- "line": 108
9241
+ "line": 110
8571
9242
  },
8572
9243
  "name": "arn",
8573
9244
  "type": {
@@ -8582,7 +9253,7 @@
8582
9253
  "immutable": true,
8583
9254
  "locationInModule": {
8584
9255
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8585
- "line": 113
9256
+ "line": 115
8586
9257
  },
8587
9258
  "name": "platform",
8588
9259
  "type": {
@@ -8603,7 +9274,7 @@
8603
9274
  "kind": "interface",
8604
9275
  "locationInModule": {
8605
9276
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8606
- "line": 56
9277
+ "line": 59
8607
9278
  },
8608
9279
  "name": "ImageBuilderComponentProperties",
8609
9280
  "properties": [
@@ -8617,7 +9288,7 @@
8617
9288
  "immutable": true,
8618
9289
  "locationInModule": {
8619
9290
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8620
- "line": 77
9291
+ "line": 80
8621
9292
  },
8622
9293
  "name": "commands",
8623
9294
  "type": {
@@ -8638,7 +9309,7 @@
8638
9309
  "immutable": true,
8639
9310
  "locationInModule": {
8640
9311
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8641
- "line": 70
9312
+ "line": 73
8642
9313
  },
8643
9314
  "name": "description",
8644
9315
  "type": {
@@ -8654,7 +9325,7 @@
8654
9325
  "immutable": true,
8655
9326
  "locationInModule": {
8656
9327
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8657
- "line": 65
9328
+ "line": 68
8658
9329
  },
8659
9330
  "name": "displayName",
8660
9331
  "type": {
@@ -8671,7 +9342,7 @@
8671
9342
  "immutable": true,
8672
9343
  "locationInModule": {
8673
9344
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8674
- "line": 60
9345
+ "line": 63
8675
9346
  },
8676
9347
  "name": "platform",
8677
9348
  "type": {
@@ -8687,7 +9358,7 @@
8687
9358
  "immutable": true,
8688
9359
  "locationInModule": {
8689
9360
  "filename": "src/providers/image-builders/aws-image-builder/builder.ts",
8690
- "line": 82
9361
+ "line": 85
8691
9362
  },
8692
9363
  "name": "assets",
8693
9364
  "optional": true,
@@ -9496,7 +10167,7 @@
9496
10167
  },
9497
10168
  "locationInModule": {
9498
10169
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
9499
- "line": 53
10170
+ "line": 51
9500
10171
  },
9501
10172
  "name": "awsCli",
9502
10173
  "parameters": [
@@ -9532,7 +10203,7 @@
9532
10203
  },
9533
10204
  "locationInModule": {
9534
10205
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
9535
- "line": 140
10206
+ "line": 134
9536
10207
  },
9537
10208
  "name": "docker",
9538
10209
  "parameters": [
@@ -9568,7 +10239,7 @@
9568
10239
  },
9569
10240
  "locationInModule": {
9570
10241
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
9571
- "line": 159
10242
+ "line": 152
9572
10243
  },
9573
10244
  "name": "extraCertificates",
9574
10245
  "parameters": [
@@ -9604,7 +10275,7 @@
9604
10275
  },
9605
10276
  "locationInModule": {
9606
10277
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
9607
- "line": 93
10278
+ "line": 89
9608
10279
  },
9609
10280
  "name": "git",
9610
10281
  "parameters": [
@@ -9640,7 +10311,7 @@
9640
10311
  },
9641
10312
  "locationInModule": {
9642
10313
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
9643
- "line": 77
10314
+ "line": 74
9644
10315
  },
9645
10316
  "name": "githubCli",
9646
10317
  "parameters": [
@@ -9676,7 +10347,7 @@
9676
10347
  },
9677
10348
  "locationInModule": {
9678
10349
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
9679
- "line": 107
10350
+ "line": 102
9680
10351
  },
9681
10352
  "name": "githubRunner",
9682
10353
  "parameters": [
@@ -9754,7 +10425,7 @@
9754
10425
  },
9755
10426
  "locationInModule": {
9756
10427
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
9757
- "line": 38
10428
+ "line": 37
9758
10429
  },
9759
10430
  "name": "runnerUser",
9760
10431
  "parameters": [
@@ -9799,7 +10470,7 @@
9799
10470
  "kind": "interface",
9800
10471
  "locationInModule": {
9801
10472
  "filename": "src/runner.ts",
9802
- "line": 129
10473
+ "line": 134
9803
10474
  },
9804
10475
  "name": "LogOptions",
9805
10476
  "properties": [
@@ -9813,7 +10484,7 @@
9813
10484
  "immutable": true,
9814
10485
  "locationInModule": {
9815
10486
  "filename": "src/runner.ts",
9816
- "line": 140
10487
+ "line": 145
9817
10488
  },
9818
10489
  "name": "includeExecutionData",
9819
10490
  "optional": true,
@@ -9831,7 +10502,7 @@
9831
10502
  "immutable": true,
9832
10503
  "locationInModule": {
9833
10504
  "filename": "src/runner.ts",
9834
- "line": 147
10505
+ "line": 152
9835
10506
  },
9836
10507
  "name": "level",
9837
10508
  "optional": true,
@@ -9848,7 +10519,7 @@
9848
10519
  "immutable": true,
9849
10520
  "locationInModule": {
9850
10521
  "filename": "src/runner.ts",
9851
- "line": 133
10522
+ "line": 138
9852
10523
  },
9853
10524
  "name": "logGroupName",
9854
10525
  "optional": true,
@@ -9867,7 +10538,7 @@
9867
10538
  "immutable": true,
9868
10539
  "locationInModule": {
9869
10540
  "filename": "src/runner.ts",
9870
- "line": 156
10541
+ "line": 161
9871
10542
  },
9872
10543
  "name": "logRetention",
9873
10544
  "optional": true,
@@ -12000,7 +12671,7 @@
12000
12671
  },
12001
12672
  "locationInModule": {
12002
12673
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
12003
- "line": 24
12674
+ "line": 23
12004
12675
  },
12005
12676
  "name": "awsCli",
12006
12677
  "parameters": [
@@ -12060,7 +12731,7 @@
12060
12731
  },
12061
12732
  "locationInModule": {
12062
12733
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
12063
- "line": 104
12734
+ "line": 94
12064
12735
  },
12065
12736
  "name": "docker",
12066
12737
  "parameters": [
@@ -12090,7 +12761,7 @@
12090
12761
  },
12091
12762
  "locationInModule": {
12092
12763
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
12093
- "line": 124
12764
+ "line": 112
12094
12765
  },
12095
12766
  "name": "extraCertificates",
12096
12767
  "parameters": [
@@ -12126,7 +12797,7 @@
12126
12797
  },
12127
12798
  "locationInModule": {
12128
12799
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
12129
- "line": 55
12800
+ "line": 50
12130
12801
  },
12131
12802
  "name": "git",
12132
12803
  "parameters": [
@@ -12156,7 +12827,7 @@
12156
12827
  },
12157
12828
  "locationInModule": {
12158
12829
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
12159
- "line": 36
12830
+ "line": 34
12160
12831
  },
12161
12832
  "name": "githubCli",
12162
12833
  "parameters": [
@@ -12186,7 +12857,7 @@
12186
12857
  },
12187
12858
  "locationInModule": {
12188
12859
  "filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
12189
- "line": 76
12860
+ "line": 69
12190
12861
  },
12191
12862
  "name": "githubRunner",
12192
12863
  "parameters": [
@@ -12221,6 +12892,6 @@
12221
12892
  "symbolId": "src/providers/image-builders/aws-image-builder/deprecated/windows-components:WindowsComponents"
12222
12893
  }
12223
12894
  },
12224
- "version": "0.9.2",
12225
- "fingerprint": "zmHG8ogvxM4UnuobG3q57zcoNzxuIu+sExYrdG2uOo8="
12895
+ "version": "0.9.4",
12896
+ "fingerprint": "2y+waF4NiMP7fMqaF9sdF4qF4ydYSQvQIRQ11qZKCps="
12226
12897
  }