@cloudsnorkel/cdk-github-runners 0.9.3 → 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.
- package/.gitattributes +10 -9
- package/.jsii +98 -81
- package/API.md +13 -2
- package/assets/{lambdas/delete-runner.lambda → delete-runner.lambda}/index.js +96 -56
- package/assets/{lambdas → providers}/build-image.lambda/index.js +3 -3
- package/assets/{lambdas → providers/image-builders/aws-image-builder}/delete-ami.lambda/index.js +3 -3
- package/assets/providers/image-builders/aws-image-builder/filter-failed-builds.lambda/index.js +39 -0
- package/assets/{lambdas/aws-image-builder-versioner.lambda → providers/image-builders/aws-image-builder/versioner.lambda}/index.js +98 -58
- package/assets/{lambdas → providers}/update-lambda.lambda/index.js +1 -1
- package/assets/{lambdas/setup.lambda → setup.lambda}/index.js +4 -4
- package/assets/{lambdas/status.lambda → status.lambda}/index.js +96 -56
- package/assets/{lambdas/token-retriever.lambda → token-retriever.lambda}/index.js +96 -56
- package/assets/{lambdas/webhook-handler.lambda → webhook-handler.lambda}/index.js +3 -3
- package/lib/access.js +1 -1
- package/lib/{lambdas/delete-runner-function.d.ts → delete-runner-function.d.ts} +1 -1
- package/lib/delete-runner-function.js +23 -0
- package/lib/delete-runner.lambda.js +69 -0
- package/lib/github.js +50 -0
- package/lib/lambda-helpers.js +66 -0
- package/lib/{lambdas → providers}/build-image-function.d.ts +1 -1
- package/lib/providers/build-image-function.js +23 -0
- package/lib/providers/build-image.lambda.js +92 -0
- package/lib/providers/codebuild.js +2 -2
- package/lib/providers/common.js +3 -3
- package/lib/providers/ec2.js +2 -2
- package/lib/providers/ecs.js +7 -3
- package/lib/providers/fargate.js +2 -2
- package/lib/providers/image-builders/api.js +1 -1
- package/lib/providers/image-builders/aws-image-builder/builder.d.ts +12 -3
- package/lib/providers/image-builders/aws-image-builder/builder.js +43 -11
- package/lib/providers/image-builders/aws-image-builder/common.js +3 -3
- package/lib/{lambdas → providers/image-builders/aws-image-builder}/delete-ami-function.d.ts +1 -1
- package/lib/providers/image-builders/aws-image-builder/delete-ami-function.js +23 -0
- package/lib/providers/image-builders/aws-image-builder/delete-ami.lambda.js +87 -0
- package/lib/providers/image-builders/aws-image-builder/deprecated/ami.d.ts +0 -1
- package/lib/providers/image-builders/aws-image-builder/deprecated/ami.js +6 -5
- package/lib/providers/image-builders/aws-image-builder/deprecated/common.js +6 -1
- package/lib/providers/image-builders/aws-image-builder/deprecated/container.js +3 -3
- package/lib/providers/image-builders/aws-image-builder/deprecated/linux-components.js +2 -10
- package/lib/providers/image-builders/aws-image-builder/deprecated/windows-components.js +3 -16
- package/lib/providers/image-builders/aws-image-builder/filter-failed-builds-function.d.ts +13 -0
- package/lib/providers/image-builders/aws-image-builder/filter-failed-builds-function.js +23 -0
- package/lib/providers/image-builders/aws-image-builder/filter-failed-builds.lambda.js +18 -0
- package/lib/providers/image-builders/aws-image-builder/versioner-function.d.ts +13 -0
- package/lib/providers/image-builders/aws-image-builder/versioner-function.js +23 -0
- package/lib/providers/image-builders/aws-image-builder/versioner.lambda.js +96 -0
- package/lib/providers/image-builders/codebuild-deprecated.js +3 -3
- package/lib/providers/image-builders/codebuild.d.ts +11 -2
- package/lib/providers/image-builders/codebuild.js +19 -3
- package/lib/providers/image-builders/components.js +1 -1
- package/lib/providers/image-builders/static.js +1 -1
- package/lib/providers/lambda.js +4 -4
- package/lib/{lambdas → providers}/update-lambda-function.d.ts +1 -1
- package/lib/providers/update-lambda-function.js +23 -0
- package/lib/providers/update-lambda.lambda.js +34 -0
- package/lib/runner.d.ts +9 -1
- package/lib/runner.js +24 -12
- package/lib/secrets.js +1 -1
- package/lib/{lambdas/setup-function.d.ts → setup-function.d.ts} +1 -1
- package/lib/setup-function.js +23 -0
- package/lib/setup.lambda.js +152 -0
- package/lib/{lambdas/status-function.d.ts → status-function.d.ts} +1 -1
- package/lib/status-function.js +23 -0
- package/lib/status.lambda.js +298 -0
- package/lib/{lambdas/token-retriever-function.d.ts → token-retriever-function.d.ts} +1 -1
- package/lib/token-retriever-function.js +23 -0
- package/lib/token-retriever.lambda.js +15 -0
- package/lib/{lambdas/webhook-handler-function.d.ts → webhook-handler-function.d.ts} +1 -1
- package/lib/webhook-handler-function.js +23 -0
- package/lib/webhook-handler.lambda.d.ts +1 -0
- package/lib/webhook-handler.lambda.js +116 -0
- package/lib/webhook.d.ts +1 -1
- package/lib/webhook.js +2 -2
- package/package.json +28 -26
- package/lib/lambdas/aws-image-builder-versioner-function.d.ts +0 -13
- package/lib/lambdas/aws-image-builder-versioner-function.js +0 -23
- package/lib/lambdas/aws-image-builder-versioner.lambda.js +0 -96
- package/lib/lambdas/build-image-function.js +0 -23
- package/lib/lambdas/build-image.lambda.js +0 -92
- package/lib/lambdas/delete-ami-function.js +0 -23
- package/lib/lambdas/delete-ami.lambda.js +0 -87
- package/lib/lambdas/delete-runner-function.js +0 -23
- package/lib/lambdas/delete-runner.lambda.js +0 -69
- package/lib/lambdas/github.js +0 -50
- package/lib/lambdas/helpers.js +0 -66
- package/lib/lambdas/setup-function.js +0 -23
- package/lib/lambdas/setup.lambda.js +0 -152
- package/lib/lambdas/status-function.js +0 -23
- package/lib/lambdas/status.lambda.js +0 -298
- package/lib/lambdas/token-retriever-function.js +0 -23
- package/lib/lambdas/token-retriever.lambda.js +0 -15
- package/lib/lambdas/update-lambda-function.js +0 -23
- package/lib/lambdas/update-lambda.lambda.js +0 -34
- package/lib/lambdas/webhook-handler-function.js +0 -23
- package/lib/lambdas/webhook-handler.lambda.js +0 -116
- /package/assets/{lambdas/setup.lambda → setup.lambda}/index.html +0 -0
- /package/lib/{lambdas/delete-runner.lambda.d.ts → delete-runner.lambda.d.ts} +0 -0
- /package/lib/{lambdas/github.d.ts → github.d.ts} +0 -0
- /package/lib/{lambdas/helpers.d.ts → lambda-helpers.d.ts} +0 -0
- /package/lib/{lambdas → providers}/build-image.lambda.d.ts +0 -0
- /package/lib/{lambdas → providers/image-builders/aws-image-builder}/delete-ami.lambda.d.ts +0 -0
- /package/lib/{lambdas/setup.lambda.d.ts → providers/image-builders/aws-image-builder/filter-failed-builds.lambda.d.ts} +0 -0
- /package/lib/{lambdas/aws-image-builder-versioner.lambda.d.ts → providers/image-builders/aws-image-builder/versioner.lambda.d.ts} +0 -0
- /package/lib/{lambdas → providers}/update-lambda.lambda.d.ts +0 -0
- /package/lib/{lambdas/status.lambda.d.ts → setup.lambda.d.ts} +0 -0
- /package/lib/{lambdas/token-retriever.lambda.d.ts → status.lambda.d.ts} +0 -0
- /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.
|
|
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 '
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
5682
|
+
"line": 173
|
|
5683
5683
|
},
|
|
5684
5684
|
"name": "connections",
|
|
5685
5685
|
"type": {
|
|
@@ -6785,7 +6785,7 @@
|
|
|
6785
6785
|
},
|
|
6786
6786
|
"locationInModule": {
|
|
6787
6787
|
"filename": "src/providers/ecs.ts",
|
|
6788
|
-
"line":
|
|
6788
|
+
"line": 453
|
|
6789
6789
|
},
|
|
6790
6790
|
"name": "getStepFunctionTask",
|
|
6791
6791
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6814,7 +6814,7 @@
|
|
|
6814
6814
|
},
|
|
6815
6815
|
"locationInModule": {
|
|
6816
6816
|
"filename": "src/providers/ecs.ts",
|
|
6817
|
-
"line":
|
|
6817
|
+
"line": 502
|
|
6818
6818
|
},
|
|
6819
6819
|
"name": "grantStateMachine",
|
|
6820
6820
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6883,7 +6883,7 @@
|
|
|
6883
6883
|
},
|
|
6884
6884
|
"locationInModule": {
|
|
6885
6885
|
"filename": "src/providers/ecs.ts",
|
|
6886
|
-
"line":
|
|
6886
|
+
"line": 505
|
|
6887
6887
|
},
|
|
6888
6888
|
"name": "status",
|
|
6889
6889
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -8127,7 +8127,7 @@
|
|
|
8127
8127
|
},
|
|
8128
8128
|
"locationInModule": {
|
|
8129
8129
|
"filename": "src/runner.ts",
|
|
8130
|
-
"line":
|
|
8130
|
+
"line": 223
|
|
8131
8131
|
},
|
|
8132
8132
|
"parameters": [
|
|
8133
8133
|
{
|
|
@@ -8154,9 +8154,26 @@
|
|
|
8154
8154
|
"kind": "class",
|
|
8155
8155
|
"locationInModule": {
|
|
8156
8156
|
"filename": "src/runner.ts",
|
|
8157
|
-
"line":
|
|
8157
|
+
"line": 204
|
|
8158
8158
|
},
|
|
8159
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
|
+
},
|
|
8160
8177
|
{
|
|
8161
8178
|
"docs": {
|
|
8162
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}.",
|
|
@@ -8165,7 +8182,7 @@
|
|
|
8165
8182
|
},
|
|
8166
8183
|
"locationInModule": {
|
|
8167
8184
|
"filename": "src/runner.ts",
|
|
8168
|
-
"line":
|
|
8185
|
+
"line": 612
|
|
8169
8186
|
},
|
|
8170
8187
|
"name": "metricFailed",
|
|
8171
8188
|
"parameters": [
|
|
@@ -8191,7 +8208,7 @@
|
|
|
8191
8208
|
},
|
|
8192
8209
|
"locationInModule": {
|
|
8193
8210
|
"filename": "src/runner.ts",
|
|
8194
|
-
"line":
|
|
8211
|
+
"line": 557
|
|
8195
8212
|
},
|
|
8196
8213
|
"name": "metricJobCompleted",
|
|
8197
8214
|
"parameters": [
|
|
@@ -8217,7 +8234,7 @@
|
|
|
8217
8234
|
},
|
|
8218
8235
|
"locationInModule": {
|
|
8219
8236
|
"filename": "src/runner.ts",
|
|
8220
|
-
"line":
|
|
8237
|
+
"line": 603
|
|
8221
8238
|
},
|
|
8222
8239
|
"name": "metricSucceeded",
|
|
8223
8240
|
"parameters": [
|
|
@@ -8243,7 +8260,7 @@
|
|
|
8243
8260
|
},
|
|
8244
8261
|
"locationInModule": {
|
|
8245
8262
|
"filename": "src/runner.ts",
|
|
8246
|
-
"line":
|
|
8263
|
+
"line": 619
|
|
8247
8264
|
},
|
|
8248
8265
|
"name": "metricTime",
|
|
8249
8266
|
"parameters": [
|
|
@@ -8272,7 +8289,7 @@
|
|
|
8272
8289
|
"immutable": true,
|
|
8273
8290
|
"locationInModule": {
|
|
8274
8291
|
"filename": "src/runner.ts",
|
|
8275
|
-
"line":
|
|
8292
|
+
"line": 208
|
|
8276
8293
|
},
|
|
8277
8294
|
"name": "providers",
|
|
8278
8295
|
"type": {
|
|
@@ -8292,7 +8309,7 @@
|
|
|
8292
8309
|
"immutable": true,
|
|
8293
8310
|
"locationInModule": {
|
|
8294
8311
|
"filename": "src/runner.ts",
|
|
8295
|
-
"line":
|
|
8312
|
+
"line": 213
|
|
8296
8313
|
},
|
|
8297
8314
|
"name": "secrets",
|
|
8298
8315
|
"type": {
|
|
@@ -8306,7 +8323,7 @@
|
|
|
8306
8323
|
"immutable": true,
|
|
8307
8324
|
"locationInModule": {
|
|
8308
8325
|
"filename": "src/runner.ts",
|
|
8309
|
-
"line":
|
|
8326
|
+
"line": 223
|
|
8310
8327
|
},
|
|
8311
8328
|
"name": "props",
|
|
8312
8329
|
"optional": true,
|
|
@@ -8328,7 +8345,7 @@
|
|
|
8328
8345
|
"kind": "interface",
|
|
8329
8346
|
"locationInModule": {
|
|
8330
8347
|
"filename": "src/runner.ts",
|
|
8331
|
-
"line":
|
|
8348
|
+
"line": 35
|
|
8332
8349
|
},
|
|
8333
8350
|
"name": "GitHubRunnersProps",
|
|
8334
8351
|
"properties": [
|
|
@@ -8343,7 +8360,7 @@
|
|
|
8343
8360
|
"immutable": true,
|
|
8344
8361
|
"locationInModule": {
|
|
8345
8362
|
"filename": "src/runner.ts",
|
|
8346
|
-
"line":
|
|
8363
|
+
"line": 58
|
|
8347
8364
|
},
|
|
8348
8365
|
"name": "allowPublicSubnet",
|
|
8349
8366
|
"optional": true,
|
|
@@ -8361,7 +8378,7 @@
|
|
|
8361
8378
|
"immutable": true,
|
|
8362
8379
|
"locationInModule": {
|
|
8363
8380
|
"filename": "src/runner.ts",
|
|
8364
|
-
"line":
|
|
8381
|
+
"line": 88
|
|
8365
8382
|
},
|
|
8366
8383
|
"name": "extraCertificates",
|
|
8367
8384
|
"optional": true,
|
|
@@ -8380,7 +8397,7 @@
|
|
|
8380
8397
|
"immutable": true,
|
|
8381
8398
|
"locationInModule": {
|
|
8382
8399
|
"filename": "src/runner.ts",
|
|
8383
|
-
"line":
|
|
8400
|
+
"line": 95
|
|
8384
8401
|
},
|
|
8385
8402
|
"name": "idleTimeout",
|
|
8386
8403
|
"optional": true,
|
|
@@ -8398,7 +8415,7 @@
|
|
|
8398
8415
|
"immutable": true,
|
|
8399
8416
|
"locationInModule": {
|
|
8400
8417
|
"filename": "src/runner.ts",
|
|
8401
|
-
"line":
|
|
8418
|
+
"line": 102
|
|
8402
8419
|
},
|
|
8403
8420
|
"name": "logOptions",
|
|
8404
8421
|
"optional": true,
|
|
@@ -8417,7 +8434,7 @@
|
|
|
8417
8434
|
"immutable": true,
|
|
8418
8435
|
"locationInModule": {
|
|
8419
8436
|
"filename": "src/runner.ts",
|
|
8420
|
-
"line":
|
|
8437
|
+
"line": 41
|
|
8421
8438
|
},
|
|
8422
8439
|
"name": "providers",
|
|
8423
8440
|
"optional": true,
|
|
@@ -8440,7 +8457,7 @@
|
|
|
8440
8457
|
"immutable": true,
|
|
8441
8458
|
"locationInModule": {
|
|
8442
8459
|
"filename": "src/runner.ts",
|
|
8443
|
-
"line":
|
|
8460
|
+
"line": 63
|
|
8444
8461
|
},
|
|
8445
8462
|
"name": "securityGroup",
|
|
8446
8463
|
"optional": true,
|
|
@@ -8459,7 +8476,7 @@
|
|
|
8459
8476
|
"immutable": true,
|
|
8460
8477
|
"locationInModule": {
|
|
8461
8478
|
"filename": "src/runner.ts",
|
|
8462
|
-
"line":
|
|
8479
|
+
"line": 109
|
|
8463
8480
|
},
|
|
8464
8481
|
"name": "setupAccess",
|
|
8465
8482
|
"optional": true,
|
|
@@ -8478,7 +8495,7 @@
|
|
|
8478
8495
|
"immutable": true,
|
|
8479
8496
|
"locationInModule": {
|
|
8480
8497
|
"filename": "src/runner.ts",
|
|
8481
|
-
"line":
|
|
8498
|
+
"line": 128
|
|
8482
8499
|
},
|
|
8483
8500
|
"name": "statusAccess",
|
|
8484
8501
|
"optional": true,
|
|
@@ -8496,7 +8513,7 @@
|
|
|
8496
8513
|
"immutable": true,
|
|
8497
8514
|
"locationInModule": {
|
|
8498
8515
|
"filename": "src/runner.ts",
|
|
8499
|
-
"line":
|
|
8516
|
+
"line": 46
|
|
8500
8517
|
},
|
|
8501
8518
|
"name": "vpc",
|
|
8502
8519
|
"optional": true,
|
|
@@ -8514,7 +8531,7 @@
|
|
|
8514
8531
|
"immutable": true,
|
|
8515
8532
|
"locationInModule": {
|
|
8516
8533
|
"filename": "src/runner.ts",
|
|
8517
|
-
"line":
|
|
8534
|
+
"line": 51
|
|
8518
8535
|
},
|
|
8519
8536
|
"name": "vpcSubnets",
|
|
8520
8537
|
"optional": true,
|
|
@@ -8533,7 +8550,7 @@
|
|
|
8533
8550
|
"immutable": true,
|
|
8534
8551
|
"locationInModule": {
|
|
8535
8552
|
"filename": "src/runner.ts",
|
|
8536
|
-
"line":
|
|
8553
|
+
"line": 121
|
|
8537
8554
|
},
|
|
8538
8555
|
"name": "webhookAccess",
|
|
8539
8556
|
"optional": true,
|
|
@@ -9032,7 +9049,7 @@
|
|
|
9032
9049
|
"kind": "interface",
|
|
9033
9050
|
"locationInModule": {
|
|
9034
9051
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9035
|
-
"line":
|
|
9052
|
+
"line": 44
|
|
9036
9053
|
},
|
|
9037
9054
|
"name": "ImageBuilderAsset",
|
|
9038
9055
|
"properties": [
|
|
@@ -9045,7 +9062,7 @@
|
|
|
9045
9062
|
"immutable": true,
|
|
9046
9063
|
"locationInModule": {
|
|
9047
9064
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9048
|
-
"line":
|
|
9065
|
+
"line": 53
|
|
9049
9066
|
},
|
|
9050
9067
|
"name": "asset",
|
|
9051
9068
|
"type": {
|
|
@@ -9061,7 +9078,7 @@
|
|
|
9061
9078
|
"immutable": true,
|
|
9062
9079
|
"locationInModule": {
|
|
9063
9080
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9064
|
-
"line":
|
|
9081
|
+
"line": 48
|
|
9065
9082
|
},
|
|
9066
9083
|
"name": "path",
|
|
9067
9084
|
"type": {
|
|
@@ -9076,7 +9093,7 @@
|
|
|
9076
9093
|
"base": "aws-cdk-lib.Resource",
|
|
9077
9094
|
"docs": {
|
|
9078
9095
|
"deprecated": "Use `RunnerImageComponent` instead as this be internal soon.",
|
|
9079
|
-
"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 '
|
|
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```",
|
|
9080
9097
|
"stability": "deprecated",
|
|
9081
9098
|
"summary": "Components are a set of commands to run and optional files to add to an image."
|
|
9082
9099
|
},
|
|
@@ -9087,7 +9104,7 @@
|
|
|
9087
9104
|
},
|
|
9088
9105
|
"locationInModule": {
|
|
9089
9106
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9090
|
-
"line":
|
|
9107
|
+
"line": 119
|
|
9091
9108
|
},
|
|
9092
9109
|
"parameters": [
|
|
9093
9110
|
{
|
|
@@ -9113,7 +9130,7 @@
|
|
|
9113
9130
|
"kind": "class",
|
|
9114
9131
|
"locationInModule": {
|
|
9115
9132
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9116
|
-
"line":
|
|
9133
|
+
"line": 106
|
|
9117
9134
|
},
|
|
9118
9135
|
"methods": [
|
|
9119
9136
|
{
|
|
@@ -9123,7 +9140,7 @@
|
|
|
9123
9140
|
},
|
|
9124
9141
|
"locationInModule": {
|
|
9125
9142
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9126
|
-
"line":
|
|
9143
|
+
"line": 213
|
|
9127
9144
|
},
|
|
9128
9145
|
"name": "grantAssetsRead",
|
|
9129
9146
|
"parameters": [
|
|
@@ -9141,7 +9158,7 @@
|
|
|
9141
9158
|
},
|
|
9142
9159
|
"locationInModule": {
|
|
9143
9160
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9144
|
-
"line":
|
|
9161
|
+
"line": 219
|
|
9145
9162
|
},
|
|
9146
9163
|
"name": "prefixCommandsWithErrorHandling",
|
|
9147
9164
|
"parameters": [
|
|
@@ -9221,7 +9238,7 @@
|
|
|
9221
9238
|
"immutable": true,
|
|
9222
9239
|
"locationInModule": {
|
|
9223
9240
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9224
|
-
"line":
|
|
9241
|
+
"line": 110
|
|
9225
9242
|
},
|
|
9226
9243
|
"name": "arn",
|
|
9227
9244
|
"type": {
|
|
@@ -9236,7 +9253,7 @@
|
|
|
9236
9253
|
"immutable": true,
|
|
9237
9254
|
"locationInModule": {
|
|
9238
9255
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9239
|
-
"line":
|
|
9256
|
+
"line": 115
|
|
9240
9257
|
},
|
|
9241
9258
|
"name": "platform",
|
|
9242
9259
|
"type": {
|
|
@@ -9257,7 +9274,7 @@
|
|
|
9257
9274
|
"kind": "interface",
|
|
9258
9275
|
"locationInModule": {
|
|
9259
9276
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9260
|
-
"line":
|
|
9277
|
+
"line": 59
|
|
9261
9278
|
},
|
|
9262
9279
|
"name": "ImageBuilderComponentProperties",
|
|
9263
9280
|
"properties": [
|
|
@@ -9271,7 +9288,7 @@
|
|
|
9271
9288
|
"immutable": true,
|
|
9272
9289
|
"locationInModule": {
|
|
9273
9290
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9274
|
-
"line":
|
|
9291
|
+
"line": 80
|
|
9275
9292
|
},
|
|
9276
9293
|
"name": "commands",
|
|
9277
9294
|
"type": {
|
|
@@ -9292,7 +9309,7 @@
|
|
|
9292
9309
|
"immutable": true,
|
|
9293
9310
|
"locationInModule": {
|
|
9294
9311
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9295
|
-
"line":
|
|
9312
|
+
"line": 73
|
|
9296
9313
|
},
|
|
9297
9314
|
"name": "description",
|
|
9298
9315
|
"type": {
|
|
@@ -9308,7 +9325,7 @@
|
|
|
9308
9325
|
"immutable": true,
|
|
9309
9326
|
"locationInModule": {
|
|
9310
9327
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9311
|
-
"line":
|
|
9328
|
+
"line": 68
|
|
9312
9329
|
},
|
|
9313
9330
|
"name": "displayName",
|
|
9314
9331
|
"type": {
|
|
@@ -9325,7 +9342,7 @@
|
|
|
9325
9342
|
"immutable": true,
|
|
9326
9343
|
"locationInModule": {
|
|
9327
9344
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9328
|
-
"line":
|
|
9345
|
+
"line": 63
|
|
9329
9346
|
},
|
|
9330
9347
|
"name": "platform",
|
|
9331
9348
|
"type": {
|
|
@@ -9341,7 +9358,7 @@
|
|
|
9341
9358
|
"immutable": true,
|
|
9342
9359
|
"locationInModule": {
|
|
9343
9360
|
"filename": "src/providers/image-builders/aws-image-builder/builder.ts",
|
|
9344
|
-
"line":
|
|
9361
|
+
"line": 85
|
|
9345
9362
|
},
|
|
9346
9363
|
"name": "assets",
|
|
9347
9364
|
"optional": true,
|
|
@@ -10150,7 +10167,7 @@
|
|
|
10150
10167
|
},
|
|
10151
10168
|
"locationInModule": {
|
|
10152
10169
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
|
|
10153
|
-
"line":
|
|
10170
|
+
"line": 51
|
|
10154
10171
|
},
|
|
10155
10172
|
"name": "awsCli",
|
|
10156
10173
|
"parameters": [
|
|
@@ -10186,7 +10203,7 @@
|
|
|
10186
10203
|
},
|
|
10187
10204
|
"locationInModule": {
|
|
10188
10205
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
|
|
10189
|
-
"line":
|
|
10206
|
+
"line": 134
|
|
10190
10207
|
},
|
|
10191
10208
|
"name": "docker",
|
|
10192
10209
|
"parameters": [
|
|
@@ -10222,7 +10239,7 @@
|
|
|
10222
10239
|
},
|
|
10223
10240
|
"locationInModule": {
|
|
10224
10241
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
|
|
10225
|
-
"line":
|
|
10242
|
+
"line": 152
|
|
10226
10243
|
},
|
|
10227
10244
|
"name": "extraCertificates",
|
|
10228
10245
|
"parameters": [
|
|
@@ -10258,7 +10275,7 @@
|
|
|
10258
10275
|
},
|
|
10259
10276
|
"locationInModule": {
|
|
10260
10277
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
|
|
10261
|
-
"line":
|
|
10278
|
+
"line": 89
|
|
10262
10279
|
},
|
|
10263
10280
|
"name": "git",
|
|
10264
10281
|
"parameters": [
|
|
@@ -10294,7 +10311,7 @@
|
|
|
10294
10311
|
},
|
|
10295
10312
|
"locationInModule": {
|
|
10296
10313
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
|
|
10297
|
-
"line":
|
|
10314
|
+
"line": 74
|
|
10298
10315
|
},
|
|
10299
10316
|
"name": "githubCli",
|
|
10300
10317
|
"parameters": [
|
|
@@ -10330,7 +10347,7 @@
|
|
|
10330
10347
|
},
|
|
10331
10348
|
"locationInModule": {
|
|
10332
10349
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
|
|
10333
|
-
"line":
|
|
10350
|
+
"line": 102
|
|
10334
10351
|
},
|
|
10335
10352
|
"name": "githubRunner",
|
|
10336
10353
|
"parameters": [
|
|
@@ -10408,7 +10425,7 @@
|
|
|
10408
10425
|
},
|
|
10409
10426
|
"locationInModule": {
|
|
10410
10427
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/linux-components.ts",
|
|
10411
|
-
"line":
|
|
10428
|
+
"line": 37
|
|
10412
10429
|
},
|
|
10413
10430
|
"name": "runnerUser",
|
|
10414
10431
|
"parameters": [
|
|
@@ -10453,7 +10470,7 @@
|
|
|
10453
10470
|
"kind": "interface",
|
|
10454
10471
|
"locationInModule": {
|
|
10455
10472
|
"filename": "src/runner.ts",
|
|
10456
|
-
"line":
|
|
10473
|
+
"line": 134
|
|
10457
10474
|
},
|
|
10458
10475
|
"name": "LogOptions",
|
|
10459
10476
|
"properties": [
|
|
@@ -10467,7 +10484,7 @@
|
|
|
10467
10484
|
"immutable": true,
|
|
10468
10485
|
"locationInModule": {
|
|
10469
10486
|
"filename": "src/runner.ts",
|
|
10470
|
-
"line":
|
|
10487
|
+
"line": 145
|
|
10471
10488
|
},
|
|
10472
10489
|
"name": "includeExecutionData",
|
|
10473
10490
|
"optional": true,
|
|
@@ -10485,7 +10502,7 @@
|
|
|
10485
10502
|
"immutable": true,
|
|
10486
10503
|
"locationInModule": {
|
|
10487
10504
|
"filename": "src/runner.ts",
|
|
10488
|
-
"line":
|
|
10505
|
+
"line": 152
|
|
10489
10506
|
},
|
|
10490
10507
|
"name": "level",
|
|
10491
10508
|
"optional": true,
|
|
@@ -10502,7 +10519,7 @@
|
|
|
10502
10519
|
"immutable": true,
|
|
10503
10520
|
"locationInModule": {
|
|
10504
10521
|
"filename": "src/runner.ts",
|
|
10505
|
-
"line":
|
|
10522
|
+
"line": 138
|
|
10506
10523
|
},
|
|
10507
10524
|
"name": "logGroupName",
|
|
10508
10525
|
"optional": true,
|
|
@@ -10521,7 +10538,7 @@
|
|
|
10521
10538
|
"immutable": true,
|
|
10522
10539
|
"locationInModule": {
|
|
10523
10540
|
"filename": "src/runner.ts",
|
|
10524
|
-
"line":
|
|
10541
|
+
"line": 161
|
|
10525
10542
|
},
|
|
10526
10543
|
"name": "logRetention",
|
|
10527
10544
|
"optional": true,
|
|
@@ -12654,7 +12671,7 @@
|
|
|
12654
12671
|
},
|
|
12655
12672
|
"locationInModule": {
|
|
12656
12673
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
|
|
12657
|
-
"line":
|
|
12674
|
+
"line": 23
|
|
12658
12675
|
},
|
|
12659
12676
|
"name": "awsCli",
|
|
12660
12677
|
"parameters": [
|
|
@@ -12714,7 +12731,7 @@
|
|
|
12714
12731
|
},
|
|
12715
12732
|
"locationInModule": {
|
|
12716
12733
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
|
|
12717
|
-
"line":
|
|
12734
|
+
"line": 94
|
|
12718
12735
|
},
|
|
12719
12736
|
"name": "docker",
|
|
12720
12737
|
"parameters": [
|
|
@@ -12744,7 +12761,7 @@
|
|
|
12744
12761
|
},
|
|
12745
12762
|
"locationInModule": {
|
|
12746
12763
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
|
|
12747
|
-
"line":
|
|
12764
|
+
"line": 112
|
|
12748
12765
|
},
|
|
12749
12766
|
"name": "extraCertificates",
|
|
12750
12767
|
"parameters": [
|
|
@@ -12780,7 +12797,7 @@
|
|
|
12780
12797
|
},
|
|
12781
12798
|
"locationInModule": {
|
|
12782
12799
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
|
|
12783
|
-
"line":
|
|
12800
|
+
"line": 50
|
|
12784
12801
|
},
|
|
12785
12802
|
"name": "git",
|
|
12786
12803
|
"parameters": [
|
|
@@ -12810,7 +12827,7 @@
|
|
|
12810
12827
|
},
|
|
12811
12828
|
"locationInModule": {
|
|
12812
12829
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
|
|
12813
|
-
"line":
|
|
12830
|
+
"line": 34
|
|
12814
12831
|
},
|
|
12815
12832
|
"name": "githubCli",
|
|
12816
12833
|
"parameters": [
|
|
@@ -12840,7 +12857,7 @@
|
|
|
12840
12857
|
},
|
|
12841
12858
|
"locationInModule": {
|
|
12842
12859
|
"filename": "src/providers/image-builders/aws-image-builder/deprecated/windows-components.ts",
|
|
12843
|
-
"line":
|
|
12860
|
+
"line": 69
|
|
12844
12861
|
},
|
|
12845
12862
|
"name": "githubRunner",
|
|
12846
12863
|
"parameters": [
|
|
@@ -12875,6 +12892,6 @@
|
|
|
12875
12892
|
"symbolId": "src/providers/image-builders/aws-image-builder/deprecated/windows-components:WindowsComponents"
|
|
12876
12893
|
}
|
|
12877
12894
|
},
|
|
12878
|
-
"version": "0.9.
|
|
12879
|
-
"fingerprint": "
|
|
12895
|
+
"version": "0.9.4",
|
|
12896
|
+
"fingerprint": "2y+waF4NiMP7fMqaF9sdF4qF4ydYSQvQIRQ11qZKCps="
|
|
12880
12897
|
}
|