@cloudsnorkel/cdk-github-runners 0.7.4 → 0.7.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/.jsii +12 -12
- package/lib/lambdas/aws-image-builder-versioner/index.js +11 -1
- package/lib/lambdas/build-image/index.js +4 -0
- package/lib/lambdas/delete-ami/index.js +4 -0
- package/lib/lambdas/delete-runner/index.js +8563 -2157
- package/lib/lambdas/setup/index.js +222 -2
- package/lib/lambdas/status/index.js +8563 -2157
- package/lib/lambdas/token-retriever/index.js +8563 -2157
- package/lib/lambdas/update-lambda/index.js +177 -1863
- package/lib/lambdas/webhook-handler/index.js +5 -0
- package/lib/providers/codebuild.js +1 -1
- package/lib/providers/common.js +3 -3
- package/lib/providers/ec2.js +1 -1
- package/lib/providers/fargate.js +1 -1
- package/lib/providers/image-builders/ami.js +1 -1
- package/lib/providers/image-builders/codebuild.js +1 -1
- package/lib/providers/image-builders/common.js +1 -1
- package/lib/providers/image-builders/container.js +1 -1
- package/lib/providers/image-builders/linux-components.js +4 -2
- package/lib/providers/image-builders/static.js +1 -1
- package/lib/providers/image-builders/windows-components.js +4 -2
- package/lib/providers/lambda.js +1 -1
- package/lib/runner.js +1 -1
- package/lib/secrets.js +1 -1
- package/package.json +8 -8
package/.jsii
CHANGED
|
@@ -3114,7 +3114,7 @@
|
|
|
3114
3114
|
"stability": "experimental"
|
|
3115
3115
|
},
|
|
3116
3116
|
"homepage": "https://github.com/CloudSnorkel/cdk-github-runners.git",
|
|
3117
|
-
"jsiiVersion": "1.
|
|
3117
|
+
"jsiiVersion": "1.73.0 (build 6faeda3)",
|
|
3118
3118
|
"keywords": [
|
|
3119
3119
|
"aws",
|
|
3120
3120
|
"aws-cdk",
|
|
@@ -8407,7 +8407,7 @@
|
|
|
8407
8407
|
},
|
|
8408
8408
|
"locationInModule": {
|
|
8409
8409
|
"filename": "src/providers/image-builders/linux-components.ts",
|
|
8410
|
-
"line":
|
|
8410
|
+
"line": 51
|
|
8411
8411
|
},
|
|
8412
8412
|
"name": "awsCli",
|
|
8413
8413
|
"parameters": [
|
|
@@ -8443,7 +8443,7 @@
|
|
|
8443
8443
|
},
|
|
8444
8444
|
"locationInModule": {
|
|
8445
8445
|
"filename": "src/providers/image-builders/linux-components.ts",
|
|
8446
|
-
"line":
|
|
8446
|
+
"line": 137
|
|
8447
8447
|
},
|
|
8448
8448
|
"name": "docker",
|
|
8449
8449
|
"parameters": [
|
|
@@ -8479,7 +8479,7 @@
|
|
|
8479
8479
|
},
|
|
8480
8480
|
"locationInModule": {
|
|
8481
8481
|
"filename": "src/providers/image-builders/linux-components.ts",
|
|
8482
|
-
"line":
|
|
8482
|
+
"line": 156
|
|
8483
8483
|
},
|
|
8484
8484
|
"name": "extraCertificates",
|
|
8485
8485
|
"parameters": [
|
|
@@ -8515,7 +8515,7 @@
|
|
|
8515
8515
|
},
|
|
8516
8516
|
"locationInModule": {
|
|
8517
8517
|
"filename": "src/providers/image-builders/linux-components.ts",
|
|
8518
|
-
"line":
|
|
8518
|
+
"line": 91
|
|
8519
8519
|
},
|
|
8520
8520
|
"name": "git",
|
|
8521
8521
|
"parameters": [
|
|
@@ -8551,7 +8551,7 @@
|
|
|
8551
8551
|
},
|
|
8552
8552
|
"locationInModule": {
|
|
8553
8553
|
"filename": "src/providers/image-builders/linux-components.ts",
|
|
8554
|
-
"line":
|
|
8554
|
+
"line": 75
|
|
8555
8555
|
},
|
|
8556
8556
|
"name": "githubCli",
|
|
8557
8557
|
"parameters": [
|
|
@@ -8587,7 +8587,7 @@
|
|
|
8587
8587
|
},
|
|
8588
8588
|
"locationInModule": {
|
|
8589
8589
|
"filename": "src/providers/image-builders/linux-components.ts",
|
|
8590
|
-
"line":
|
|
8590
|
+
"line": 105
|
|
8591
8591
|
},
|
|
8592
8592
|
"name": "githubRunner",
|
|
8593
8593
|
"parameters": [
|
|
@@ -9833,7 +9833,7 @@
|
|
|
9833
9833
|
},
|
|
9834
9834
|
"locationInModule": {
|
|
9835
9835
|
"filename": "src/providers/image-builders/windows-components.ts",
|
|
9836
|
-
"line":
|
|
9836
|
+
"line": 101
|
|
9837
9837
|
},
|
|
9838
9838
|
"name": "docker",
|
|
9839
9839
|
"parameters": [
|
|
@@ -9863,7 +9863,7 @@
|
|
|
9863
9863
|
},
|
|
9864
9864
|
"locationInModule": {
|
|
9865
9865
|
"filename": "src/providers/image-builders/windows-components.ts",
|
|
9866
|
-
"line":
|
|
9866
|
+
"line": 121
|
|
9867
9867
|
},
|
|
9868
9868
|
"name": "extraCertificates",
|
|
9869
9869
|
"parameters": [
|
|
@@ -9959,7 +9959,7 @@
|
|
|
9959
9959
|
},
|
|
9960
9960
|
"locationInModule": {
|
|
9961
9961
|
"filename": "src/providers/image-builders/windows-components.ts",
|
|
9962
|
-
"line":
|
|
9962
|
+
"line": 74
|
|
9963
9963
|
},
|
|
9964
9964
|
"name": "githubRunner",
|
|
9965
9965
|
"parameters": [
|
|
@@ -9994,6 +9994,6 @@
|
|
|
9994
9994
|
"symbolId": "src/providers/image-builders/windows-components:WindowsComponents"
|
|
9995
9995
|
}
|
|
9996
9996
|
},
|
|
9997
|
-
"version": "0.7.
|
|
9998
|
-
"fingerprint": "
|
|
9997
|
+
"version": "0.7.5",
|
|
9998
|
+
"fingerprint": "laqJPG7tuKfwHJxSKRBzkd+Ep19fgids70hLEG6AxIE="
|
|
9999
9999
|
}
|
|
@@ -21,6 +21,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
21
21
|
return to;
|
|
22
22
|
};
|
|
23
23
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
24
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
25
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
26
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
27
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
28
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
29
|
mod
|
|
26
30
|
));
|
|
@@ -31,7 +35,8 @@ var require_constants = __commonJS({
|
|
|
31
35
|
"node_modules/semver/internal/constants.js"(exports, module2) {
|
|
32
36
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
33
37
|
var MAX_LENGTH = 256;
|
|
34
|
-
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
|
|
38
|
+
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
39
|
+
9007199254740991;
|
|
35
40
|
var MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
36
41
|
module2.exports = {
|
|
37
42
|
SEMVER_SPEC_VERSION,
|
|
@@ -289,6 +294,8 @@ var require_semver = __commonJS({
|
|
|
289
294
|
}
|
|
290
295
|
} while (++i);
|
|
291
296
|
}
|
|
297
|
+
// preminor will bump the version up to the next minor release, and immediately
|
|
298
|
+
// down to pre-release. premajor and prepatch work the same way.
|
|
292
299
|
inc(release, identifier) {
|
|
293
300
|
switch (release) {
|
|
294
301
|
case "premajor":
|
|
@@ -1137,6 +1144,7 @@ var require_lru_cache = __commonJS({
|
|
|
1137
1144
|
this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;
|
|
1138
1145
|
this.reset();
|
|
1139
1146
|
}
|
|
1147
|
+
// resize the cache when the max changes.
|
|
1140
1148
|
set max(mL) {
|
|
1141
1149
|
if (typeof mL !== "number" || mL < 0)
|
|
1142
1150
|
throw new TypeError("max must be a non-negative number");
|
|
@@ -1161,6 +1169,7 @@ var require_lru_cache = __commonJS({
|
|
|
1161
1169
|
get maxAge() {
|
|
1162
1170
|
return this[MAX_AGE];
|
|
1163
1171
|
}
|
|
1172
|
+
// resize the cache when the lengthCalculator changes.
|
|
1164
1173
|
set lengthCalculator(lC) {
|
|
1165
1174
|
if (typeof lC !== "function")
|
|
1166
1175
|
lC = naiveLength;
|
|
@@ -1475,6 +1484,7 @@ var require_range = __commonJS({
|
|
|
1475
1484
|
});
|
|
1476
1485
|
});
|
|
1477
1486
|
}
|
|
1487
|
+
// if ANY of the sets match ALL of its comparators, then pass
|
|
1478
1488
|
test(version) {
|
|
1479
1489
|
if (!version) {
|
|
1480
1490
|
return false;
|
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -14,6 +14,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
14
|
return to;
|
|
15
15
|
};
|
|
16
16
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
17
21
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
18
22
|
mod
|
|
19
23
|
));
|