@cloudsnorkel/cdk-github-runners 0.14.17 → 0.14.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +23 -23
- package/API.md +8 -8
- package/assets/setup.lambda/index.html +8 -8
- package/lib/access.js +1 -1
- package/lib/image-builders/api.js +1 -1
- package/lib/image-builders/aws-image-builder/builder.js +1 -1
- package/lib/image-builders/aws-image-builder/deprecated/ami.js +1 -1
- package/lib/image-builders/aws-image-builder/deprecated/container.js +1 -1
- package/lib/image-builders/aws-image-builder/deprecated/linux-components.js +1 -1
- package/lib/image-builders/aws-image-builder/deprecated/windows-components.js +1 -1
- package/lib/image-builders/codebuild-deprecated.js +1 -1
- package/lib/image-builders/codebuild.js +17 -14
- package/lib/image-builders/components.js +1 -1
- package/lib/image-builders/static.js +1 -1
- package/lib/providers/codebuild.js +4 -3
- package/lib/providers/common.js +3 -3
- package/lib/providers/composite.js +9 -4
- package/lib/providers/ec2.js +5 -3
- package/lib/providers/ecs.js +3 -2
- package/lib/providers/fargate.js +4 -3
- package/lib/providers/lambda.js +4 -3
- package/lib/runner.d.ts +4 -4
- package/lib/runner.js +2 -2
- package/lib/secrets.js +1 -1
- package/package.json +20 -19
package/.jsii
CHANGED
|
@@ -3834,7 +3834,7 @@
|
|
|
3834
3834
|
"stability": "experimental"
|
|
3835
3835
|
},
|
|
3836
3836
|
"homepage": "https://github.com/CloudSnorkel/cdk-github-runners.git",
|
|
3837
|
-
"jsiiVersion": "5.8.
|
|
3837
|
+
"jsiiVersion": "5.8.26 (build 74c845f)",
|
|
3838
3838
|
"keywords": [
|
|
3839
3839
|
"aws",
|
|
3840
3840
|
"aws-cdk",
|
|
@@ -5443,7 +5443,7 @@
|
|
|
5443
5443
|
"kind": "class",
|
|
5444
5444
|
"locationInModule": {
|
|
5445
5445
|
"filename": "src/providers/codebuild.ts",
|
|
5446
|
-
"line":
|
|
5446
|
+
"line": 481
|
|
5447
5447
|
},
|
|
5448
5448
|
"name": "CodeBuildRunner",
|
|
5449
5449
|
"symbolId": "src/providers/codebuild:CodeBuildRunner"
|
|
@@ -5646,7 +5646,7 @@
|
|
|
5646
5646
|
},
|
|
5647
5647
|
"locationInModule": {
|
|
5648
5648
|
"filename": "src/providers/codebuild.ts",
|
|
5649
|
-
"line":
|
|
5649
|
+
"line": 448
|
|
5650
5650
|
},
|
|
5651
5651
|
"name": "grantStateMachine",
|
|
5652
5652
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5715,7 +5715,7 @@
|
|
|
5715
5715
|
},
|
|
5716
5716
|
"locationInModule": {
|
|
5717
5717
|
"filename": "src/providers/codebuild.ts",
|
|
5718
|
-
"line":
|
|
5718
|
+
"line": 451
|
|
5719
5719
|
},
|
|
5720
5720
|
"name": "status",
|
|
5721
5721
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5782,7 +5782,7 @@
|
|
|
5782
5782
|
"immutable": true,
|
|
5783
5783
|
"locationInModule": {
|
|
5784
5784
|
"filename": "src/providers/codebuild.ts",
|
|
5785
|
-
"line":
|
|
5785
|
+
"line": 473
|
|
5786
5786
|
},
|
|
5787
5787
|
"name": "connections",
|
|
5788
5788
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -6974,7 +6974,7 @@
|
|
|
6974
6974
|
"kind": "class",
|
|
6975
6975
|
"locationInModule": {
|
|
6976
6976
|
"filename": "src/providers/ec2.ts",
|
|
6977
|
-
"line":
|
|
6977
|
+
"line": 636
|
|
6978
6978
|
},
|
|
6979
6979
|
"name": "Ec2Runner",
|
|
6980
6980
|
"symbolId": "src/providers/ec2:Ec2Runner"
|
|
@@ -7103,7 +7103,7 @@
|
|
|
7103
7103
|
},
|
|
7104
7104
|
"locationInModule": {
|
|
7105
7105
|
"filename": "src/providers/ec2.ts",
|
|
7106
|
-
"line":
|
|
7106
|
+
"line": 575
|
|
7107
7107
|
},
|
|
7108
7108
|
"name": "grantStateMachine",
|
|
7109
7109
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7172,7 +7172,7 @@
|
|
|
7172
7172
|
},
|
|
7173
7173
|
"locationInModule": {
|
|
7174
7174
|
"filename": "src/providers/ec2.ts",
|
|
7175
|
-
"line":
|
|
7175
|
+
"line": 605
|
|
7176
7176
|
},
|
|
7177
7177
|
"name": "status",
|
|
7178
7178
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7201,7 +7201,7 @@
|
|
|
7201
7201
|
"immutable": true,
|
|
7202
7202
|
"locationInModule": {
|
|
7203
7203
|
"filename": "src/providers/ec2.ts",
|
|
7204
|
-
"line":
|
|
7204
|
+
"line": 628
|
|
7205
7205
|
},
|
|
7206
7206
|
"name": "connections",
|
|
7207
7207
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -7700,7 +7700,7 @@
|
|
|
7700
7700
|
},
|
|
7701
7701
|
"locationInModule": {
|
|
7702
7702
|
"filename": "src/providers/ecs.ts",
|
|
7703
|
-
"line":
|
|
7703
|
+
"line": 686
|
|
7704
7704
|
},
|
|
7705
7705
|
"name": "grantStateMachine",
|
|
7706
7706
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7769,7 +7769,7 @@
|
|
|
7769
7769
|
},
|
|
7770
7770
|
"locationInModule": {
|
|
7771
7771
|
"filename": "src/providers/ecs.ts",
|
|
7772
|
-
"line":
|
|
7772
|
+
"line": 689
|
|
7773
7773
|
},
|
|
7774
7774
|
"name": "status",
|
|
7775
7775
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -8373,7 +8373,7 @@
|
|
|
8373
8373
|
"kind": "class",
|
|
8374
8374
|
"locationInModule": {
|
|
8375
8375
|
"filename": "src/providers/fargate.ts",
|
|
8376
|
-
"line":
|
|
8376
|
+
"line": 567
|
|
8377
8377
|
},
|
|
8378
8378
|
"name": "FargateRunner",
|
|
8379
8379
|
"symbolId": "src/providers/fargate:FargateRunner"
|
|
@@ -8502,7 +8502,7 @@
|
|
|
8502
8502
|
},
|
|
8503
8503
|
"locationInModule": {
|
|
8504
8504
|
"filename": "src/providers/fargate.ts",
|
|
8505
|
-
"line":
|
|
8505
|
+
"line": 541
|
|
8506
8506
|
},
|
|
8507
8507
|
"name": "grantStateMachine",
|
|
8508
8508
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -8571,7 +8571,7 @@
|
|
|
8571
8571
|
},
|
|
8572
8572
|
"locationInModule": {
|
|
8573
8573
|
"filename": "src/providers/fargate.ts",
|
|
8574
|
-
"line":
|
|
8574
|
+
"line": 544
|
|
8575
8575
|
},
|
|
8576
8576
|
"name": "status",
|
|
8577
8577
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -9310,7 +9310,7 @@
|
|
|
9310
9310
|
"name": "props",
|
|
9311
9311
|
"optional": true,
|
|
9312
9312
|
"type": {
|
|
9313
|
-
"fqn": "aws-cdk-lib.aws_cloudwatch.
|
|
9313
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
|
|
9314
9314
|
}
|
|
9315
9315
|
}
|
|
9316
9316
|
],
|
|
@@ -9336,7 +9336,7 @@
|
|
|
9336
9336
|
"name": "props",
|
|
9337
9337
|
"optional": true,
|
|
9338
9338
|
"type": {
|
|
9339
|
-
"fqn": "aws-cdk-lib.aws_cloudwatch.
|
|
9339
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
|
|
9340
9340
|
}
|
|
9341
9341
|
}
|
|
9342
9342
|
],
|
|
@@ -9362,7 +9362,7 @@
|
|
|
9362
9362
|
"name": "props",
|
|
9363
9363
|
"optional": true,
|
|
9364
9364
|
"type": {
|
|
9365
|
-
"fqn": "aws-cdk-lib.aws_cloudwatch.
|
|
9365
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
|
|
9366
9366
|
}
|
|
9367
9367
|
}
|
|
9368
9368
|
],
|
|
@@ -9388,7 +9388,7 @@
|
|
|
9388
9388
|
"name": "props",
|
|
9389
9389
|
"optional": true,
|
|
9390
9390
|
"type": {
|
|
9391
|
-
"fqn": "aws-cdk-lib.aws_cloudwatch.
|
|
9391
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
|
|
9392
9392
|
}
|
|
9393
9393
|
}
|
|
9394
9394
|
],
|
|
@@ -11044,7 +11044,7 @@
|
|
|
11044
11044
|
"kind": "class",
|
|
11045
11045
|
"locationInModule": {
|
|
11046
11046
|
"filename": "src/providers/lambda.ts",
|
|
11047
|
-
"line":
|
|
11047
|
+
"line": 481
|
|
11048
11048
|
},
|
|
11049
11049
|
"name": "LambdaRunner",
|
|
11050
11050
|
"symbolId": "src/providers/lambda:LambdaRunner"
|
|
@@ -11173,7 +11173,7 @@
|
|
|
11173
11173
|
},
|
|
11174
11174
|
"locationInModule": {
|
|
11175
11175
|
"filename": "src/providers/lambda.ts",
|
|
11176
|
-
"line":
|
|
11176
|
+
"line": 397
|
|
11177
11177
|
},
|
|
11178
11178
|
"name": "grantStateMachine",
|
|
11179
11179
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -11242,7 +11242,7 @@
|
|
|
11242
11242
|
},
|
|
11243
11243
|
"locationInModule": {
|
|
11244
11244
|
"filename": "src/providers/lambda.ts",
|
|
11245
|
-
"line":
|
|
11245
|
+
"line": 400
|
|
11246
11246
|
},
|
|
11247
11247
|
"name": "status",
|
|
11248
11248
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -14920,6 +14920,6 @@
|
|
|
14920
14920
|
"symbolId": "src/image-builders/aws-image-builder/deprecated/windows-components:WindowsComponents"
|
|
14921
14921
|
}
|
|
14922
14922
|
},
|
|
14923
|
-
"version": "0.14.
|
|
14924
|
-
"fingerprint": "
|
|
14923
|
+
"version": "0.14.18",
|
|
14924
|
+
"fingerprint": "78faIxcJg8nT4vHotUHZaPgQK8EkmIk1Pw2k6eNcPPg="
|
|
14925
14925
|
}
|
package/API.md
CHANGED
|
@@ -3428,7 +3428,7 @@ If you want to be sure you are using the latest runner version, you can use this
|
|
|
3428
3428
|
##### `metricFailed` <a name="metricFailed" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.metricFailed"></a>
|
|
3429
3429
|
|
|
3430
3430
|
```typescript
|
|
3431
|
-
public metricFailed(props?:
|
|
3431
|
+
public metricFailed(props?: MetricOptions): Metric
|
|
3432
3432
|
```
|
|
3433
3433
|
|
|
3434
3434
|
Metric for failed runner executions.
|
|
@@ -3437,14 +3437,14 @@ A failed runner usually means the runner failed to start and so a job was never
|
|
|
3437
3437
|
|
|
3438
3438
|
###### `props`<sup>Optional</sup> <a name="props" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.metricFailed.parameter.props"></a>
|
|
3439
3439
|
|
|
3440
|
-
- *Type:* aws-cdk-lib.aws_cloudwatch.
|
|
3440
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.MetricOptions
|
|
3441
3441
|
|
|
3442
3442
|
---
|
|
3443
3443
|
|
|
3444
3444
|
##### `metricJobCompleted` <a name="metricJobCompleted" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.metricJobCompleted"></a>
|
|
3445
3445
|
|
|
3446
3446
|
```typescript
|
|
3447
|
-
public metricJobCompleted(props?:
|
|
3447
|
+
public metricJobCompleted(props?: MetricOptions): Metric
|
|
3448
3448
|
```
|
|
3449
3449
|
|
|
3450
3450
|
Metric for the number of GitHub Actions jobs completed.
|
|
@@ -3455,14 +3455,14 @@ It has `ProviderLabels` and `Status` dimensions. The status can be one of "Succe
|
|
|
3455
3455
|
|
|
3456
3456
|
###### `props`<sup>Optional</sup> <a name="props" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.metricJobCompleted.parameter.props"></a>
|
|
3457
3457
|
|
|
3458
|
-
- *Type:* aws-cdk-lib.aws_cloudwatch.
|
|
3458
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.MetricOptions
|
|
3459
3459
|
|
|
3460
3460
|
---
|
|
3461
3461
|
|
|
3462
3462
|
##### `metricSucceeded` <a name="metricSucceeded" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.metricSucceeded"></a>
|
|
3463
3463
|
|
|
3464
3464
|
```typescript
|
|
3465
|
-
public metricSucceeded(props?:
|
|
3465
|
+
public metricSucceeded(props?: MetricOptions): Metric
|
|
3466
3466
|
```
|
|
3467
3467
|
|
|
3468
3468
|
Metric for successful executions.
|
|
@@ -3473,14 +3473,14 @@ A successful runner doesn't mean the job it executed was successful. For that, s
|
|
|
3473
3473
|
|
|
3474
3474
|
###### `props`<sup>Optional</sup> <a name="props" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.metricSucceeded.parameter.props"></a>
|
|
3475
3475
|
|
|
3476
|
-
- *Type:* aws-cdk-lib.aws_cloudwatch.
|
|
3476
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.MetricOptions
|
|
3477
3477
|
|
|
3478
3478
|
---
|
|
3479
3479
|
|
|
3480
3480
|
##### `metricTime` <a name="metricTime" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.metricTime"></a>
|
|
3481
3481
|
|
|
3482
3482
|
```typescript
|
|
3483
|
-
public metricTime(props?:
|
|
3483
|
+
public metricTime(props?: MetricOptions): Metric
|
|
3484
3484
|
```
|
|
3485
3485
|
|
|
3486
3486
|
Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
|
|
@@ -3489,7 +3489,7 @@ This time may be longer than the time the runner took.
|
|
|
3489
3489
|
|
|
3490
3490
|
###### `props`<sup>Optional</sup> <a name="props" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.metricTime.parameter.props"></a>
|
|
3491
3491
|
|
|
3492
|
-
- *Type:* aws-cdk-lib.aws_cloudwatch.
|
|
3492
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.MetricOptions
|
|
3493
3493
|
|
|
3494
3494
|
---
|
|
3495
3495
|
|