@cloudsnorkel/cdk-github-runners 0.10.1 → 0.10.2
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 +104 -60
- package/API.md +37 -1
- 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/components.js +2 -3
- package/lib/image-builders/static.js +1 -1
- 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 +3 -16
- package/lib/providers/fargate.js +5 -4
- package/lib/providers/lambda.js +2 -2
- package/lib/runner.d.ts +14 -1
- package/lib/runner.js +25 -3
- package/lib/secrets.js +1 -1
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -6652,7 +6652,7 @@
|
|
|
6652
6652
|
},
|
|
6653
6653
|
"locationInModule": {
|
|
6654
6654
|
"filename": "src/providers/ecs.ts",
|
|
6655
|
-
"line":
|
|
6655
|
+
"line": 310
|
|
6656
6656
|
},
|
|
6657
6657
|
"parameters": [
|
|
6658
6658
|
{
|
|
@@ -6732,7 +6732,7 @@
|
|
|
6732
6732
|
},
|
|
6733
6733
|
"locationInModule": {
|
|
6734
6734
|
"filename": "src/providers/ecs.ts",
|
|
6735
|
-
"line":
|
|
6735
|
+
"line": 496
|
|
6736
6736
|
},
|
|
6737
6737
|
"name": "getStepFunctionTask",
|
|
6738
6738
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6761,7 +6761,7 @@
|
|
|
6761
6761
|
},
|
|
6762
6762
|
"locationInModule": {
|
|
6763
6763
|
"filename": "src/providers/ecs.ts",
|
|
6764
|
-
"line":
|
|
6764
|
+
"line": 543
|
|
6765
6765
|
},
|
|
6766
6766
|
"name": "grantStateMachine",
|
|
6767
6767
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6830,7 +6830,7 @@
|
|
|
6830
6830
|
},
|
|
6831
6831
|
"locationInModule": {
|
|
6832
6832
|
"filename": "src/providers/ecs.ts",
|
|
6833
|
-
"line":
|
|
6833
|
+
"line": 546
|
|
6834
6834
|
},
|
|
6835
6835
|
"name": "status",
|
|
6836
6836
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7305,7 +7305,7 @@
|
|
|
7305
7305
|
},
|
|
7306
7306
|
"locationInModule": {
|
|
7307
7307
|
"filename": "src/providers/fargate.ts",
|
|
7308
|
-
"line":
|
|
7308
|
+
"line": 363
|
|
7309
7309
|
},
|
|
7310
7310
|
"parameters": [
|
|
7311
7311
|
{
|
|
@@ -7332,7 +7332,7 @@
|
|
|
7332
7332
|
"kind": "class",
|
|
7333
7333
|
"locationInModule": {
|
|
7334
7334
|
"filename": "src/providers/fargate.ts",
|
|
7335
|
-
"line":
|
|
7335
|
+
"line": 524
|
|
7336
7336
|
},
|
|
7337
7337
|
"name": "FargateRunner",
|
|
7338
7338
|
"symbolId": "src/providers/fargate:FargateRunner"
|
|
@@ -7352,7 +7352,7 @@
|
|
|
7352
7352
|
},
|
|
7353
7353
|
"locationInModule": {
|
|
7354
7354
|
"filename": "src/providers/fargate.ts",
|
|
7355
|
-
"line":
|
|
7355
|
+
"line": 363
|
|
7356
7356
|
},
|
|
7357
7357
|
"parameters": [
|
|
7358
7358
|
{
|
|
@@ -7382,7 +7382,7 @@
|
|
|
7382
7382
|
"kind": "class",
|
|
7383
7383
|
"locationInModule": {
|
|
7384
7384
|
"filename": "src/providers/fargate.ts",
|
|
7385
|
-
"line":
|
|
7385
|
+
"line": 243
|
|
7386
7386
|
},
|
|
7387
7387
|
"methods": [
|
|
7388
7388
|
{
|
|
@@ -7393,7 +7393,7 @@
|
|
|
7393
7393
|
},
|
|
7394
7394
|
"locationInModule": {
|
|
7395
7395
|
"filename": "src/providers/fargate.ts",
|
|
7396
|
-
"line":
|
|
7396
|
+
"line": 277
|
|
7397
7397
|
},
|
|
7398
7398
|
"name": "imageBuilder",
|
|
7399
7399
|
"parameters": [
|
|
@@ -7432,7 +7432,7 @@
|
|
|
7432
7432
|
},
|
|
7433
7433
|
"locationInModule": {
|
|
7434
7434
|
"filename": "src/providers/fargate.ts",
|
|
7435
|
-
"line":
|
|
7435
|
+
"line": 447
|
|
7436
7436
|
},
|
|
7437
7437
|
"name": "getStepFunctionTask",
|
|
7438
7438
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7461,7 +7461,7 @@
|
|
|
7461
7461
|
},
|
|
7462
7462
|
"locationInModule": {
|
|
7463
7463
|
"filename": "src/providers/fargate.ts",
|
|
7464
|
-
"line":
|
|
7464
|
+
"line": 499
|
|
7465
7465
|
},
|
|
7466
7466
|
"name": "grantStateMachine",
|
|
7467
7467
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7530,7 +7530,7 @@
|
|
|
7530
7530
|
},
|
|
7531
7531
|
"locationInModule": {
|
|
7532
7532
|
"filename": "src/providers/fargate.ts",
|
|
7533
|
-
"line":
|
|
7533
|
+
"line": 502
|
|
7534
7534
|
},
|
|
7535
7535
|
"name": "status",
|
|
7536
7536
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7562,7 +7562,7 @@
|
|
|
7562
7562
|
"immutable": true,
|
|
7563
7563
|
"locationInModule": {
|
|
7564
7564
|
"filename": "src/providers/fargate.ts",
|
|
7565
|
-
"line":
|
|
7565
|
+
"line": 264
|
|
7566
7566
|
},
|
|
7567
7567
|
"name": "LINUX_ARM64_DOCKERFILE_PATH",
|
|
7568
7568
|
"static": true,
|
|
@@ -7581,7 +7581,7 @@
|
|
|
7581
7581
|
"immutable": true,
|
|
7582
7582
|
"locationInModule": {
|
|
7583
7583
|
"filename": "src/providers/fargate.ts",
|
|
7584
|
-
"line":
|
|
7584
|
+
"line": 253
|
|
7585
7585
|
},
|
|
7586
7586
|
"name": "LINUX_X64_DOCKERFILE_PATH",
|
|
7587
7587
|
"static": true,
|
|
@@ -7597,7 +7597,7 @@
|
|
|
7597
7597
|
"immutable": true,
|
|
7598
7598
|
"locationInModule": {
|
|
7599
7599
|
"filename": "src/providers/fargate.ts",
|
|
7600
|
-
"line":
|
|
7600
|
+
"line": 326
|
|
7601
7601
|
},
|
|
7602
7602
|
"name": "assignPublicIp",
|
|
7603
7603
|
"type": {
|
|
@@ -7612,7 +7612,7 @@
|
|
|
7612
7612
|
"immutable": true,
|
|
7613
7613
|
"locationInModule": {
|
|
7614
7614
|
"filename": "src/providers/fargate.ts",
|
|
7615
|
-
"line":
|
|
7615
|
+
"line": 296
|
|
7616
7616
|
},
|
|
7617
7617
|
"name": "cluster",
|
|
7618
7618
|
"type": {
|
|
@@ -7627,7 +7627,7 @@
|
|
|
7627
7627
|
"immutable": true,
|
|
7628
7628
|
"locationInModule": {
|
|
7629
7629
|
"filename": "src/providers/fargate.ts",
|
|
7630
|
-
"line":
|
|
7630
|
+
"line": 336
|
|
7631
7631
|
},
|
|
7632
7632
|
"name": "connections",
|
|
7633
7633
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -7643,7 +7643,7 @@
|
|
|
7643
7643
|
"immutable": true,
|
|
7644
7644
|
"locationInModule": {
|
|
7645
7645
|
"filename": "src/providers/fargate.ts",
|
|
7646
|
-
"line":
|
|
7646
|
+
"line": 306
|
|
7647
7647
|
},
|
|
7648
7648
|
"name": "container",
|
|
7649
7649
|
"type": {
|
|
@@ -7658,7 +7658,7 @@
|
|
|
7658
7658
|
"immutable": true,
|
|
7659
7659
|
"locationInModule": {
|
|
7660
7660
|
"filename": "src/providers/fargate.ts",
|
|
7661
|
-
"line":
|
|
7661
|
+
"line": 331
|
|
7662
7662
|
},
|
|
7663
7663
|
"name": "grantPrincipal",
|
|
7664
7664
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
|
@@ -7675,7 +7675,7 @@
|
|
|
7675
7675
|
"immutable": true,
|
|
7676
7676
|
"locationInModule": {
|
|
7677
7677
|
"filename": "src/providers/fargate.ts",
|
|
7678
|
-
"line":
|
|
7678
|
+
"line": 346
|
|
7679
7679
|
},
|
|
7680
7680
|
"name": "image",
|
|
7681
7681
|
"type": {
|
|
@@ -7690,7 +7690,7 @@
|
|
|
7690
7690
|
"immutable": true,
|
|
7691
7691
|
"locationInModule": {
|
|
7692
7692
|
"filename": "src/providers/fargate.ts",
|
|
7693
|
-
"line":
|
|
7693
|
+
"line": 311
|
|
7694
7694
|
},
|
|
7695
7695
|
"name": "labels",
|
|
7696
7696
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7712,7 +7712,7 @@
|
|
|
7712
7712
|
"immutable": true,
|
|
7713
7713
|
"locationInModule": {
|
|
7714
7714
|
"filename": "src/providers/fargate.ts",
|
|
7715
|
-
"line":
|
|
7715
|
+
"line": 353
|
|
7716
7716
|
},
|
|
7717
7717
|
"name": "logGroup",
|
|
7718
7718
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7728,7 +7728,7 @@
|
|
|
7728
7728
|
"immutable": true,
|
|
7729
7729
|
"locationInModule": {
|
|
7730
7730
|
"filename": "src/providers/fargate.ts",
|
|
7731
|
-
"line":
|
|
7731
|
+
"line": 355
|
|
7732
7732
|
},
|
|
7733
7733
|
"name": "retryableErrors",
|
|
7734
7734
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7749,7 +7749,7 @@
|
|
|
7749
7749
|
"immutable": true,
|
|
7750
7750
|
"locationInModule": {
|
|
7751
7751
|
"filename": "src/providers/fargate.ts",
|
|
7752
|
-
"line":
|
|
7752
|
+
"line": 341
|
|
7753
7753
|
},
|
|
7754
7754
|
"name": "spot",
|
|
7755
7755
|
"type": {
|
|
@@ -7764,7 +7764,7 @@
|
|
|
7764
7764
|
"immutable": true,
|
|
7765
7765
|
"locationInModule": {
|
|
7766
7766
|
"filename": "src/providers/fargate.ts",
|
|
7767
|
-
"line":
|
|
7767
|
+
"line": 301
|
|
7768
7768
|
},
|
|
7769
7769
|
"name": "task",
|
|
7770
7770
|
"type": {
|
|
@@ -7779,7 +7779,7 @@
|
|
|
7779
7779
|
"immutable": true,
|
|
7780
7780
|
"locationInModule": {
|
|
7781
7781
|
"filename": "src/providers/fargate.ts",
|
|
7782
|
-
"line":
|
|
7782
|
+
"line": 321
|
|
7783
7783
|
},
|
|
7784
7784
|
"name": "subnetSelection",
|
|
7785
7785
|
"optional": true,
|
|
@@ -7795,7 +7795,7 @@
|
|
|
7795
7795
|
"immutable": true,
|
|
7796
7796
|
"locationInModule": {
|
|
7797
7797
|
"filename": "src/providers/fargate.ts",
|
|
7798
|
-
"line":
|
|
7798
|
+
"line": 316
|
|
7799
7799
|
},
|
|
7800
7800
|
"name": "vpc",
|
|
7801
7801
|
"optional": true,
|
|
@@ -8095,7 +8095,7 @@
|
|
|
8095
8095
|
},
|
|
8096
8096
|
"locationInModule": {
|
|
8097
8097
|
"filename": "src/runner.ts",
|
|
8098
|
-
"line":
|
|
8098
|
+
"line": 260
|
|
8099
8099
|
},
|
|
8100
8100
|
"parameters": [
|
|
8101
8101
|
{
|
|
@@ -8119,10 +8119,13 @@
|
|
|
8119
8119
|
}
|
|
8120
8120
|
]
|
|
8121
8121
|
},
|
|
8122
|
+
"interfaces": [
|
|
8123
|
+
"aws-cdk-lib.aws_ec2.IConnectable"
|
|
8124
|
+
],
|
|
8122
8125
|
"kind": "class",
|
|
8123
8126
|
"locationInModule": {
|
|
8124
8127
|
"filename": "src/runner.ts",
|
|
8125
|
-
"line":
|
|
8128
|
+
"line": 234
|
|
8126
8129
|
},
|
|
8127
8130
|
"methods": [
|
|
8128
8131
|
{
|
|
@@ -8133,7 +8136,7 @@
|
|
|
8133
8136
|
},
|
|
8134
8137
|
"locationInModule": {
|
|
8135
8138
|
"filename": "src/runner.ts",
|
|
8136
|
-
"line":
|
|
8139
|
+
"line": 737
|
|
8137
8140
|
},
|
|
8138
8141
|
"name": "failedImageBuildsTopic",
|
|
8139
8142
|
"returns": {
|
|
@@ -8150,7 +8153,7 @@
|
|
|
8150
8153
|
},
|
|
8151
8154
|
"locationInModule": {
|
|
8152
8155
|
"filename": "src/runner.ts",
|
|
8153
|
-
"line":
|
|
8156
|
+
"line": 719
|
|
8154
8157
|
},
|
|
8155
8158
|
"name": "metricFailed",
|
|
8156
8159
|
"parameters": [
|
|
@@ -8176,7 +8179,7 @@
|
|
|
8176
8179
|
},
|
|
8177
8180
|
"locationInModule": {
|
|
8178
8181
|
"filename": "src/runner.ts",
|
|
8179
|
-
"line":
|
|
8182
|
+
"line": 664
|
|
8180
8183
|
},
|
|
8181
8184
|
"name": "metricJobCompleted",
|
|
8182
8185
|
"parameters": [
|
|
@@ -8202,7 +8205,7 @@
|
|
|
8202
8205
|
},
|
|
8203
8206
|
"locationInModule": {
|
|
8204
8207
|
"filename": "src/runner.ts",
|
|
8205
|
-
"line":
|
|
8208
|
+
"line": 710
|
|
8206
8209
|
},
|
|
8207
8210
|
"name": "metricSucceeded",
|
|
8208
8211
|
"parameters": [
|
|
@@ -8228,7 +8231,7 @@
|
|
|
8228
8231
|
},
|
|
8229
8232
|
"locationInModule": {
|
|
8230
8233
|
"filename": "src/runner.ts",
|
|
8231
|
-
"line":
|
|
8234
|
+
"line": 726
|
|
8232
8235
|
},
|
|
8233
8236
|
"name": "metricTime",
|
|
8234
8237
|
"parameters": [
|
|
@@ -8249,6 +8252,23 @@
|
|
|
8249
8252
|
],
|
|
8250
8253
|
"name": "GitHubRunners",
|
|
8251
8254
|
"properties": [
|
|
8255
|
+
{
|
|
8256
|
+
"docs": {
|
|
8257
|
+
"remarks": "Use this to enable connections to your GitHub Enterprise Server in a VPC.\n\nThis cannot be used to manage connections of the runners. Use the `connections` property of each runner provider to manage runner connections.",
|
|
8258
|
+
"stability": "experimental",
|
|
8259
|
+
"summary": "Manage the connections of all management functions."
|
|
8260
|
+
},
|
|
8261
|
+
"immutable": true,
|
|
8262
|
+
"locationInModule": {
|
|
8263
|
+
"filename": "src/runner.ts",
|
|
8264
|
+
"line": 250
|
|
8265
|
+
},
|
|
8266
|
+
"name": "connections",
|
|
8267
|
+
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
8268
|
+
"type": {
|
|
8269
|
+
"fqn": "aws-cdk-lib.aws_ec2.Connections"
|
|
8270
|
+
}
|
|
8271
|
+
},
|
|
8252
8272
|
{
|
|
8253
8273
|
"docs": {
|
|
8254
8274
|
"stability": "experimental",
|
|
@@ -8257,7 +8277,7 @@
|
|
|
8257
8277
|
"immutable": true,
|
|
8258
8278
|
"locationInModule": {
|
|
8259
8279
|
"filename": "src/runner.ts",
|
|
8260
|
-
"line":
|
|
8280
|
+
"line": 238
|
|
8261
8281
|
},
|
|
8262
8282
|
"name": "providers",
|
|
8263
8283
|
"type": {
|
|
@@ -8277,7 +8297,7 @@
|
|
|
8277
8297
|
"immutable": true,
|
|
8278
8298
|
"locationInModule": {
|
|
8279
8299
|
"filename": "src/runner.ts",
|
|
8280
|
-
"line":
|
|
8300
|
+
"line": 243
|
|
8281
8301
|
},
|
|
8282
8302
|
"name": "secrets",
|
|
8283
8303
|
"type": {
|
|
@@ -8291,7 +8311,7 @@
|
|
|
8291
8311
|
"immutable": true,
|
|
8292
8312
|
"locationInModule": {
|
|
8293
8313
|
"filename": "src/runner.ts",
|
|
8294
|
-
"line":
|
|
8314
|
+
"line": 260
|
|
8295
8315
|
},
|
|
8296
8316
|
"name": "props",
|
|
8297
8317
|
"optional": true,
|
|
@@ -8346,7 +8366,7 @@
|
|
|
8346
8366
|
"immutable": true,
|
|
8347
8367
|
"locationInModule": {
|
|
8348
8368
|
"filename": "src/runner.ts",
|
|
8349
|
-
"line":
|
|
8369
|
+
"line": 107
|
|
8350
8370
|
},
|
|
8351
8371
|
"name": "extraCertificates",
|
|
8352
8372
|
"optional": true,
|
|
@@ -8365,7 +8385,7 @@
|
|
|
8365
8385
|
"immutable": true,
|
|
8366
8386
|
"locationInModule": {
|
|
8367
8387
|
"filename": "src/runner.ts",
|
|
8368
|
-
"line":
|
|
8388
|
+
"line": 114
|
|
8369
8389
|
},
|
|
8370
8390
|
"name": "idleTimeout",
|
|
8371
8391
|
"optional": true,
|
|
@@ -8383,7 +8403,7 @@
|
|
|
8383
8403
|
"immutable": true,
|
|
8384
8404
|
"locationInModule": {
|
|
8385
8405
|
"filename": "src/runner.ts",
|
|
8386
|
-
"line":
|
|
8406
|
+
"line": 121
|
|
8387
8407
|
},
|
|
8388
8408
|
"name": "logOptions",
|
|
8389
8409
|
"optional": true,
|
|
@@ -8426,7 +8446,7 @@
|
|
|
8426
8446
|
"immutable": true,
|
|
8427
8447
|
"locationInModule": {
|
|
8428
8448
|
"filename": "src/runner.ts",
|
|
8429
|
-
"line":
|
|
8449
|
+
"line": 158
|
|
8430
8450
|
},
|
|
8431
8451
|
"name": "retryOptions",
|
|
8432
8452
|
"optional": true,
|
|
@@ -8437,14 +8457,15 @@
|
|
|
8437
8457
|
{
|
|
8438
8458
|
"abstract": true,
|
|
8439
8459
|
"docs": {
|
|
8460
|
+
"deprecated": "use {@link securityGroups } instead",
|
|
8440
8461
|
"remarks": "Use this with to provide access to GitHub Enterprise Server hosted inside a VPC.",
|
|
8441
|
-
"stability": "
|
|
8462
|
+
"stability": "deprecated",
|
|
8442
8463
|
"summary": "Security group attached to all management functions."
|
|
8443
8464
|
},
|
|
8444
8465
|
"immutable": true,
|
|
8445
8466
|
"locationInModule": {
|
|
8446
8467
|
"filename": "src/runner.ts",
|
|
8447
|
-
"line":
|
|
8468
|
+
"line": 77
|
|
8448
8469
|
},
|
|
8449
8470
|
"name": "securityGroup",
|
|
8450
8471
|
"optional": true,
|
|
@@ -8452,6 +8473,29 @@
|
|
|
8452
8473
|
"fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
|
|
8453
8474
|
}
|
|
8454
8475
|
},
|
|
8476
|
+
{
|
|
8477
|
+
"abstract": true,
|
|
8478
|
+
"docs": {
|
|
8479
|
+
"remarks": "Use this with to provide access to GitHub Enterprise Server hosted inside a VPC.",
|
|
8480
|
+
"stability": "experimental",
|
|
8481
|
+
"summary": "Security groups attached to all management functions."
|
|
8482
|
+
},
|
|
8483
|
+
"immutable": true,
|
|
8484
|
+
"locationInModule": {
|
|
8485
|
+
"filename": "src/runner.ts",
|
|
8486
|
+
"line": 82
|
|
8487
|
+
},
|
|
8488
|
+
"name": "securityGroups",
|
|
8489
|
+
"optional": true,
|
|
8490
|
+
"type": {
|
|
8491
|
+
"collection": {
|
|
8492
|
+
"elementtype": {
|
|
8493
|
+
"fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
|
|
8494
|
+
},
|
|
8495
|
+
"kind": "array"
|
|
8496
|
+
}
|
|
8497
|
+
}
|
|
8498
|
+
},
|
|
8455
8499
|
{
|
|
8456
8500
|
"abstract": true,
|
|
8457
8501
|
"docs": {
|
|
@@ -8463,7 +8507,7 @@
|
|
|
8463
8507
|
"immutable": true,
|
|
8464
8508
|
"locationInModule": {
|
|
8465
8509
|
"filename": "src/runner.ts",
|
|
8466
|
-
"line":
|
|
8510
|
+
"line": 128
|
|
8467
8511
|
},
|
|
8468
8512
|
"name": "setupAccess",
|
|
8469
8513
|
"optional": true,
|
|
@@ -8482,7 +8526,7 @@
|
|
|
8482
8526
|
"immutable": true,
|
|
8483
8527
|
"locationInModule": {
|
|
8484
8528
|
"filename": "src/runner.ts",
|
|
8485
|
-
"line":
|
|
8529
|
+
"line": 147
|
|
8486
8530
|
},
|
|
8487
8531
|
"name": "statusAccess",
|
|
8488
8532
|
"optional": true,
|
|
@@ -8537,7 +8581,7 @@
|
|
|
8537
8581
|
"immutable": true,
|
|
8538
8582
|
"locationInModule": {
|
|
8539
8583
|
"filename": "src/runner.ts",
|
|
8540
|
-
"line":
|
|
8584
|
+
"line": 140
|
|
8541
8585
|
},
|
|
8542
8586
|
"name": "webhookAccess",
|
|
8543
8587
|
"optional": true,
|
|
@@ -10478,7 +10522,7 @@
|
|
|
10478
10522
|
"kind": "interface",
|
|
10479
10523
|
"locationInModule": {
|
|
10480
10524
|
"filename": "src/runner.ts",
|
|
10481
|
-
"line":
|
|
10525
|
+
"line": 164
|
|
10482
10526
|
},
|
|
10483
10527
|
"name": "LogOptions",
|
|
10484
10528
|
"properties": [
|
|
@@ -10492,7 +10536,7 @@
|
|
|
10492
10536
|
"immutable": true,
|
|
10493
10537
|
"locationInModule": {
|
|
10494
10538
|
"filename": "src/runner.ts",
|
|
10495
|
-
"line":
|
|
10539
|
+
"line": 175
|
|
10496
10540
|
},
|
|
10497
10541
|
"name": "includeExecutionData",
|
|
10498
10542
|
"optional": true,
|
|
@@ -10510,7 +10554,7 @@
|
|
|
10510
10554
|
"immutable": true,
|
|
10511
10555
|
"locationInModule": {
|
|
10512
10556
|
"filename": "src/runner.ts",
|
|
10513
|
-
"line":
|
|
10557
|
+
"line": 182
|
|
10514
10558
|
},
|
|
10515
10559
|
"name": "level",
|
|
10516
10560
|
"optional": true,
|
|
@@ -10527,7 +10571,7 @@
|
|
|
10527
10571
|
"immutable": true,
|
|
10528
10572
|
"locationInModule": {
|
|
10529
10573
|
"filename": "src/runner.ts",
|
|
10530
|
-
"line":
|
|
10574
|
+
"line": 168
|
|
10531
10575
|
},
|
|
10532
10576
|
"name": "logGroupName",
|
|
10533
10577
|
"optional": true,
|
|
@@ -10546,7 +10590,7 @@
|
|
|
10546
10590
|
"immutable": true,
|
|
10547
10591
|
"locationInModule": {
|
|
10548
10592
|
"filename": "src/runner.ts",
|
|
10549
|
-
"line":
|
|
10593
|
+
"line": 191
|
|
10550
10594
|
},
|
|
10551
10595
|
"name": "logRetention",
|
|
10552
10596
|
"optional": true,
|
|
@@ -11749,7 +11793,7 @@
|
|
|
11749
11793
|
},
|
|
11750
11794
|
"locationInModule": {
|
|
11751
11795
|
"filename": "src/image-builders/components.ts",
|
|
11752
|
-
"line":
|
|
11796
|
+
"line": 446
|
|
11753
11797
|
},
|
|
11754
11798
|
"name": "extraCertificates",
|
|
11755
11799
|
"parameters": [
|
|
@@ -11850,7 +11894,7 @@
|
|
|
11850
11894
|
},
|
|
11851
11895
|
"locationInModule": {
|
|
11852
11896
|
"filename": "src/image-builders/components.ts",
|
|
11853
|
-
"line":
|
|
11897
|
+
"line": 496
|
|
11854
11898
|
},
|
|
11855
11899
|
"name": "lambdaEntrypoint",
|
|
11856
11900
|
"returns": {
|
|
@@ -11902,7 +11946,7 @@
|
|
|
11902
11946
|
},
|
|
11903
11947
|
"locationInModule": {
|
|
11904
11948
|
"filename": "src/image-builders/components.ts",
|
|
11905
|
-
"line":
|
|
11949
|
+
"line": 545
|
|
11906
11950
|
},
|
|
11907
11951
|
"name": "getAssets",
|
|
11908
11952
|
"parameters": [
|
|
@@ -11939,7 +11983,7 @@
|
|
|
11939
11983
|
},
|
|
11940
11984
|
"locationInModule": {
|
|
11941
11985
|
"filename": "src/image-builders/components.ts",
|
|
11942
|
-
"line":
|
|
11986
|
+
"line": 540
|
|
11943
11987
|
},
|
|
11944
11988
|
"name": "getCommands",
|
|
11945
11989
|
"parameters": [
|
|
@@ -11975,7 +12019,7 @@
|
|
|
11975
12019
|
},
|
|
11976
12020
|
"locationInModule": {
|
|
11977
12021
|
"filename": "src/image-builders/components.ts",
|
|
11978
|
-
"line":
|
|
12022
|
+
"line": 554
|
|
11979
12023
|
},
|
|
11980
12024
|
"name": "getDockerCommands",
|
|
11981
12025
|
"parameters": [
|
|
@@ -12010,7 +12054,7 @@
|
|
|
12010
12054
|
},
|
|
12011
12055
|
"locationInModule": {
|
|
12012
12056
|
"filename": "src/image-builders/components.ts",
|
|
12013
|
-
"line":
|
|
12057
|
+
"line": 561
|
|
12014
12058
|
},
|
|
12015
12059
|
"name": "shouldReboot",
|
|
12016
12060
|
"parameters": [
|
|
@@ -12046,7 +12090,7 @@
|
|
|
12046
12090
|
"immutable": true,
|
|
12047
12091
|
"locationInModule": {
|
|
12048
12092
|
"filename": "src/image-builders/components.ts",
|
|
12049
|
-
"line":
|
|
12093
|
+
"line": 535
|
|
12050
12094
|
},
|
|
12051
12095
|
"name": "name",
|
|
12052
12096
|
"type": {
|
|
@@ -12930,6 +12974,6 @@
|
|
|
12930
12974
|
"symbolId": "src/image-builders/aws-image-builder/deprecated/windows-components:WindowsComponents"
|
|
12931
12975
|
}
|
|
12932
12976
|
},
|
|
12933
|
-
"version": "0.10.
|
|
12934
|
-
"fingerprint": "
|
|
12977
|
+
"version": "0.10.2",
|
|
12978
|
+
"fingerprint": "VmmbaKTHcQMKG1k36SHCqcwirP+vP4naUPBWSRvhZwY="
|
|
12935
12979
|
}
|
package/API.md
CHANGED
|
@@ -3117,6 +3117,8 @@ Available build arguments that can be set in the image builder:
|
|
|
3117
3117
|
|
|
3118
3118
|
### GitHubRunners <a name="GitHubRunners" id="@cloudsnorkel/cdk-github-runners.GitHubRunners"></a>
|
|
3119
3119
|
|
|
3120
|
+
- *Implements:* aws-cdk-lib.aws_ec2.IConnectable
|
|
3121
|
+
|
|
3120
3122
|
Create all the required infrastructure to provide self-hosted GitHub runners.
|
|
3121
3123
|
|
|
3122
3124
|
It creates a webhook, secrets, and a step function to orchestrate all runs. Secrets are not automatically filled. See README.md for instructions on how to setup GitHub integration.
|
|
@@ -3324,6 +3326,7 @@ Any object.
|
|
|
3324
3326
|
| **Name** | **Type** | **Description** |
|
|
3325
3327
|
| --- | --- | --- |
|
|
3326
3328
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunners.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
|
3329
|
+
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunners.property.connections">connections</a></code> | <code>aws-cdk-lib.aws_ec2.Connections</code> | Manage the connections of all management functions. |
|
|
3327
3330
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunners.property.providers">providers</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.IRunnerProvider">IRunnerProvider</a>[]</code> | Configured runner providers. |
|
|
3328
3331
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunners.property.secrets">secrets</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.Secrets">Secrets</a></code> | Secrets for GitHub communication including webhook secret and runner authentication. |
|
|
3329
3332
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunners.property.props">props</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunnersProps">GitHubRunnersProps</a></code> | *No description.* |
|
|
@@ -3342,6 +3345,22 @@ The tree node.
|
|
|
3342
3345
|
|
|
3343
3346
|
---
|
|
3344
3347
|
|
|
3348
|
+
##### `connections`<sup>Required</sup> <a name="connections" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.property.connections"></a>
|
|
3349
|
+
|
|
3350
|
+
```typescript
|
|
3351
|
+
public readonly connections: Connections;
|
|
3352
|
+
```
|
|
3353
|
+
|
|
3354
|
+
- *Type:* aws-cdk-lib.aws_ec2.Connections
|
|
3355
|
+
|
|
3356
|
+
Manage the connections of all management functions.
|
|
3357
|
+
|
|
3358
|
+
Use this to enable connections to your GitHub Enterprise Server in a VPC.
|
|
3359
|
+
|
|
3360
|
+
This cannot be used to manage connections of the runners. Use the `connections` property of each runner provider to manage runner connections.
|
|
3361
|
+
|
|
3362
|
+
---
|
|
3363
|
+
|
|
3345
3364
|
##### `providers`<sup>Required</sup> <a name="providers" id="@cloudsnorkel/cdk-github-runners.GitHubRunners.property.providers"></a>
|
|
3346
3365
|
|
|
3347
3366
|
```typescript
|
|
@@ -6600,6 +6619,7 @@ const gitHubRunnersProps: GitHubRunnersProps = { ... }
|
|
|
6600
6619
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.providers">providers</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.IRunnerProvider">IRunnerProvider</a>[]</code> | List of runner providers to use. |
|
|
6601
6620
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.retryOptions">retryOptions</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.ProviderRetryOptions">ProviderRetryOptions</a></code> | Options to retry operation in case of failure like missing capacity, or API quota issues. |
|
|
6602
6621
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.securityGroup">securityGroup</a></code> | <code>aws-cdk-lib.aws_ec2.ISecurityGroup</code> | Security group attached to all management functions. |
|
|
6622
|
+
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.securityGroups">securityGroups</a></code> | <code>aws-cdk-lib.aws_ec2.ISecurityGroup[]</code> | Security groups attached to all management functions. |
|
|
6603
6623
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.setupAccess">setupAccess</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaAccess">LambdaAccess</a></code> | Access configuration for the setup function. |
|
|
6604
6624
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.statusAccess">statusAccess</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaAccess">LambdaAccess</a></code> | Access configuration for the status function. |
|
|
6605
6625
|
| <code><a href="#@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.vpc">vpc</a></code> | <code>aws-cdk-lib.aws_ec2.IVpc</code> | VPC used for all management functions. Use this with GitHub Enterprise Server hosted that's inaccessible from outside the VPC. |
|
|
@@ -6715,7 +6735,9 @@ Total time spent waiting can be calculated with interval * (backoffRate ^ maxAtt
|
|
|
6715
6735
|
|
|
6716
6736
|
---
|
|
6717
6737
|
|
|
6718
|
-
#####
|
|
6738
|
+
##### ~~`securityGroup`~~<sup>Optional</sup> <a name="securityGroup" id="@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.securityGroup"></a>
|
|
6739
|
+
|
|
6740
|
+
- *Deprecated:* use {@link securityGroups } instead
|
|
6719
6741
|
|
|
6720
6742
|
```typescript
|
|
6721
6743
|
public readonly securityGroup: ISecurityGroup;
|
|
@@ -6729,6 +6751,20 @@ Use this with to provide access to GitHub Enterprise Server hosted inside a VPC.
|
|
|
6729
6751
|
|
|
6730
6752
|
---
|
|
6731
6753
|
|
|
6754
|
+
##### `securityGroups`<sup>Optional</sup> <a name="securityGroups" id="@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.securityGroups"></a>
|
|
6755
|
+
|
|
6756
|
+
```typescript
|
|
6757
|
+
public readonly securityGroups: ISecurityGroup[];
|
|
6758
|
+
```
|
|
6759
|
+
|
|
6760
|
+
- *Type:* aws-cdk-lib.aws_ec2.ISecurityGroup[]
|
|
6761
|
+
|
|
6762
|
+
Security groups attached to all management functions.
|
|
6763
|
+
|
|
6764
|
+
Use this with to provide access to GitHub Enterprise Server hosted inside a VPC.
|
|
6765
|
+
|
|
6766
|
+
---
|
|
6767
|
+
|
|
6732
6768
|
##### `setupAccess`<sup>Optional</sup> <a name="setupAccess" id="@cloudsnorkel/cdk-github-runners.GitHubRunnersProps.property.setupAccess"></a>
|
|
6733
6769
|
|
|
6734
6770
|
```typescript
|
package/lib/access.js
CHANGED
|
@@ -56,7 +56,7 @@ class LambdaAccess {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
_a = JSII_RTTI_SYMBOL_1;
|
|
59
|
-
LambdaAccess[_a] = { fqn: "@cloudsnorkel/cdk-github-runners.LambdaAccess", version: "0.10.
|
|
59
|
+
LambdaAccess[_a] = { fqn: "@cloudsnorkel/cdk-github-runners.LambdaAccess", version: "0.10.2" };
|
|
60
60
|
exports.LambdaAccess = LambdaAccess;
|
|
61
61
|
/**
|
|
62
62
|
* @internal
|
|
@@ -42,6 +42,6 @@ class RunnerImageBuilder extends common_1.RunnerImageBuilderBase {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
_a = JSII_RTTI_SYMBOL_1;
|
|
45
|
-
RunnerImageBuilder[_a] = { fqn: "@cloudsnorkel/cdk-github-runners.RunnerImageBuilder", version: "0.10.
|
|
45
|
+
RunnerImageBuilder[_a] = { fqn: "@cloudsnorkel/cdk-github-runners.RunnerImageBuilder", version: "0.10.2" };
|
|
46
46
|
exports.RunnerImageBuilder = RunnerImageBuilder;
|
|
47
47
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ltYWdlLWJ1aWxkZXJzL2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZDQUEwQztBQUUxQywyREFBd0U7QUFDeEUsMkNBQTBEO0FBQzFELHFDQUFtRztBQUNuRyxnREFBeUM7QUFFekM7Ozs7OztHQU1HO0FBQ0gsTUFBc0Isa0JBQW1CLFNBQVEsK0JBQXNCO0lBQ3JFOztPQUVHO0lBQ0gsTUFBTSxDQUFDLEdBQUcsQ0FBQyxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUErQjtRQUN0RSxJQUFJLEtBQUssRUFBRSxVQUFVLElBQUksS0FBSyxDQUFDLGFBQWEsRUFBRTtZQUM1Qyx5QkFBVyxDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxVQUFVLENBQUMsa0hBQWtILENBQUMsQ0FBQztTQUN0SjtRQUVELElBQUksS0FBSyxFQUFFLFdBQVcsS0FBSywrQkFBc0IsQ0FBQyxVQUFVLEVBQUU7WUFDNUQsT0FBTyxJQUFJLHVDQUEyQixDQUFDLEtBQUssRUFBRSxFQUFFLEVBQUUsS0FBSyxDQUFDLENBQUM7U0FDMUQ7YUFBTSxJQUFJLEtBQUssRUFBRSxXQUFXLEtBQU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