@cloudsnorkel/cdk-github-runners 0.13.0 → 0.13.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 +143 -87
- package/API.md +41 -0
- package/assets/image-builders/aws-image-builder/versioner.lambda/index.js +14 -0
- package/assets/webhook-handler.lambda/index.js +3 -1
- package/lib/access.js +1 -1
- package/lib/image-builders/api.js +1 -1
- package/lib/image-builders/aws-image-builder/builder.d.ts +1 -0
- package/lib/image-builders/aws-image-builder/builder.js +22 -2
- package/lib/image-builders/aws-image-builder/common.d.ts +1 -1
- package/lib/image-builders/aws-image-builder/common.js +2 -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/aws-image-builder/versioner.lambda.js +15 -1
- package/lib/image-builders/aws-image-builder/workflow.d.ts +36 -0
- package/lib/image-builders/aws-image-builder/workflow.js +100 -0
- package/lib/image-builders/codebuild-deprecated.js +1 -1
- package/lib/image-builders/codebuild.d.ts +1 -0
- package/lib/image-builders/codebuild.js +8 -2
- package/lib/image-builders/common.d.ts +10 -0
- package/lib/image-builders/common.js +1 -1
- package/lib/image-builders/components.d.ts +10 -0
- package/lib/image-builders/components.js +35 -2
- package/lib/image-builders/static.js +1 -1
- package/lib/providers/codebuild.js +13 -3
- package/lib/providers/common.js +3 -3
- package/lib/providers/ec2.js +2 -2
- package/lib/providers/ecs.js +1 -1
- package/lib/providers/fargate.js +2 -2
- package/lib/providers/lambda.js +2 -2
- package/lib/runner.js +1 -1
- package/lib/secrets.js +1 -1
- package/lib/webhook-handler.lambda.js +4 -2
- package/package.json +15 -15
package/.jsii
CHANGED
|
@@ -4654,7 +4654,7 @@
|
|
|
4654
4654
|
"kind": "interface",
|
|
4655
4655
|
"locationInModule": {
|
|
4656
4656
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
4657
|
-
"line":
|
|
4657
|
+
"line": 33
|
|
4658
4658
|
},
|
|
4659
4659
|
"name": "AwsImageBuilderRunnerImageBuilderProps",
|
|
4660
4660
|
"properties": [
|
|
@@ -4669,7 +4669,7 @@
|
|
|
4669
4669
|
"immutable": true,
|
|
4670
4670
|
"locationInModule": {
|
|
4671
4671
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
4672
|
-
"line":
|
|
4672
|
+
"line": 48
|
|
4673
4673
|
},
|
|
4674
4674
|
"name": "fastLaunchOptions",
|
|
4675
4675
|
"optional": true,
|
|
@@ -4687,7 +4687,7 @@
|
|
|
4687
4687
|
"immutable": true,
|
|
4688
4688
|
"locationInModule": {
|
|
4689
4689
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
4690
|
-
"line":
|
|
4690
|
+
"line": 39
|
|
4691
4691
|
},
|
|
4692
4692
|
"name": "instanceType",
|
|
4693
4693
|
"optional": true,
|
|
@@ -5238,7 +5238,7 @@
|
|
|
5238
5238
|
},
|
|
5239
5239
|
"locationInModule": {
|
|
5240
5240
|
"filename": "src/providers/codebuild.ts",
|
|
5241
|
-
"line":
|
|
5241
|
+
"line": 227
|
|
5242
5242
|
},
|
|
5243
5243
|
"parameters": [
|
|
5244
5244
|
{
|
|
@@ -5265,7 +5265,7 @@
|
|
|
5265
5265
|
"kind": "class",
|
|
5266
5266
|
"locationInModule": {
|
|
5267
5267
|
"filename": "src/providers/codebuild.ts",
|
|
5268
|
-
"line":
|
|
5268
|
+
"line": 445
|
|
5269
5269
|
},
|
|
5270
5270
|
"name": "CodeBuildRunner",
|
|
5271
5271
|
"symbolId": "src/providers/codebuild:CodeBuildRunner"
|
|
@@ -5359,7 +5359,7 @@
|
|
|
5359
5359
|
},
|
|
5360
5360
|
"locationInModule": {
|
|
5361
5361
|
"filename": "src/providers/codebuild.ts",
|
|
5362
|
-
"line":
|
|
5362
|
+
"line": 227
|
|
5363
5363
|
},
|
|
5364
5364
|
"parameters": [
|
|
5365
5365
|
{
|
|
@@ -5389,7 +5389,7 @@
|
|
|
5389
5389
|
"kind": "class",
|
|
5390
5390
|
"locationInModule": {
|
|
5391
5391
|
"filename": "src/providers/codebuild.ts",
|
|
5392
|
-
"line":
|
|
5392
|
+
"line": 125
|
|
5393
5393
|
},
|
|
5394
5394
|
"methods": [
|
|
5395
5395
|
{
|
|
@@ -5400,7 +5400,7 @@
|
|
|
5400
5400
|
},
|
|
5401
5401
|
"locationInModule": {
|
|
5402
5402
|
"filename": "src/providers/codebuild.ts",
|
|
5403
|
-
"line":
|
|
5403
|
+
"line": 174
|
|
5404
5404
|
},
|
|
5405
5405
|
"name": "imageBuilder",
|
|
5406
5406
|
"parameters": [
|
|
@@ -5439,7 +5439,7 @@
|
|
|
5439
5439
|
},
|
|
5440
5440
|
"locationInModule": {
|
|
5441
5441
|
"filename": "src/providers/codebuild.ts",
|
|
5442
|
-
"line":
|
|
5442
|
+
"line": 372
|
|
5443
5443
|
},
|
|
5444
5444
|
"name": "getStepFunctionTask",
|
|
5445
5445
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5468,7 +5468,7 @@
|
|
|
5468
5468
|
},
|
|
5469
5469
|
"locationInModule": {
|
|
5470
5470
|
"filename": "src/providers/codebuild.ts",
|
|
5471
|
-
"line":
|
|
5471
|
+
"line": 413
|
|
5472
5472
|
},
|
|
5473
5473
|
"name": "grantStateMachine",
|
|
5474
5474
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5537,7 +5537,7 @@
|
|
|
5537
5537
|
},
|
|
5538
5538
|
"locationInModule": {
|
|
5539
5539
|
"filename": "src/providers/codebuild.ts",
|
|
5540
|
-
"line":
|
|
5540
|
+
"line": 416
|
|
5541
5541
|
},
|
|
5542
5542
|
"name": "status",
|
|
5543
5543
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5569,7 +5569,7 @@
|
|
|
5569
5569
|
"immutable": true,
|
|
5570
5570
|
"locationInModule": {
|
|
5571
5571
|
"filename": "src/providers/codebuild.ts",
|
|
5572
|
-
"line":
|
|
5572
|
+
"line": 154
|
|
5573
5573
|
},
|
|
5574
5574
|
"name": "LINUX_ARM64_DOCKERFILE_PATH",
|
|
5575
5575
|
"static": true,
|
|
@@ -5588,7 +5588,7 @@
|
|
|
5588
5588
|
"immutable": true,
|
|
5589
5589
|
"locationInModule": {
|
|
5590
5590
|
"filename": "src/providers/codebuild.ts",
|
|
5591
|
-
"line":
|
|
5591
|
+
"line": 139
|
|
5592
5592
|
},
|
|
5593
5593
|
"name": "LINUX_X64_DOCKERFILE_PATH",
|
|
5594
5594
|
"static": true,
|
|
@@ -5604,7 +5604,7 @@
|
|
|
5604
5604
|
"immutable": true,
|
|
5605
5605
|
"locationInModule": {
|
|
5606
5606
|
"filename": "src/providers/codebuild.ts",
|
|
5607
|
-
"line":
|
|
5607
|
+
"line": 437
|
|
5608
5608
|
},
|
|
5609
5609
|
"name": "connections",
|
|
5610
5610
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -5620,7 +5620,7 @@
|
|
|
5620
5620
|
"immutable": true,
|
|
5621
5621
|
"locationInModule": {
|
|
5622
5622
|
"filename": "src/providers/codebuild.ts",
|
|
5623
|
-
"line":
|
|
5623
|
+
"line": 204
|
|
5624
5624
|
},
|
|
5625
5625
|
"name": "grantPrincipal",
|
|
5626
5626
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
|
@@ -5637,7 +5637,7 @@
|
|
|
5637
5637
|
"immutable": true,
|
|
5638
5638
|
"locationInModule": {
|
|
5639
5639
|
"filename": "src/providers/codebuild.ts",
|
|
5640
|
-
"line":
|
|
5640
|
+
"line": 209
|
|
5641
5641
|
},
|
|
5642
5642
|
"name": "image",
|
|
5643
5643
|
"type": {
|
|
@@ -5652,7 +5652,7 @@
|
|
|
5652
5652
|
"immutable": true,
|
|
5653
5653
|
"locationInModule": {
|
|
5654
5654
|
"filename": "src/providers/codebuild.ts",
|
|
5655
|
-
"line":
|
|
5655
|
+
"line": 199
|
|
5656
5656
|
},
|
|
5657
5657
|
"name": "labels",
|
|
5658
5658
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5674,7 +5674,7 @@
|
|
|
5674
5674
|
"immutable": true,
|
|
5675
5675
|
"locationInModule": {
|
|
5676
5676
|
"filename": "src/providers/codebuild.ts",
|
|
5677
|
-
"line":
|
|
5677
|
+
"line": 216
|
|
5678
5678
|
},
|
|
5679
5679
|
"name": "logGroup",
|
|
5680
5680
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5690,7 +5690,7 @@
|
|
|
5690
5690
|
"immutable": true,
|
|
5691
5691
|
"locationInModule": {
|
|
5692
5692
|
"filename": "src/providers/codebuild.ts",
|
|
5693
|
-
"line":
|
|
5693
|
+
"line": 194
|
|
5694
5694
|
},
|
|
5695
5695
|
"name": "project",
|
|
5696
5696
|
"type": {
|
|
@@ -5705,7 +5705,7 @@
|
|
|
5705
5705
|
"immutable": true,
|
|
5706
5706
|
"locationInModule": {
|
|
5707
5707
|
"filename": "src/providers/codebuild.ts",
|
|
5708
|
-
"line":
|
|
5708
|
+
"line": 218
|
|
5709
5709
|
},
|
|
5710
5710
|
"name": "retryableErrors",
|
|
5711
5711
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5734,7 +5734,7 @@
|
|
|
5734
5734
|
"kind": "interface",
|
|
5735
5735
|
"locationInModule": {
|
|
5736
5736
|
"filename": "src/providers/codebuild.ts",
|
|
5737
|
-
"line":
|
|
5737
|
+
"line": 31
|
|
5738
5738
|
},
|
|
5739
5739
|
"name": "CodeBuildRunnerProviderProps",
|
|
5740
5740
|
"properties": [
|
|
@@ -5749,7 +5749,7 @@
|
|
|
5749
5749
|
"immutable": true,
|
|
5750
5750
|
"locationInModule": {
|
|
5751
5751
|
"filename": "src/providers/codebuild.ts",
|
|
5752
|
-
"line":
|
|
5752
|
+
"line": 98
|
|
5753
5753
|
},
|
|
5754
5754
|
"name": "computeType",
|
|
5755
5755
|
"optional": true,
|
|
@@ -5768,7 +5768,7 @@
|
|
|
5768
5768
|
"immutable": true,
|
|
5769
5769
|
"locationInModule": {
|
|
5770
5770
|
"filename": "src/providers/codebuild.ts",
|
|
5771
|
-
"line":
|
|
5771
|
+
"line": 115
|
|
5772
5772
|
},
|
|
5773
5773
|
"name": "dockerInDocker",
|
|
5774
5774
|
"optional": true,
|
|
@@ -5787,7 +5787,7 @@
|
|
|
5787
5787
|
"immutable": true,
|
|
5788
5788
|
"locationInModule": {
|
|
5789
5789
|
"filename": "src/providers/codebuild.ts",
|
|
5790
|
-
"line":
|
|
5790
|
+
"line": 41
|
|
5791
5791
|
},
|
|
5792
5792
|
"name": "imageBuilder",
|
|
5793
5793
|
"optional": true,
|
|
@@ -5806,7 +5806,7 @@
|
|
|
5806
5806
|
"immutable": true,
|
|
5807
5807
|
"locationInModule": {
|
|
5808
5808
|
"filename": "src/providers/codebuild.ts",
|
|
5809
|
-
"line":
|
|
5809
|
+
"line": 49
|
|
5810
5810
|
},
|
|
5811
5811
|
"name": "label",
|
|
5812
5812
|
"optional": true,
|
|
@@ -5825,7 +5825,7 @@
|
|
|
5825
5825
|
"immutable": true,
|
|
5826
5826
|
"locationInModule": {
|
|
5827
5827
|
"filename": "src/providers/codebuild.ts",
|
|
5828
|
-
"line":
|
|
5828
|
+
"line": 60
|
|
5829
5829
|
},
|
|
5830
5830
|
"name": "labels",
|
|
5831
5831
|
"optional": true,
|
|
@@ -5849,7 +5849,7 @@
|
|
|
5849
5849
|
"immutable": true,
|
|
5850
5850
|
"locationInModule": {
|
|
5851
5851
|
"filename": "src/providers/codebuild.ts",
|
|
5852
|
-
"line":
|
|
5852
|
+
"line": 76
|
|
5853
5853
|
},
|
|
5854
5854
|
"name": "securityGroup",
|
|
5855
5855
|
"optional": true,
|
|
@@ -5867,7 +5867,7 @@
|
|
|
5867
5867
|
"immutable": true,
|
|
5868
5868
|
"locationInModule": {
|
|
5869
5869
|
"filename": "src/providers/codebuild.ts",
|
|
5870
|
-
"line":
|
|
5870
|
+
"line": 83
|
|
5871
5871
|
},
|
|
5872
5872
|
"name": "securityGroups",
|
|
5873
5873
|
"optional": true,
|
|
@@ -5890,7 +5890,7 @@
|
|
|
5890
5890
|
"immutable": true,
|
|
5891
5891
|
"locationInModule": {
|
|
5892
5892
|
"filename": "src/providers/codebuild.ts",
|
|
5893
|
-
"line":
|
|
5893
|
+
"line": 90
|
|
5894
5894
|
},
|
|
5895
5895
|
"name": "subnetSelection",
|
|
5896
5896
|
"optional": true,
|
|
@@ -5909,7 +5909,7 @@
|
|
|
5909
5909
|
"immutable": true,
|
|
5910
5910
|
"locationInModule": {
|
|
5911
5911
|
"filename": "src/providers/codebuild.ts",
|
|
5912
|
-
"line":
|
|
5912
|
+
"line": 107
|
|
5913
5913
|
},
|
|
5914
5914
|
"name": "timeout",
|
|
5915
5915
|
"optional": true,
|
|
@@ -5927,7 +5927,7 @@
|
|
|
5927
5927
|
"immutable": true,
|
|
5928
5928
|
"locationInModule": {
|
|
5929
5929
|
"filename": "src/providers/codebuild.ts",
|
|
5930
|
-
"line":
|
|
5930
|
+
"line": 67
|
|
5931
5931
|
},
|
|
5932
5932
|
"name": "vpc",
|
|
5933
5933
|
"optional": true,
|
|
@@ -8689,7 +8689,7 @@
|
|
|
8689
8689
|
"kind": "interface",
|
|
8690
8690
|
"locationInModule": {
|
|
8691
8691
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
8692
|
-
"line":
|
|
8692
|
+
"line": 54
|
|
8693
8693
|
},
|
|
8694
8694
|
"name": "FastLaunchOptions",
|
|
8695
8695
|
"properties": [
|
|
@@ -8707,7 +8707,7 @@
|
|
|
8707
8707
|
"immutable": true,
|
|
8708
8708
|
"locationInModule": {
|
|
8709
8709
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
8710
|
-
"line":
|
|
8710
|
+
"line": 65
|
|
8711
8711
|
},
|
|
8712
8712
|
"name": "enabled",
|
|
8713
8713
|
"optional": true,
|
|
@@ -8726,7 +8726,7 @@
|
|
|
8726
8726
|
"immutable": true,
|
|
8727
8727
|
"locationInModule": {
|
|
8728
8728
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
8729
|
-
"line":
|
|
8729
|
+
"line": 74
|
|
8730
8730
|
},
|
|
8731
8731
|
"name": "maxParallelLaunches",
|
|
8732
8732
|
"optional": true,
|
|
@@ -8744,7 +8744,7 @@
|
|
|
8744
8744
|
"immutable": true,
|
|
8745
8745
|
"locationInModule": {
|
|
8746
8746
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
8747
|
-
"line":
|
|
8747
|
+
"line": 81
|
|
8748
8748
|
},
|
|
8749
8749
|
"name": "targetResourceCount",
|
|
8750
8750
|
"optional": true,
|
|
@@ -9314,7 +9314,7 @@
|
|
|
9314
9314
|
"kind": "interface",
|
|
9315
9315
|
"locationInModule": {
|
|
9316
9316
|
"filename": "src/image-builders/common.ts",
|
|
9317
|
-
"line":
|
|
9317
|
+
"line": 308
|
|
9318
9318
|
},
|
|
9319
9319
|
"methods": [
|
|
9320
9320
|
{
|
|
@@ -9326,7 +9326,7 @@
|
|
|
9326
9326
|
},
|
|
9327
9327
|
"locationInModule": {
|
|
9328
9328
|
"filename": "src/image-builders/common.ts",
|
|
9329
|
-
"line":
|
|
9329
|
+
"line": 314
|
|
9330
9330
|
},
|
|
9331
9331
|
"name": "addComponent",
|
|
9332
9332
|
"parameters": [
|
|
@@ -9350,7 +9350,7 @@
|
|
|
9350
9350
|
},
|
|
9351
9351
|
"locationInModule": {
|
|
9352
9352
|
"filename": "src/image-builders/common.ts",
|
|
9353
|
-
"line":
|
|
9353
|
+
"line": 321
|
|
9354
9354
|
},
|
|
9355
9355
|
"name": "removeComponent",
|
|
9356
9356
|
"parameters": [
|
|
@@ -9430,7 +9430,7 @@
|
|
|
9430
9430
|
"kind": "interface",
|
|
9431
9431
|
"locationInModule": {
|
|
9432
9432
|
"filename": "src/image-builders/common.ts",
|
|
9433
|
-
"line":
|
|
9433
|
+
"line": 281
|
|
9434
9434
|
},
|
|
9435
9435
|
"methods": [
|
|
9436
9436
|
{
|
|
@@ -9442,7 +9442,7 @@
|
|
|
9442
9442
|
},
|
|
9443
9443
|
"locationInModule": {
|
|
9444
9444
|
"filename": "src/image-builders/common.ts",
|
|
9445
|
-
"line":
|
|
9445
|
+
"line": 300
|
|
9446
9446
|
},
|
|
9447
9447
|
"name": "bindAmi",
|
|
9448
9448
|
"returns": {
|
|
@@ -9460,7 +9460,7 @@
|
|
|
9460
9460
|
},
|
|
9461
9461
|
"locationInModule": {
|
|
9462
9462
|
"filename": "src/image-builders/common.ts",
|
|
9463
|
-
"line":
|
|
9463
|
+
"line": 291
|
|
9464
9464
|
},
|
|
9465
9465
|
"name": "bindDockerImage",
|
|
9466
9466
|
"returns": {
|
|
@@ -9879,7 +9879,7 @@
|
|
|
9879
9879
|
"kind": "interface",
|
|
9880
9880
|
"locationInModule": {
|
|
9881
9881
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9882
|
-
"line":
|
|
9882
|
+
"line": 87
|
|
9883
9883
|
},
|
|
9884
9884
|
"name": "ImageBuilderAsset",
|
|
9885
9885
|
"properties": [
|
|
@@ -9892,7 +9892,7 @@
|
|
|
9892
9892
|
"immutable": true,
|
|
9893
9893
|
"locationInModule": {
|
|
9894
9894
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9895
|
-
"line":
|
|
9895
|
+
"line": 96
|
|
9896
9896
|
},
|
|
9897
9897
|
"name": "asset",
|
|
9898
9898
|
"type": {
|
|
@@ -9908,7 +9908,7 @@
|
|
|
9908
9908
|
"immutable": true,
|
|
9909
9909
|
"locationInModule": {
|
|
9910
9910
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9911
|
-
"line":
|
|
9911
|
+
"line": 91
|
|
9912
9912
|
},
|
|
9913
9913
|
"name": "path",
|
|
9914
9914
|
"type": {
|
|
@@ -9934,7 +9934,7 @@
|
|
|
9934
9934
|
},
|
|
9935
9935
|
"locationInModule": {
|
|
9936
9936
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9937
|
-
"line":
|
|
9937
|
+
"line": 170
|
|
9938
9938
|
},
|
|
9939
9939
|
"parameters": [
|
|
9940
9940
|
{
|
|
@@ -9960,7 +9960,7 @@
|
|
|
9960
9960
|
"kind": "class",
|
|
9961
9961
|
"locationInModule": {
|
|
9962
9962
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
9963
|
-
"line":
|
|
9963
|
+
"line": 157
|
|
9964
9964
|
},
|
|
9965
9965
|
"methods": [
|
|
9966
9966
|
{
|
|
@@ -10006,7 +10006,7 @@
|
|
|
10006
10006
|
},
|
|
10007
10007
|
"locationInModule": {
|
|
10008
10008
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10009
|
-
"line":
|
|
10009
|
+
"line": 272
|
|
10010
10010
|
},
|
|
10011
10011
|
"name": "grantAssetsRead",
|
|
10012
10012
|
"parameters": [
|
|
@@ -10024,7 +10024,7 @@
|
|
|
10024
10024
|
},
|
|
10025
10025
|
"locationInModule": {
|
|
10026
10026
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10027
|
-
"line":
|
|
10027
|
+
"line": 278
|
|
10028
10028
|
},
|
|
10029
10029
|
"name": "prefixCommandsWithErrorHandling",
|
|
10030
10030
|
"parameters": [
|
|
@@ -10068,7 +10068,7 @@
|
|
|
10068
10068
|
"immutable": true,
|
|
10069
10069
|
"locationInModule": {
|
|
10070
10070
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10071
|
-
"line":
|
|
10071
|
+
"line": 161
|
|
10072
10072
|
},
|
|
10073
10073
|
"name": "arn",
|
|
10074
10074
|
"type": {
|
|
@@ -10083,7 +10083,7 @@
|
|
|
10083
10083
|
"immutable": true,
|
|
10084
10084
|
"locationInModule": {
|
|
10085
10085
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10086
|
-
"line":
|
|
10086
|
+
"line": 166
|
|
10087
10087
|
},
|
|
10088
10088
|
"name": "platform",
|
|
10089
10089
|
"type": {
|
|
@@ -10104,7 +10104,7 @@
|
|
|
10104
10104
|
"kind": "interface",
|
|
10105
10105
|
"locationInModule": {
|
|
10106
10106
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10107
|
-
"line":
|
|
10107
|
+
"line": 102
|
|
10108
10108
|
},
|
|
10109
10109
|
"name": "ImageBuilderComponentProperties",
|
|
10110
10110
|
"properties": [
|
|
@@ -10118,7 +10118,7 @@
|
|
|
10118
10118
|
"immutable": true,
|
|
10119
10119
|
"locationInModule": {
|
|
10120
10120
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10121
|
-
"line":
|
|
10121
|
+
"line": 123
|
|
10122
10122
|
},
|
|
10123
10123
|
"name": "commands",
|
|
10124
10124
|
"type": {
|
|
@@ -10139,7 +10139,7 @@
|
|
|
10139
10139
|
"immutable": true,
|
|
10140
10140
|
"locationInModule": {
|
|
10141
10141
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10142
|
-
"line":
|
|
10142
|
+
"line": 116
|
|
10143
10143
|
},
|
|
10144
10144
|
"name": "description",
|
|
10145
10145
|
"type": {
|
|
@@ -10155,7 +10155,7 @@
|
|
|
10155
10155
|
"immutable": true,
|
|
10156
10156
|
"locationInModule": {
|
|
10157
10157
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10158
|
-
"line":
|
|
10158
|
+
"line": 111
|
|
10159
10159
|
},
|
|
10160
10160
|
"name": "displayName",
|
|
10161
10161
|
"type": {
|
|
@@ -10172,7 +10172,7 @@
|
|
|
10172
10172
|
"immutable": true,
|
|
10173
10173
|
"locationInModule": {
|
|
10174
10174
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10175
|
-
"line":
|
|
10175
|
+
"line": 106
|
|
10176
10176
|
},
|
|
10177
10177
|
"name": "platform",
|
|
10178
10178
|
"type": {
|
|
@@ -10188,7 +10188,7 @@
|
|
|
10188
10188
|
"immutable": true,
|
|
10189
10189
|
"locationInModule": {
|
|
10190
10190
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10191
|
-
"line":
|
|
10191
|
+
"line": 128
|
|
10192
10192
|
},
|
|
10193
10193
|
"name": "assets",
|
|
10194
10194
|
"optional": true,
|
|
@@ -10211,7 +10211,7 @@
|
|
|
10211
10211
|
"immutable": true,
|
|
10212
10212
|
"locationInModule": {
|
|
10213
10213
|
"filename": "src/image-builders/aws-image-builder/builder.ts",
|
|
10214
|
-
"line":
|
|
10214
|
+
"line": 135
|
|
10215
10215
|
},
|
|
10216
10216
|
"name": "reboot",
|
|
10217
10217
|
"optional": true,
|
|
@@ -11971,7 +11971,7 @@
|
|
|
11971
11971
|
},
|
|
11972
11972
|
"locationInModule": {
|
|
11973
11973
|
"filename": "src/image-builders/common.ts",
|
|
11974
|
-
"line":
|
|
11974
|
+
"line": 330
|
|
11975
11975
|
},
|
|
11976
11976
|
"parameters": [
|
|
11977
11977
|
{
|
|
@@ -12052,7 +12052,7 @@
|
|
|
12052
12052
|
},
|
|
12053
12053
|
"locationInModule": {
|
|
12054
12054
|
"filename": "src/image-builders/common.ts",
|
|
12055
|
-
"line":
|
|
12055
|
+
"line": 345
|
|
12056
12056
|
},
|
|
12057
12057
|
"name": "addComponent",
|
|
12058
12058
|
"overrides": "@cloudsnorkel/cdk-github-runners.IConfigurableRunnerImageBuilder",
|
|
@@ -12074,7 +12074,7 @@
|
|
|
12074
12074
|
},
|
|
12075
12075
|
"locationInModule": {
|
|
12076
12076
|
"filename": "src/image-builders/common.ts",
|
|
12077
|
-
"line":
|
|
12077
|
+
"line": 340
|
|
12078
12078
|
},
|
|
12079
12079
|
"name": "bindAmi",
|
|
12080
12080
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder",
|
|
@@ -12093,7 +12093,7 @@
|
|
|
12093
12093
|
},
|
|
12094
12094
|
"locationInModule": {
|
|
12095
12095
|
"filename": "src/image-builders/common.ts",
|
|
12096
|
-
"line":
|
|
12096
|
+
"line": 338
|
|
12097
12097
|
},
|
|
12098
12098
|
"name": "bindDockerImage",
|
|
12099
12099
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder",
|
|
@@ -12111,7 +12111,7 @@
|
|
|
12111
12111
|
},
|
|
12112
12112
|
"locationInModule": {
|
|
12113
12113
|
"filename": "src/image-builders/common.ts",
|
|
12114
|
-
"line":
|
|
12114
|
+
"line": 349
|
|
12115
12115
|
},
|
|
12116
12116
|
"name": "removeComponent",
|
|
12117
12117
|
"overrides": "@cloudsnorkel/cdk-github-runners.IConfigurableRunnerImageBuilder",
|
|
@@ -12136,7 +12136,7 @@
|
|
|
12136
12136
|
"immutable": true,
|
|
12137
12137
|
"locationInModule": {
|
|
12138
12138
|
"filename": "src/image-builders/common.ts",
|
|
12139
|
-
"line":
|
|
12139
|
+
"line": 342
|
|
12140
12140
|
},
|
|
12141
12141
|
"name": "connections",
|
|
12142
12142
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -12153,7 +12153,7 @@
|
|
|
12153
12153
|
"immutable": true,
|
|
12154
12154
|
"locationInModule": {
|
|
12155
12155
|
"filename": "src/image-builders/common.ts",
|
|
12156
|
-
"line":
|
|
12156
|
+
"line": 343
|
|
12157
12157
|
},
|
|
12158
12158
|
"name": "grantPrincipal",
|
|
12159
12159
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
|
@@ -12167,7 +12167,7 @@
|
|
|
12167
12167
|
},
|
|
12168
12168
|
"locationInModule": {
|
|
12169
12169
|
"filename": "src/image-builders/common.ts",
|
|
12170
|
-
"line":
|
|
12170
|
+
"line": 328
|
|
12171
12171
|
},
|
|
12172
12172
|
"name": "components",
|
|
12173
12173
|
"protected": true,
|
|
@@ -12225,7 +12225,7 @@
|
|
|
12225
12225
|
"immutable": true,
|
|
12226
12226
|
"locationInModule": {
|
|
12227
12227
|
"filename": "src/image-builders/common.ts",
|
|
12228
|
-
"line":
|
|
12228
|
+
"line": 246
|
|
12229
12229
|
},
|
|
12230
12230
|
"name": "awsImageBuilderOptions",
|
|
12231
12231
|
"optional": true,
|
|
@@ -12244,7 +12244,7 @@
|
|
|
12244
12244
|
"immutable": true,
|
|
12245
12245
|
"locationInModule": {
|
|
12246
12246
|
"filename": "src/image-builders/common.ts",
|
|
12247
|
-
"line":
|
|
12247
|
+
"line": 171
|
|
12248
12248
|
},
|
|
12249
12249
|
"name": "baseAmi",
|
|
12250
12250
|
"optional": true,
|
|
@@ -12256,13 +12256,14 @@
|
|
|
12256
12256
|
"abstract": true,
|
|
12257
12257
|
"docs": {
|
|
12258
12258
|
"default": "public.ecr.aws/lts/ubuntu:22.04 for Os.LINUX_UBUNTU, public.ecr.aws/amazonlinux/amazonlinux:2 for Os.LINUX_AMAZON_2, mcr.microsoft.com/windows/servercore:ltsc2019-amd64 for Os.WINDOWS",
|
|
12259
|
+
"remarks": "When using private images from a different account or not on ECR, you may need to include additional setup commands with {@link dockerSetupCommands}.",
|
|
12259
12260
|
"stability": "experimental",
|
|
12260
12261
|
"summary": "Base image from which Docker runner images will be built."
|
|
12261
12262
|
},
|
|
12262
12263
|
"immutable": true,
|
|
12263
12264
|
"locationInModule": {
|
|
12264
12265
|
"filename": "src/image-builders/common.ts",
|
|
12265
|
-
"line":
|
|
12266
|
+
"line": 153
|
|
12266
12267
|
},
|
|
12267
12268
|
"name": "baseDockerImage",
|
|
12268
12269
|
"optional": true,
|
|
@@ -12279,7 +12280,7 @@
|
|
|
12279
12280
|
"immutable": true,
|
|
12280
12281
|
"locationInModule": {
|
|
12281
12282
|
"filename": "src/image-builders/common.ts",
|
|
12282
|
-
"line":
|
|
12283
|
+
"line": 236
|
|
12283
12284
|
},
|
|
12284
12285
|
"name": "builderType",
|
|
12285
12286
|
"optional": true,
|
|
@@ -12297,7 +12298,7 @@
|
|
|
12297
12298
|
"immutable": true,
|
|
12298
12299
|
"locationInModule": {
|
|
12299
12300
|
"filename": "src/image-builders/common.ts",
|
|
12300
|
-
"line":
|
|
12301
|
+
"line": 241
|
|
12301
12302
|
},
|
|
12302
12303
|
"name": "codeBuildOptions",
|
|
12303
12304
|
"optional": true,
|
|
@@ -12315,7 +12316,7 @@
|
|
|
12315
12316
|
"immutable": true,
|
|
12316
12317
|
"locationInModule": {
|
|
12317
12318
|
"filename": "src/image-builders/common.ts",
|
|
12318
|
-
"line":
|
|
12319
|
+
"line": 185
|
|
12319
12320
|
},
|
|
12320
12321
|
"name": "components",
|
|
12321
12322
|
"optional": true,
|
|
@@ -12328,6 +12329,30 @@
|
|
|
12328
12329
|
}
|
|
12329
12330
|
}
|
|
12330
12331
|
},
|
|
12332
|
+
{
|
|
12333
|
+
"abstract": true,
|
|
12334
|
+
"docs": {
|
|
12335
|
+
"default": "[]",
|
|
12336
|
+
"remarks": "Use this to execute commands such as `docker login` or `aws ecr get-login-password` to pull private base images.",
|
|
12337
|
+
"stability": "experimental",
|
|
12338
|
+
"summary": "Additional commands to run on the build host before starting the Docker runner image build."
|
|
12339
|
+
},
|
|
12340
|
+
"immutable": true,
|
|
12341
|
+
"locationInModule": {
|
|
12342
|
+
"filename": "src/image-builders/common.ts",
|
|
12343
|
+
"line": 162
|
|
12344
|
+
},
|
|
12345
|
+
"name": "dockerSetupCommands",
|
|
12346
|
+
"optional": true,
|
|
12347
|
+
"type": {
|
|
12348
|
+
"collection": {
|
|
12349
|
+
"elementtype": {
|
|
12350
|
+
"primitive": "string"
|
|
12351
|
+
},
|
|
12352
|
+
"kind": "array"
|
|
12353
|
+
}
|
|
12354
|
+
}
|
|
12355
|
+
},
|
|
12331
12356
|
{
|
|
12332
12357
|
"abstract": true,
|
|
12333
12358
|
"docs": {
|
|
@@ -12339,7 +12364,7 @@
|
|
|
12339
12364
|
"immutable": true,
|
|
12340
12365
|
"locationInModule": {
|
|
12341
12366
|
"filename": "src/image-builders/common.ts",
|
|
12342
|
-
"line":
|
|
12367
|
+
"line": 231
|
|
12343
12368
|
},
|
|
12344
12369
|
"name": "logRemovalPolicy",
|
|
12345
12370
|
"optional": true,
|
|
@@ -12358,7 +12383,7 @@
|
|
|
12358
12383
|
"immutable": true,
|
|
12359
12384
|
"locationInModule": {
|
|
12360
12385
|
"filename": "src/image-builders/common.ts",
|
|
12361
|
-
"line":
|
|
12386
|
+
"line": 222
|
|
12362
12387
|
},
|
|
12363
12388
|
"name": "logRetention",
|
|
12364
12389
|
"optional": true,
|
|
@@ -12395,7 +12420,7 @@
|
|
|
12395
12420
|
"immutable": true,
|
|
12396
12421
|
"locationInModule": {
|
|
12397
12422
|
"filename": "src/image-builders/common.ts",
|
|
12398
|
-
"line":
|
|
12423
|
+
"line": 194
|
|
12399
12424
|
},
|
|
12400
12425
|
"name": "rebuildInterval",
|
|
12401
12426
|
"optional": true,
|
|
@@ -12413,7 +12438,7 @@
|
|
|
12413
12438
|
"immutable": true,
|
|
12414
12439
|
"locationInModule": {
|
|
12415
12440
|
"filename": "src/image-builders/common.ts",
|
|
12416
|
-
"line":
|
|
12441
|
+
"line": 178
|
|
12417
12442
|
},
|
|
12418
12443
|
"name": "runnerVersion",
|
|
12419
12444
|
"optional": true,
|
|
@@ -12430,7 +12455,7 @@
|
|
|
12430
12455
|
"immutable": true,
|
|
12431
12456
|
"locationInModule": {
|
|
12432
12457
|
"filename": "src/image-builders/common.ts",
|
|
12433
|
-
"line":
|
|
12458
|
+
"line": 206
|
|
12434
12459
|
},
|
|
12435
12460
|
"name": "securityGroups",
|
|
12436
12461
|
"optional": true,
|
|
@@ -12453,7 +12478,7 @@
|
|
|
12453
12478
|
"immutable": true,
|
|
12454
12479
|
"locationInModule": {
|
|
12455
12480
|
"filename": "src/image-builders/common.ts",
|
|
12456
|
-
"line":
|
|
12481
|
+
"line": 213
|
|
12457
12482
|
},
|
|
12458
12483
|
"name": "subnetSelection",
|
|
12459
12484
|
"optional": true,
|
|
@@ -12471,7 +12496,7 @@
|
|
|
12471
12496
|
"immutable": true,
|
|
12472
12497
|
"locationInModule": {
|
|
12473
12498
|
"filename": "src/image-builders/common.ts",
|
|
12474
|
-
"line":
|
|
12499
|
+
"line": 201
|
|
12475
12500
|
},
|
|
12476
12501
|
"name": "vpc",
|
|
12477
12502
|
"optional": true,
|
|
@@ -12490,7 +12515,7 @@
|
|
|
12490
12515
|
"immutable": true,
|
|
12491
12516
|
"locationInModule": {
|
|
12492
12517
|
"filename": "src/image-builders/common.ts",
|
|
12493
|
-
"line":
|
|
12518
|
+
"line": 257
|
|
12494
12519
|
},
|
|
12495
12520
|
"name": "waitOnDeploy",
|
|
12496
12521
|
"optional": true,
|
|
@@ -12510,7 +12535,7 @@
|
|
|
12510
12535
|
"kind": "enum",
|
|
12511
12536
|
"locationInModule": {
|
|
12512
12537
|
"filename": "src/image-builders/common.ts",
|
|
12513
|
-
"line":
|
|
12538
|
+
"line": 260
|
|
12514
12539
|
},
|
|
12515
12540
|
"members": [
|
|
12516
12541
|
{
|
|
@@ -12632,6 +12657,37 @@
|
|
|
12632
12657
|
},
|
|
12633
12658
|
"static": true
|
|
12634
12659
|
},
|
|
12660
|
+
{
|
|
12661
|
+
"docs": {
|
|
12662
|
+
"remarks": "These variables only affect the jobs ran by the runner. They are not global. They do not affect other components.\n\nIt is not recommended to use this component to pass secrets. Instead, use GitHub Secrets or AWS Secrets Manager.\n\nMust be used after the {@link githubRunner} component.",
|
|
12663
|
+
"stability": "experimental",
|
|
12664
|
+
"summary": "A component to add environment variables for jobs the runner executes."
|
|
12665
|
+
},
|
|
12666
|
+
"locationInModule": {
|
|
12667
|
+
"filename": "src/image-builders/components.ts",
|
|
12668
|
+
"line": 534
|
|
12669
|
+
},
|
|
12670
|
+
"name": "environmentVariables",
|
|
12671
|
+
"parameters": [
|
|
12672
|
+
{
|
|
12673
|
+
"name": "vars",
|
|
12674
|
+
"type": {
|
|
12675
|
+
"collection": {
|
|
12676
|
+
"elementtype": {
|
|
12677
|
+
"primitive": "string"
|
|
12678
|
+
},
|
|
12679
|
+
"kind": "map"
|
|
12680
|
+
}
|
|
12681
|
+
}
|
|
12682
|
+
}
|
|
12683
|
+
],
|
|
12684
|
+
"returns": {
|
|
12685
|
+
"type": {
|
|
12686
|
+
"fqn": "@cloudsnorkel/cdk-github-runners.RunnerImageComponent"
|
|
12687
|
+
}
|
|
12688
|
+
},
|
|
12689
|
+
"static": true
|
|
12690
|
+
},
|
|
12635
12691
|
{
|
|
12636
12692
|
"docs": {
|
|
12637
12693
|
"remarks": "This can be used to support GitHub Enterprise Server with self-signed certificate.",
|
|
@@ -12793,7 +12849,7 @@
|
|
|
12793
12849
|
},
|
|
12794
12850
|
"locationInModule": {
|
|
12795
12851
|
"filename": "src/image-builders/components.ts",
|
|
12796
|
-
"line":
|
|
12852
|
+
"line": 571
|
|
12797
12853
|
},
|
|
12798
12854
|
"name": "getAssets",
|
|
12799
12855
|
"parameters": [
|
|
@@ -12830,7 +12886,7 @@
|
|
|
12830
12886
|
},
|
|
12831
12887
|
"locationInModule": {
|
|
12832
12888
|
"filename": "src/image-builders/components.ts",
|
|
12833
|
-
"line":
|
|
12889
|
+
"line": 566
|
|
12834
12890
|
},
|
|
12835
12891
|
"name": "getCommands",
|
|
12836
12892
|
"parameters": [
|
|
@@ -12866,7 +12922,7 @@
|
|
|
12866
12922
|
},
|
|
12867
12923
|
"locationInModule": {
|
|
12868
12924
|
"filename": "src/image-builders/components.ts",
|
|
12869
|
-
"line":
|
|
12925
|
+
"line": 580
|
|
12870
12926
|
},
|
|
12871
12927
|
"name": "getDockerCommands",
|
|
12872
12928
|
"parameters": [
|
|
@@ -12901,7 +12957,7 @@
|
|
|
12901
12957
|
},
|
|
12902
12958
|
"locationInModule": {
|
|
12903
12959
|
"filename": "src/image-builders/components.ts",
|
|
12904
|
-
"line":
|
|
12960
|
+
"line": 587
|
|
12905
12961
|
},
|
|
12906
12962
|
"name": "shouldReboot",
|
|
12907
12963
|
"parameters": [
|
|
@@ -12937,7 +12993,7 @@
|
|
|
12937
12993
|
"immutable": true,
|
|
12938
12994
|
"locationInModule": {
|
|
12939
12995
|
"filename": "src/image-builders/components.ts",
|
|
12940
|
-
"line":
|
|
12996
|
+
"line": 561
|
|
12941
12997
|
},
|
|
12942
12998
|
"name": "name",
|
|
12943
12999
|
"type": {
|
|
@@ -13837,6 +13893,6 @@
|
|
|
13837
13893
|
"symbolId": "src/image-builders/aws-image-builder/deprecated/windows-components:WindowsComponents"
|
|
13838
13894
|
}
|
|
13839
13895
|
},
|
|
13840
|
-
"version": "0.13.
|
|
13841
|
-
"fingerprint": "
|
|
13896
|
+
"version": "0.13.2",
|
|
13897
|
+
"fingerprint": "1/Zq8tZ1+hABDznhB1yEpPLno92ej2vXxhWUafINqi8="
|
|
13842
13898
|
}
|