@cloudsnorkel/cdk-github-runners 0.11.3 → 0.11.5
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 +1 -1
- package/.jsii +127 -93
- package/API.md +29 -2
- package/SETUP_GITHUB.md +9 -5
- package/assets/delete-failed-runner.lambda/index.js +55 -45
- package/assets/docker-images/lambda/linux-arm64/runner.js +1 -0
- package/assets/docker-images/lambda/linux-arm64/runner.sh +1 -1
- package/assets/docker-images/lambda/linux-x64/runner.js +1 -0
- package/assets/docker-images/lambda/linux-x64/runner.sh +1 -1
- package/assets/idle-runner-repear.lambda/index.js +65 -55
- package/assets/image-builders/aws-image-builder/delete-ami.lambda/index.js +14 -28
- package/assets/image-builders/aws-image-builder/filter-failed-builds.lambda/index.js +4 -14
- package/assets/image-builders/aws-image-builder/reaper.lambda/index.js +18 -30
- package/assets/image-builders/aws-image-builder/versioner.lambda/index.js +10 -16
- package/assets/providers/ami-root-device.lambda/index.js +12 -23
- package/assets/providers/build-image.lambda/index.js +16 -24
- package/assets/providers/update-lambda.lambda/index.js +5 -15
- package/assets/setup.lambda/index.html +20 -12
- package/assets/setup.lambda/index.js +17 -12
- package/assets/status.lambda/index.js +50 -55
- package/assets/token-retriever.lambda/index.js +51 -39
- package/assets/webhook-handler.lambda/index.js +32 -42
- package/lib/access.js +1 -1
- package/lib/delete-failed-runner-function.js +2 -2
- package/lib/delete-failed-runner.lambda.js +4 -8
- package/lib/idle-runner-repear-function.js +2 -2
- package/lib/idle-runner-repear.lambda.js +16 -19
- 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/delete-ami-function.js +2 -2
- package/lib/image-builders/aws-image-builder/delete-ami.lambda.js +11 -11
- 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/filter-failed-builds-function.js +2 -2
- package/lib/image-builders/aws-image-builder/filter-failed-builds.lambda.js +5 -5
- package/lib/image-builders/aws-image-builder/reaper-function.js +2 -2
- package/lib/image-builders/aws-image-builder/reaper.lambda.js +15 -13
- package/lib/image-builders/aws-image-builder/versioner-function.js +2 -2
- package/lib/image-builders/aws-image-builder/versioner.lambda.js +9 -9
- package/lib/image-builders/codebuild-deprecated.js +1 -1
- package/lib/image-builders/components.js +1 -1
- package/lib/image-builders/static.js +1 -1
- package/lib/lambda-github.d.ts +16 -13
- package/lib/lambda-github.js +33 -8
- package/lib/lambda-helpers.js +5 -5
- package/lib/providers/ami-root-device-function.js +2 -2
- package/lib/providers/ami-root-device.lambda.js +8 -7
- package/lib/providers/build-image-function.js +2 -2
- package/lib/providers/build-image.lambda.js +15 -13
- package/lib/providers/codebuild.js +10 -5
- package/lib/providers/common.d.ts +5 -1
- package/lib/providers/common.js +4 -4
- package/lib/providers/ec2.js +56 -17
- package/lib/providers/ecs.d.ts +7 -1
- package/lib/providers/ecs.js +8 -3
- package/lib/providers/fargate.js +12 -8
- package/lib/providers/lambda.js +4 -3
- package/lib/providers/update-lambda-function.js +2 -2
- package/lib/providers/update-lambda.lambda.js +6 -6
- package/lib/runner.js +6 -2
- package/lib/secrets.js +4 -2
- package/lib/setup-function.js +2 -2
- package/lib/setup.lambda.js +13 -7
- package/lib/status-function.js +2 -2
- package/lib/status.lambda.js +23 -17
- package/lib/token-retriever-function.js +2 -2
- package/lib/token-retriever.lambda.d.ts +2 -1
- package/lib/token-retriever.lambda.js +30 -8
- package/lib/webhook-handler-function.js +2 -2
- package/lib/webhook-handler.lambda.js +5 -5
- package/package.json +21 -10
package/.jsii
CHANGED
|
@@ -4984,7 +4984,7 @@
|
|
|
4984
4984
|
"kind": "class",
|
|
4985
4985
|
"locationInModule": {
|
|
4986
4986
|
"filename": "src/providers/codebuild.ts",
|
|
4987
|
-
"line":
|
|
4987
|
+
"line": 426
|
|
4988
4988
|
},
|
|
4989
4989
|
"name": "CodeBuildRunner",
|
|
4990
4990
|
"symbolId": "src/providers/codebuild:CodeBuildRunner"
|
|
@@ -5158,7 +5158,7 @@
|
|
|
5158
5158
|
},
|
|
5159
5159
|
"locationInModule": {
|
|
5160
5160
|
"filename": "src/providers/codebuild.ts",
|
|
5161
|
-
"line":
|
|
5161
|
+
"line": 353
|
|
5162
5162
|
},
|
|
5163
5163
|
"name": "getStepFunctionTask",
|
|
5164
5164
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5187,7 +5187,7 @@
|
|
|
5187
5187
|
},
|
|
5188
5188
|
"locationInModule": {
|
|
5189
5189
|
"filename": "src/providers/codebuild.ts",
|
|
5190
|
-
"line":
|
|
5190
|
+
"line": 394
|
|
5191
5191
|
},
|
|
5192
5192
|
"name": "grantStateMachine",
|
|
5193
5193
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5206,7 +5206,7 @@
|
|
|
5206
5206
|
},
|
|
5207
5207
|
"locationInModule": {
|
|
5208
5208
|
"filename": "src/providers/common.ts",
|
|
5209
|
-
"line":
|
|
5209
|
+
"line": 479
|
|
5210
5210
|
},
|
|
5211
5211
|
"name": "labelsFromProperties",
|
|
5212
5212
|
"parameters": [
|
|
@@ -5256,7 +5256,7 @@
|
|
|
5256
5256
|
},
|
|
5257
5257
|
"locationInModule": {
|
|
5258
5258
|
"filename": "src/providers/codebuild.ts",
|
|
5259
|
-
"line":
|
|
5259
|
+
"line": 397
|
|
5260
5260
|
},
|
|
5261
5261
|
"name": "status",
|
|
5262
5262
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -5323,7 +5323,7 @@
|
|
|
5323
5323
|
"immutable": true,
|
|
5324
5324
|
"locationInModule": {
|
|
5325
5325
|
"filename": "src/providers/codebuild.ts",
|
|
5326
|
-
"line":
|
|
5326
|
+
"line": 418
|
|
5327
5327
|
},
|
|
5328
5328
|
"name": "connections",
|
|
5329
5329
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -6343,7 +6343,7 @@
|
|
|
6343
6343
|
},
|
|
6344
6344
|
"locationInModule": {
|
|
6345
6345
|
"filename": "src/providers/ec2.ts",
|
|
6346
|
-
"line":
|
|
6346
|
+
"line": 340
|
|
6347
6347
|
},
|
|
6348
6348
|
"parameters": [
|
|
6349
6349
|
{
|
|
@@ -6370,7 +6370,7 @@
|
|
|
6370
6370
|
"kind": "class",
|
|
6371
6371
|
"locationInModule": {
|
|
6372
6372
|
"filename": "src/providers/ec2.ts",
|
|
6373
|
-
"line":
|
|
6373
|
+
"line": 553
|
|
6374
6374
|
},
|
|
6375
6375
|
"name": "Ec2Runner",
|
|
6376
6376
|
"symbolId": "src/providers/ec2:Ec2Runner"
|
|
@@ -6390,7 +6390,7 @@
|
|
|
6390
6390
|
},
|
|
6391
6391
|
"locationInModule": {
|
|
6392
6392
|
"filename": "src/providers/ec2.ts",
|
|
6393
|
-
"line":
|
|
6393
|
+
"line": 340
|
|
6394
6394
|
},
|
|
6395
6395
|
"parameters": [
|
|
6396
6396
|
{
|
|
@@ -6420,7 +6420,7 @@
|
|
|
6420
6420
|
"kind": "class",
|
|
6421
6421
|
"locationInModule": {
|
|
6422
6422
|
"filename": "src/providers/ec2.ts",
|
|
6423
|
-
"line":
|
|
6423
|
+
"line": 276
|
|
6424
6424
|
},
|
|
6425
6425
|
"methods": [
|
|
6426
6426
|
{
|
|
@@ -6431,7 +6431,7 @@
|
|
|
6431
6431
|
},
|
|
6432
6432
|
"locationInModule": {
|
|
6433
6433
|
"filename": "src/providers/ec2.ts",
|
|
6434
|
-
"line":
|
|
6434
|
+
"line": 289
|
|
6435
6435
|
},
|
|
6436
6436
|
"name": "imageBuilder",
|
|
6437
6437
|
"parameters": [
|
|
@@ -6470,7 +6470,7 @@
|
|
|
6470
6470
|
},
|
|
6471
6471
|
"locationInModule": {
|
|
6472
6472
|
"filename": "src/providers/ec2.ts",
|
|
6473
|
-
"line":
|
|
6473
|
+
"line": 395
|
|
6474
6474
|
},
|
|
6475
6475
|
"name": "getStepFunctionTask",
|
|
6476
6476
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6499,7 +6499,7 @@
|
|
|
6499
6499
|
},
|
|
6500
6500
|
"locationInModule": {
|
|
6501
6501
|
"filename": "src/providers/ec2.ts",
|
|
6502
|
-
"line":
|
|
6502
|
+
"line": 493
|
|
6503
6503
|
},
|
|
6504
6504
|
"name": "grantStateMachine",
|
|
6505
6505
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6518,7 +6518,7 @@
|
|
|
6518
6518
|
},
|
|
6519
6519
|
"locationInModule": {
|
|
6520
6520
|
"filename": "src/providers/common.ts",
|
|
6521
|
-
"line":
|
|
6521
|
+
"line": 479
|
|
6522
6522
|
},
|
|
6523
6523
|
"name": "labelsFromProperties",
|
|
6524
6524
|
"parameters": [
|
|
@@ -6568,7 +6568,7 @@
|
|
|
6568
6568
|
},
|
|
6569
6569
|
"locationInModule": {
|
|
6570
6570
|
"filename": "src/providers/ec2.ts",
|
|
6571
|
-
"line":
|
|
6571
|
+
"line": 523
|
|
6572
6572
|
},
|
|
6573
6573
|
"name": "status",
|
|
6574
6574
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6597,7 +6597,7 @@
|
|
|
6597
6597
|
"immutable": true,
|
|
6598
6598
|
"locationInModule": {
|
|
6599
6599
|
"filename": "src/providers/ec2.ts",
|
|
6600
|
-
"line":
|
|
6600
|
+
"line": 545
|
|
6601
6601
|
},
|
|
6602
6602
|
"name": "connections",
|
|
6603
6603
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -6613,7 +6613,7 @@
|
|
|
6613
6613
|
"immutable": true,
|
|
6614
6614
|
"locationInModule": {
|
|
6615
6615
|
"filename": "src/providers/ec2.ts",
|
|
6616
|
-
"line":
|
|
6616
|
+
"line": 315
|
|
6617
6617
|
},
|
|
6618
6618
|
"name": "grantPrincipal",
|
|
6619
6619
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
|
@@ -6629,7 +6629,7 @@
|
|
|
6629
6629
|
"immutable": true,
|
|
6630
6630
|
"locationInModule": {
|
|
6631
6631
|
"filename": "src/providers/ec2.ts",
|
|
6632
|
-
"line":
|
|
6632
|
+
"line": 310
|
|
6633
6633
|
},
|
|
6634
6634
|
"name": "labels",
|
|
6635
6635
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6651,7 +6651,7 @@
|
|
|
6651
6651
|
"immutable": true,
|
|
6652
6652
|
"locationInModule": {
|
|
6653
6653
|
"filename": "src/providers/ec2.ts",
|
|
6654
|
-
"line":
|
|
6654
|
+
"line": 322
|
|
6655
6655
|
},
|
|
6656
6656
|
"name": "logGroup",
|
|
6657
6657
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6667,7 +6667,7 @@
|
|
|
6667
6667
|
"immutable": true,
|
|
6668
6668
|
"locationInModule": {
|
|
6669
6669
|
"filename": "src/providers/ec2.ts",
|
|
6670
|
-
"line":
|
|
6670
|
+
"line": 324
|
|
6671
6671
|
},
|
|
6672
6672
|
"name": "retryableErrors",
|
|
6673
6673
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -6697,7 +6697,7 @@
|
|
|
6697
6697
|
"kind": "interface",
|
|
6698
6698
|
"locationInModule": {
|
|
6699
6699
|
"filename": "src/providers/ec2.ts",
|
|
6700
|
-
"line":
|
|
6700
|
+
"line": 177
|
|
6701
6701
|
},
|
|
6702
6702
|
"name": "Ec2RunnerProviderProps",
|
|
6703
6703
|
"properties": [
|
|
@@ -6710,7 +6710,7 @@
|
|
|
6710
6710
|
"immutable": true,
|
|
6711
6711
|
"locationInModule": {
|
|
6712
6712
|
"filename": "src/providers/ec2.ts",
|
|
6713
|
-
"line":
|
|
6713
|
+
"line": 190
|
|
6714
6714
|
},
|
|
6715
6715
|
"name": "amiBuilder",
|
|
6716
6716
|
"optional": true,
|
|
@@ -6729,7 +6729,7 @@
|
|
|
6729
6729
|
"immutable": true,
|
|
6730
6730
|
"locationInModule": {
|
|
6731
6731
|
"filename": "src/providers/ec2.ts",
|
|
6732
|
-
"line":
|
|
6732
|
+
"line": 185
|
|
6733
6733
|
},
|
|
6734
6734
|
"name": "imageBuilder",
|
|
6735
6735
|
"optional": true,
|
|
@@ -6747,7 +6747,7 @@
|
|
|
6747
6747
|
"immutable": true,
|
|
6748
6748
|
"locationInModule": {
|
|
6749
6749
|
"filename": "src/providers/ec2.ts",
|
|
6750
|
-
"line":
|
|
6750
|
+
"line": 208
|
|
6751
6751
|
},
|
|
6752
6752
|
"name": "instanceType",
|
|
6753
6753
|
"optional": true,
|
|
@@ -6766,7 +6766,7 @@
|
|
|
6766
6766
|
"immutable": true,
|
|
6767
6767
|
"locationInModule": {
|
|
6768
6768
|
"filename": "src/providers/ec2.ts",
|
|
6769
|
-
"line":
|
|
6769
|
+
"line": 201
|
|
6770
6770
|
},
|
|
6771
6771
|
"name": "labels",
|
|
6772
6772
|
"optional": true,
|
|
@@ -6790,7 +6790,7 @@
|
|
|
6790
6790
|
"immutable": true,
|
|
6791
6791
|
"locationInModule": {
|
|
6792
6792
|
"filename": "src/providers/ec2.ts",
|
|
6793
|
-
"line":
|
|
6793
|
+
"line": 224
|
|
6794
6794
|
},
|
|
6795
6795
|
"name": "securityGroup",
|
|
6796
6796
|
"optional": true,
|
|
@@ -6808,7 +6808,7 @@
|
|
|
6808
6808
|
"immutable": true,
|
|
6809
6809
|
"locationInModule": {
|
|
6810
6810
|
"filename": "src/providers/ec2.ts",
|
|
6811
|
-
"line":
|
|
6811
|
+
"line": 231
|
|
6812
6812
|
},
|
|
6813
6813
|
"name": "securityGroups",
|
|
6814
6814
|
"optional": true,
|
|
@@ -6832,7 +6832,7 @@
|
|
|
6832
6832
|
"immutable": true,
|
|
6833
6833
|
"locationInModule": {
|
|
6834
6834
|
"filename": "src/providers/ec2.ts",
|
|
6835
|
-
"line":
|
|
6835
|
+
"line": 261
|
|
6836
6836
|
},
|
|
6837
6837
|
"name": "spot",
|
|
6838
6838
|
"optional": true,
|
|
@@ -6850,7 +6850,7 @@
|
|
|
6850
6850
|
"immutable": true,
|
|
6851
6851
|
"locationInModule": {
|
|
6852
6852
|
"filename": "src/providers/ec2.ts",
|
|
6853
|
-
"line":
|
|
6853
|
+
"line": 268
|
|
6854
6854
|
},
|
|
6855
6855
|
"name": "spotMaxPrice",
|
|
6856
6856
|
"optional": true,
|
|
@@ -6869,7 +6869,7 @@
|
|
|
6869
6869
|
"immutable": true,
|
|
6870
6870
|
"locationInModule": {
|
|
6871
6871
|
"filename": "src/providers/ec2.ts",
|
|
6872
|
-
"line":
|
|
6872
|
+
"line": 215
|
|
6873
6873
|
},
|
|
6874
6874
|
"name": "storageSize",
|
|
6875
6875
|
"optional": true,
|
|
@@ -6888,7 +6888,7 @@
|
|
|
6888
6888
|
"immutable": true,
|
|
6889
6889
|
"locationInModule": {
|
|
6890
6890
|
"filename": "src/providers/ec2.ts",
|
|
6891
|
-
"line":
|
|
6891
|
+
"line": 240
|
|
6892
6892
|
},
|
|
6893
6893
|
"name": "subnet",
|
|
6894
6894
|
"optional": true,
|
|
@@ -6907,7 +6907,7 @@
|
|
|
6907
6907
|
"immutable": true,
|
|
6908
6908
|
"locationInModule": {
|
|
6909
6909
|
"filename": "src/providers/ec2.ts",
|
|
6910
|
-
"line":
|
|
6910
|
+
"line": 254
|
|
6911
6911
|
},
|
|
6912
6912
|
"name": "subnetSelection",
|
|
6913
6913
|
"optional": true,
|
|
@@ -6925,7 +6925,7 @@
|
|
|
6925
6925
|
"immutable": true,
|
|
6926
6926
|
"locationInModule": {
|
|
6927
6927
|
"filename": "src/providers/ec2.ts",
|
|
6928
|
-
"line":
|
|
6928
|
+
"line": 247
|
|
6929
6929
|
},
|
|
6930
6930
|
"name": "vpc",
|
|
6931
6931
|
"optional": true,
|
|
@@ -6951,7 +6951,7 @@
|
|
|
6951
6951
|
},
|
|
6952
6952
|
"locationInModule": {
|
|
6953
6953
|
"filename": "src/providers/ecs.ts",
|
|
6954
|
-
"line":
|
|
6954
|
+
"line": 321
|
|
6955
6955
|
},
|
|
6956
6956
|
"parameters": [
|
|
6957
6957
|
{
|
|
@@ -6981,7 +6981,7 @@
|
|
|
6981
6981
|
"kind": "class",
|
|
6982
6982
|
"locationInModule": {
|
|
6983
6983
|
"filename": "src/providers/ecs.ts",
|
|
6984
|
-
"line":
|
|
6984
|
+
"line": 212
|
|
6985
6985
|
},
|
|
6986
6986
|
"methods": [
|
|
6987
6987
|
{
|
|
@@ -6992,7 +6992,7 @@
|
|
|
6992
6992
|
},
|
|
6993
6993
|
"locationInModule": {
|
|
6994
6994
|
"filename": "src/providers/ecs.ts",
|
|
6995
|
-
"line":
|
|
6995
|
+
"line": 225
|
|
6996
6996
|
},
|
|
6997
6997
|
"name": "imageBuilder",
|
|
6998
6998
|
"parameters": [
|
|
@@ -7031,7 +7031,7 @@
|
|
|
7031
7031
|
},
|
|
7032
7032
|
"locationInModule": {
|
|
7033
7033
|
"filename": "src/providers/ecs.ts",
|
|
7034
|
-
"line":
|
|
7034
|
+
"line": 534
|
|
7035
7035
|
},
|
|
7036
7036
|
"name": "getStepFunctionTask",
|
|
7037
7037
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7060,7 +7060,7 @@
|
|
|
7060
7060
|
},
|
|
7061
7061
|
"locationInModule": {
|
|
7062
7062
|
"filename": "src/providers/ecs.ts",
|
|
7063
|
-
"line":
|
|
7063
|
+
"line": 586
|
|
7064
7064
|
},
|
|
7065
7065
|
"name": "grantStateMachine",
|
|
7066
7066
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7079,7 +7079,7 @@
|
|
|
7079
7079
|
},
|
|
7080
7080
|
"locationInModule": {
|
|
7081
7081
|
"filename": "src/providers/common.ts",
|
|
7082
|
-
"line":
|
|
7082
|
+
"line": 479
|
|
7083
7083
|
},
|
|
7084
7084
|
"name": "labelsFromProperties",
|
|
7085
7085
|
"parameters": [
|
|
@@ -7129,7 +7129,7 @@
|
|
|
7129
7129
|
},
|
|
7130
7130
|
"locationInModule": {
|
|
7131
7131
|
"filename": "src/providers/ecs.ts",
|
|
7132
|
-
"line":
|
|
7132
|
+
"line": 589
|
|
7133
7133
|
},
|
|
7134
7134
|
"name": "status",
|
|
7135
7135
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7158,7 +7158,7 @@
|
|
|
7158
7158
|
"immutable": true,
|
|
7159
7159
|
"locationInModule": {
|
|
7160
7160
|
"filename": "src/providers/ecs.ts",
|
|
7161
|
-
"line":
|
|
7161
|
+
"line": 290
|
|
7162
7162
|
},
|
|
7163
7163
|
"name": "connections",
|
|
7164
7164
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -7174,7 +7174,7 @@
|
|
|
7174
7174
|
"immutable": true,
|
|
7175
7175
|
"locationInModule": {
|
|
7176
7176
|
"filename": "src/providers/ecs.ts",
|
|
7177
|
-
"line":
|
|
7177
|
+
"line": 285
|
|
7178
7178
|
},
|
|
7179
7179
|
"name": "grantPrincipal",
|
|
7180
7180
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
|
@@ -7190,7 +7190,7 @@
|
|
|
7190
7190
|
"immutable": true,
|
|
7191
7191
|
"locationInModule": {
|
|
7192
7192
|
"filename": "src/providers/ecs.ts",
|
|
7193
|
-
"line":
|
|
7193
|
+
"line": 265
|
|
7194
7194
|
},
|
|
7195
7195
|
"name": "labels",
|
|
7196
7196
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7212,7 +7212,7 @@
|
|
|
7212
7212
|
"immutable": true,
|
|
7213
7213
|
"locationInModule": {
|
|
7214
7214
|
"filename": "src/providers/ecs.ts",
|
|
7215
|
-
"line":
|
|
7215
|
+
"line": 302
|
|
7216
7216
|
},
|
|
7217
7217
|
"name": "logGroup",
|
|
7218
7218
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7228,7 +7228,7 @@
|
|
|
7228
7228
|
"immutable": true,
|
|
7229
7229
|
"locationInModule": {
|
|
7230
7230
|
"filename": "src/providers/ecs.ts",
|
|
7231
|
-
"line":
|
|
7231
|
+
"line": 314
|
|
7232
7232
|
},
|
|
7233
7233
|
"name": "retryableErrors",
|
|
7234
7234
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7348,7 +7348,7 @@
|
|
|
7348
7348
|
"immutable": true,
|
|
7349
7349
|
"locationInModule": {
|
|
7350
7350
|
"filename": "src/providers/ecs.ts",
|
|
7351
|
-
"line":
|
|
7351
|
+
"line": 160
|
|
7352
7352
|
},
|
|
7353
7353
|
"name": "dockerInDocker",
|
|
7354
7354
|
"optional": true,
|
|
@@ -7386,7 +7386,7 @@
|
|
|
7386
7386
|
"immutable": true,
|
|
7387
7387
|
"locationInModule": {
|
|
7388
7388
|
"filename": "src/providers/ecs.ts",
|
|
7389
|
-
"line":
|
|
7389
|
+
"line": 129
|
|
7390
7390
|
},
|
|
7391
7391
|
"name": "instanceType",
|
|
7392
7392
|
"optional": true,
|
|
@@ -7429,7 +7429,7 @@
|
|
|
7429
7429
|
"immutable": true,
|
|
7430
7430
|
"locationInModule": {
|
|
7431
7431
|
"filename": "src/providers/ecs.ts",
|
|
7432
|
-
"line":
|
|
7432
|
+
"line": 143
|
|
7433
7433
|
},
|
|
7434
7434
|
"name": "maxInstances",
|
|
7435
7435
|
"optional": true,
|
|
@@ -7440,7 +7440,7 @@
|
|
|
7440
7440
|
{
|
|
7441
7441
|
"abstract": true,
|
|
7442
7442
|
"docs": {
|
|
7443
|
-
"default": "3500",
|
|
7443
|
+
"default": "3500, unless `memoryReservationMiB` is used and then it's undefined",
|
|
7444
7444
|
"stability": "experimental",
|
|
7445
7445
|
"summary": "The amount (in MiB) of memory used by the task."
|
|
7446
7446
|
},
|
|
@@ -7455,6 +7455,24 @@
|
|
|
7455
7455
|
"primitive": "number"
|
|
7456
7456
|
}
|
|
7457
7457
|
},
|
|
7458
|
+
{
|
|
7459
|
+
"abstract": true,
|
|
7460
|
+
"docs": {
|
|
7461
|
+
"default": "undefined",
|
|
7462
|
+
"stability": "experimental",
|
|
7463
|
+
"summary": "The soft limit (in MiB) of memory to reserve for the container."
|
|
7464
|
+
},
|
|
7465
|
+
"immutable": true,
|
|
7466
|
+
"locationInModule": {
|
|
7467
|
+
"filename": "src/providers/ecs.ts",
|
|
7468
|
+
"line": 122
|
|
7469
|
+
},
|
|
7470
|
+
"name": "memoryReservationMiB",
|
|
7471
|
+
"optional": true,
|
|
7472
|
+
"type": {
|
|
7473
|
+
"primitive": "number"
|
|
7474
|
+
}
|
|
7475
|
+
},
|
|
7458
7476
|
{
|
|
7459
7477
|
"abstract": true,
|
|
7460
7478
|
"docs": {
|
|
@@ -7466,7 +7484,7 @@
|
|
|
7466
7484
|
"immutable": true,
|
|
7467
7485
|
"locationInModule": {
|
|
7468
7486
|
"filename": "src/providers/ecs.ts",
|
|
7469
|
-
"line":
|
|
7487
|
+
"line": 136
|
|
7470
7488
|
},
|
|
7471
7489
|
"name": "minInstances",
|
|
7472
7490
|
"optional": true,
|
|
@@ -7507,7 +7525,7 @@
|
|
|
7507
7525
|
"immutable": true,
|
|
7508
7526
|
"locationInModule": {
|
|
7509
7527
|
"filename": "src/providers/ecs.ts",
|
|
7510
|
-
"line":
|
|
7528
|
+
"line": 167
|
|
7511
7529
|
},
|
|
7512
7530
|
"name": "spot",
|
|
7513
7531
|
"optional": true,
|
|
@@ -7524,7 +7542,7 @@
|
|
|
7524
7542
|
"immutable": true,
|
|
7525
7543
|
"locationInModule": {
|
|
7526
7544
|
"filename": "src/providers/ecs.ts",
|
|
7527
|
-
"line":
|
|
7545
|
+
"line": 172
|
|
7528
7546
|
},
|
|
7529
7547
|
"name": "spotMaxPrice",
|
|
7530
7548
|
"optional": true,
|
|
@@ -7543,7 +7561,7 @@
|
|
|
7543
7561
|
"immutable": true,
|
|
7544
7562
|
"locationInModule": {
|
|
7545
7563
|
"filename": "src/providers/ecs.ts",
|
|
7546
|
-
"line":
|
|
7564
|
+
"line": 152
|
|
7547
7565
|
},
|
|
7548
7566
|
"name": "storageSize",
|
|
7549
7567
|
"optional": true,
|
|
@@ -7631,7 +7649,7 @@
|
|
|
7631
7649
|
"kind": "class",
|
|
7632
7650
|
"locationInModule": {
|
|
7633
7651
|
"filename": "src/providers/fargate.ts",
|
|
7634
|
-
"line":
|
|
7652
|
+
"line": 532
|
|
7635
7653
|
},
|
|
7636
7654
|
"name": "FargateRunner",
|
|
7637
7655
|
"symbolId": "src/providers/fargate:FargateRunner"
|
|
@@ -7760,7 +7778,7 @@
|
|
|
7760
7778
|
},
|
|
7761
7779
|
"locationInModule": {
|
|
7762
7780
|
"filename": "src/providers/fargate.ts",
|
|
7763
|
-
"line":
|
|
7781
|
+
"line": 507
|
|
7764
7782
|
},
|
|
7765
7783
|
"name": "grantStateMachine",
|
|
7766
7784
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -7779,7 +7797,7 @@
|
|
|
7779
7797
|
},
|
|
7780
7798
|
"locationInModule": {
|
|
7781
7799
|
"filename": "src/providers/common.ts",
|
|
7782
|
-
"line":
|
|
7800
|
+
"line": 479
|
|
7783
7801
|
},
|
|
7784
7802
|
"name": "labelsFromProperties",
|
|
7785
7803
|
"parameters": [
|
|
@@ -7829,7 +7847,7 @@
|
|
|
7829
7847
|
},
|
|
7830
7848
|
"locationInModule": {
|
|
7831
7849
|
"filename": "src/providers/fargate.ts",
|
|
7832
|
-
"line":
|
|
7850
|
+
"line": 510
|
|
7833
7851
|
},
|
|
7834
7852
|
"name": "status",
|
|
7835
7853
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -8435,7 +8453,7 @@
|
|
|
8435
8453
|
},
|
|
8436
8454
|
"locationInModule": {
|
|
8437
8455
|
"filename": "src/runner.ts",
|
|
8438
|
-
"line":
|
|
8456
|
+
"line": 771
|
|
8439
8457
|
},
|
|
8440
8458
|
"name": "createLogsInsightsQueries"
|
|
8441
8459
|
},
|
|
@@ -8447,7 +8465,7 @@
|
|
|
8447
8465
|
},
|
|
8448
8466
|
"locationInModule": {
|
|
8449
8467
|
"filename": "src/runner.ts",
|
|
8450
|
-
"line":
|
|
8468
|
+
"line": 751
|
|
8451
8469
|
},
|
|
8452
8470
|
"name": "failedImageBuildsTopic",
|
|
8453
8471
|
"returns": {
|
|
@@ -8464,7 +8482,7 @@
|
|
|
8464
8482
|
},
|
|
8465
8483
|
"locationInModule": {
|
|
8466
8484
|
"filename": "src/runner.ts",
|
|
8467
|
-
"line":
|
|
8485
|
+
"line": 733
|
|
8468
8486
|
},
|
|
8469
8487
|
"name": "metricFailed",
|
|
8470
8488
|
"parameters": [
|
|
@@ -8490,7 +8508,7 @@
|
|
|
8490
8508
|
},
|
|
8491
8509
|
"locationInModule": {
|
|
8492
8510
|
"filename": "src/runner.ts",
|
|
8493
|
-
"line":
|
|
8511
|
+
"line": 678
|
|
8494
8512
|
},
|
|
8495
8513
|
"name": "metricJobCompleted",
|
|
8496
8514
|
"parameters": [
|
|
@@ -8516,7 +8534,7 @@
|
|
|
8516
8534
|
},
|
|
8517
8535
|
"locationInModule": {
|
|
8518
8536
|
"filename": "src/runner.ts",
|
|
8519
|
-
"line":
|
|
8537
|
+
"line": 724
|
|
8520
8538
|
},
|
|
8521
8539
|
"name": "metricSucceeded",
|
|
8522
8540
|
"parameters": [
|
|
@@ -8542,7 +8560,7 @@
|
|
|
8542
8560
|
},
|
|
8543
8561
|
"locationInModule": {
|
|
8544
8562
|
"filename": "src/runner.ts",
|
|
8545
|
-
"line":
|
|
8563
|
+
"line": 740
|
|
8546
8564
|
},
|
|
8547
8565
|
"name": "metricTime",
|
|
8548
8566
|
"parameters": [
|
|
@@ -8913,7 +8931,7 @@
|
|
|
8913
8931
|
"kind": "interface",
|
|
8914
8932
|
"locationInModule": {
|
|
8915
8933
|
"filename": "src/providers/common.ts",
|
|
8916
|
-
"line":
|
|
8934
|
+
"line": 360
|
|
8917
8935
|
},
|
|
8918
8936
|
"name": "IRunnerAmiStatus",
|
|
8919
8937
|
"properties": [
|
|
@@ -8926,7 +8944,7 @@
|
|
|
8926
8944
|
"immutable": true,
|
|
8927
8945
|
"locationInModule": {
|
|
8928
8946
|
"filename": "src/providers/common.ts",
|
|
8929
|
-
"line":
|
|
8947
|
+
"line": 364
|
|
8930
8948
|
},
|
|
8931
8949
|
"name": "launchTemplate",
|
|
8932
8950
|
"type": {
|
|
@@ -8942,7 +8960,7 @@
|
|
|
8942
8960
|
"immutable": true,
|
|
8943
8961
|
"locationInModule": {
|
|
8944
8962
|
"filename": "src/providers/common.ts",
|
|
8945
|
-
"line":
|
|
8963
|
+
"line": 369
|
|
8946
8964
|
},
|
|
8947
8965
|
"name": "amiBuilderLogGroup",
|
|
8948
8966
|
"optional": true,
|
|
@@ -9017,7 +9035,7 @@
|
|
|
9017
9035
|
"kind": "interface",
|
|
9018
9036
|
"locationInModule": {
|
|
9019
9037
|
"filename": "src/providers/common.ts",
|
|
9020
|
-
"line":
|
|
9038
|
+
"line": 340
|
|
9021
9039
|
},
|
|
9022
9040
|
"name": "IRunnerImageStatus",
|
|
9023
9041
|
"properties": [
|
|
@@ -9030,7 +9048,7 @@
|
|
|
9030
9048
|
"immutable": true,
|
|
9031
9049
|
"locationInModule": {
|
|
9032
9050
|
"filename": "src/providers/common.ts",
|
|
9033
|
-
"line":
|
|
9051
|
+
"line": 344
|
|
9034
9052
|
},
|
|
9035
9053
|
"name": "imageRepository",
|
|
9036
9054
|
"type": {
|
|
@@ -9046,7 +9064,7 @@
|
|
|
9046
9064
|
"immutable": true,
|
|
9047
9065
|
"locationInModule": {
|
|
9048
9066
|
"filename": "src/providers/common.ts",
|
|
9049
|
-
"line":
|
|
9067
|
+
"line": 349
|
|
9050
9068
|
},
|
|
9051
9069
|
"name": "imageTag",
|
|
9052
9070
|
"type": {
|
|
@@ -9062,7 +9080,7 @@
|
|
|
9062
9080
|
"immutable": true,
|
|
9063
9081
|
"locationInModule": {
|
|
9064
9082
|
"filename": "src/providers/common.ts",
|
|
9065
|
-
"line":
|
|
9083
|
+
"line": 354
|
|
9066
9084
|
},
|
|
9067
9085
|
"name": "imageBuilderLogGroup",
|
|
9068
9086
|
"optional": true,
|
|
@@ -9089,7 +9107,7 @@
|
|
|
9089
9107
|
"kind": "interface",
|
|
9090
9108
|
"locationInModule": {
|
|
9091
9109
|
"filename": "src/providers/common.ts",
|
|
9092
|
-
"line":
|
|
9110
|
+
"line": 420
|
|
9093
9111
|
},
|
|
9094
9112
|
"methods": [
|
|
9095
9113
|
{
|
|
@@ -9101,7 +9119,7 @@
|
|
|
9101
9119
|
},
|
|
9102
9120
|
"locationInModule": {
|
|
9103
9121
|
"filename": "src/providers/common.ts",
|
|
9104
|
-
"line":
|
|
9122
|
+
"line": 451
|
|
9105
9123
|
},
|
|
9106
9124
|
"name": "getStepFunctionTask",
|
|
9107
9125
|
"parameters": [
|
|
@@ -9130,7 +9148,7 @@
|
|
|
9130
9148
|
},
|
|
9131
9149
|
"locationInModule": {
|
|
9132
9150
|
"filename": "src/providers/common.ts",
|
|
9133
|
-
"line":
|
|
9151
|
+
"line": 459
|
|
9134
9152
|
},
|
|
9135
9153
|
"name": "grantStateMachine",
|
|
9136
9154
|
"parameters": [
|
|
@@ -9154,7 +9172,7 @@
|
|
|
9154
9172
|
},
|
|
9155
9173
|
"locationInModule": {
|
|
9156
9174
|
"filename": "src/providers/common.ts",
|
|
9157
|
-
"line":
|
|
9175
|
+
"line": 466
|
|
9158
9176
|
},
|
|
9159
9177
|
"name": "status",
|
|
9160
9178
|
"parameters": [
|
|
@@ -9187,7 +9205,7 @@
|
|
|
9187
9205
|
"immutable": true,
|
|
9188
9206
|
"locationInModule": {
|
|
9189
9207
|
"filename": "src/providers/common.ts",
|
|
9190
|
-
"line":
|
|
9208
|
+
"line": 428
|
|
9191
9209
|
},
|
|
9192
9210
|
"name": "labels",
|
|
9193
9211
|
"type": {
|
|
@@ -9209,7 +9227,7 @@
|
|
|
9209
9227
|
"immutable": true,
|
|
9210
9228
|
"locationInModule": {
|
|
9211
9229
|
"filename": "src/providers/common.ts",
|
|
9212
|
-
"line":
|
|
9230
|
+
"line": 435
|
|
9213
9231
|
},
|
|
9214
9232
|
"name": "logGroup",
|
|
9215
9233
|
"type": {
|
|
@@ -9226,7 +9244,7 @@
|
|
|
9226
9244
|
"immutable": true,
|
|
9227
9245
|
"locationInModule": {
|
|
9228
9246
|
"filename": "src/providers/common.ts",
|
|
9229
|
-
"line":
|
|
9247
|
+
"line": 442
|
|
9230
9248
|
},
|
|
9231
9249
|
"name": "retryableErrors",
|
|
9232
9250
|
"type": {
|
|
@@ -9251,7 +9269,7 @@
|
|
|
9251
9269
|
"kind": "interface",
|
|
9252
9270
|
"locationInModule": {
|
|
9253
9271
|
"filename": "src/providers/common.ts",
|
|
9254
|
-
"line":
|
|
9272
|
+
"line": 375
|
|
9255
9273
|
},
|
|
9256
9274
|
"name": "IRunnerProviderStatus",
|
|
9257
9275
|
"properties": [
|
|
@@ -9264,7 +9282,7 @@
|
|
|
9264
9282
|
"immutable": true,
|
|
9265
9283
|
"locationInModule": {
|
|
9266
9284
|
"filename": "src/providers/common.ts",
|
|
9267
|
-
"line":
|
|
9285
|
+
"line": 384
|
|
9268
9286
|
},
|
|
9269
9287
|
"name": "labels",
|
|
9270
9288
|
"type": {
|
|
@@ -9285,7 +9303,7 @@
|
|
|
9285
9303
|
"immutable": true,
|
|
9286
9304
|
"locationInModule": {
|
|
9287
9305
|
"filename": "src/providers/common.ts",
|
|
9288
|
-
"line":
|
|
9306
|
+
"line": 379
|
|
9289
9307
|
},
|
|
9290
9308
|
"name": "type",
|
|
9291
9309
|
"type": {
|
|
@@ -9301,7 +9319,7 @@
|
|
|
9301
9319
|
"immutable": true,
|
|
9302
9320
|
"locationInModule": {
|
|
9303
9321
|
"filename": "src/providers/common.ts",
|
|
9304
|
-
"line":
|
|
9322
|
+
"line": 409
|
|
9305
9323
|
},
|
|
9306
9324
|
"name": "ami",
|
|
9307
9325
|
"optional": true,
|
|
@@ -9318,7 +9336,7 @@
|
|
|
9318
9336
|
"immutable": true,
|
|
9319
9337
|
"locationInModule": {
|
|
9320
9338
|
"filename": "src/providers/common.ts",
|
|
9321
|
-
"line":
|
|
9339
|
+
"line": 404
|
|
9322
9340
|
},
|
|
9323
9341
|
"name": "image",
|
|
9324
9342
|
"optional": true,
|
|
@@ -9335,7 +9353,7 @@
|
|
|
9335
9353
|
"immutable": true,
|
|
9336
9354
|
"locationInModule": {
|
|
9337
9355
|
"filename": "src/providers/common.ts",
|
|
9338
|
-
"line":
|
|
9356
|
+
"line": 414
|
|
9339
9357
|
},
|
|
9340
9358
|
"name": "logGroup",
|
|
9341
9359
|
"optional": true,
|
|
@@ -9352,7 +9370,7 @@
|
|
|
9352
9370
|
"immutable": true,
|
|
9353
9371
|
"locationInModule": {
|
|
9354
9372
|
"filename": "src/providers/common.ts",
|
|
9355
|
-
"line":
|
|
9373
|
+
"line": 399
|
|
9356
9374
|
},
|
|
9357
9375
|
"name": "roleArn",
|
|
9358
9376
|
"optional": true,
|
|
@@ -9369,7 +9387,7 @@
|
|
|
9369
9387
|
"immutable": true,
|
|
9370
9388
|
"locationInModule": {
|
|
9371
9389
|
"filename": "src/providers/common.ts",
|
|
9372
|
-
"line":
|
|
9390
|
+
"line": 394
|
|
9373
9391
|
},
|
|
9374
9392
|
"name": "securityGroups",
|
|
9375
9393
|
"optional": true,
|
|
@@ -9391,7 +9409,7 @@
|
|
|
9391
9409
|
"immutable": true,
|
|
9392
9410
|
"locationInModule": {
|
|
9393
9411
|
"filename": "src/providers/common.ts",
|
|
9394
|
-
"line":
|
|
9412
|
+
"line": 389
|
|
9395
9413
|
},
|
|
9396
9414
|
"name": "vpcArn",
|
|
9397
9415
|
"optional": true,
|
|
@@ -9945,7 +9963,7 @@
|
|
|
9945
9963
|
"kind": "class",
|
|
9946
9964
|
"locationInModule": {
|
|
9947
9965
|
"filename": "src/providers/lambda.ts",
|
|
9948
|
-
"line":
|
|
9966
|
+
"line": 462
|
|
9949
9967
|
},
|
|
9950
9968
|
"name": "LambdaRunner",
|
|
9951
9969
|
"symbolId": "src/providers/lambda:LambdaRunner"
|
|
@@ -10074,7 +10092,7 @@
|
|
|
10074
10092
|
},
|
|
10075
10093
|
"locationInModule": {
|
|
10076
10094
|
"filename": "src/providers/lambda.ts",
|
|
10077
|
-
"line":
|
|
10095
|
+
"line": 379
|
|
10078
10096
|
},
|
|
10079
10097
|
"name": "grantStateMachine",
|
|
10080
10098
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -10093,7 +10111,7 @@
|
|
|
10093
10111
|
},
|
|
10094
10112
|
"locationInModule": {
|
|
10095
10113
|
"filename": "src/providers/common.ts",
|
|
10096
|
-
"line":
|
|
10114
|
+
"line": 479
|
|
10097
10115
|
},
|
|
10098
10116
|
"name": "labelsFromProperties",
|
|
10099
10117
|
"parameters": [
|
|
@@ -10143,7 +10161,7 @@
|
|
|
10143
10161
|
},
|
|
10144
10162
|
"locationInModule": {
|
|
10145
10163
|
"filename": "src/providers/lambda.ts",
|
|
10146
|
-
"line":
|
|
10164
|
+
"line": 382
|
|
10147
10165
|
},
|
|
10148
10166
|
"name": "status",
|
|
10149
10167
|
"overrides": "@cloudsnorkel/cdk-github-runners.IRunnerProvider",
|
|
@@ -12611,7 +12629,7 @@
|
|
|
12611
12629
|
"assembly": "@cloudsnorkel/cdk-github-runners",
|
|
12612
12630
|
"datatype": true,
|
|
12613
12631
|
"docs": {
|
|
12614
|
-
"remarks": "```sh\n./config.sh --unattended --url \"
|
|
12632
|
+
"remarks": "```sh\n./config.sh --unattended --url \"{REGISTRATION_URL}\" --token \"${RUNNER_TOKEN}\" --ephemeral --work _work --labels \"${RUNNER_LABEL}\" --name \"${RUNNER_NAME}\" --disableupdate\n```\n\nAll parameters are specified as step function paths and therefore must be used only in step function task parameters.",
|
|
12615
12633
|
"stability": "experimental",
|
|
12616
12634
|
"summary": "Workflow job parameters as parsed from the webhook event. Pass these into your runner executor and run something like:."
|
|
12617
12635
|
},
|
|
@@ -12656,6 +12674,22 @@
|
|
|
12656
12674
|
"primitive": "string"
|
|
12657
12675
|
}
|
|
12658
12676
|
},
|
|
12677
|
+
{
|
|
12678
|
+
"abstract": true,
|
|
12679
|
+
"docs": {
|
|
12680
|
+
"stability": "experimental",
|
|
12681
|
+
"summary": "Repository or organization URL to register runner at."
|
|
12682
|
+
},
|
|
12683
|
+
"immutable": true,
|
|
12684
|
+
"locationInModule": {
|
|
12685
|
+
"filename": "src/providers/common.ts",
|
|
12686
|
+
"line": 333
|
|
12687
|
+
},
|
|
12688
|
+
"name": "registrationUrl",
|
|
12689
|
+
"type": {
|
|
12690
|
+
"primitive": "string"
|
|
12691
|
+
}
|
|
12692
|
+
},
|
|
12659
12693
|
{
|
|
12660
12694
|
"abstract": true,
|
|
12661
12695
|
"docs": {
|
|
@@ -13325,6 +13359,6 @@
|
|
|
13325
13359
|
"symbolId": "src/image-builders/aws-image-builder/deprecated/windows-components:WindowsComponents"
|
|
13326
13360
|
}
|
|
13327
13361
|
},
|
|
13328
|
-
"version": "0.11.
|
|
13329
|
-
"fingerprint": "
|
|
13362
|
+
"version": "0.11.5",
|
|
13363
|
+
"fingerprint": "xvADLqE6lSSIwGoQiUhMIzmSH7uiKJnt0XAMeLdp1OE="
|
|
13330
13364
|
}
|