@cloudsnorkel/cdk-github-runners 0.14.16 → 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 +116 -116
- 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 +5 -4
- package/lib/providers/common.d.ts +9 -1
- package/lib/providers/common.js +29 -7
- package/lib/providers/composite.js +10 -5
- package/lib/providers/ec2.js +7 -5
- package/lib/providers/ecs.js +4 -3
- package/lib/providers/fargate.js +5 -4
- package/lib/providers/lambda.js +5 -4
- 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/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
|
|