@catladder/cli 0.0.0-main-bbf8f934 → 0.0.0-main-3e765a72
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.
|
@@ -40074,7 +40074,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
40074
40074
|
|
|
40075
40075
|
exports.__esModule = true;
|
|
40076
40076
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
40077
|
-
exports.PIPELINE_IMAGE_TAG = "main-
|
|
40077
|
+
exports.PIPELINE_IMAGE_TAG = "main-3e765a72" || 0;
|
|
40078
40078
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
40079
40079
|
|
|
40080
40080
|
/***/ }),
|
|
@@ -41334,18 +41334,18 @@ var createGoogleCloudRunDeployJobs = function (context) {
|
|
|
41334
41334
|
};
|
|
41335
41335
|
});
|
|
41336
41336
|
var getServiceDeployScript = function (service, nameSuffix) {
|
|
41337
|
-
var _a, _b;
|
|
41337
|
+
var _a, _b, _c, _d;
|
|
41338
41338
|
var customConfig = service !== true ? service : undefined;
|
|
41339
41339
|
var command = service !== true ? (_a = service === null || service === void 0 ? void 0 : service.command) !== null && _a !== void 0 ? _a : context.componentConfig.build.startCommand : undefined;
|
|
41340
41340
|
var argsString = (0, createArgsString_1.createArgsString)(__assign(__assign({
|
|
41341
41341
|
command: command ? '"' + command.split(" ").join(",") + '"' : undefined
|
|
41342
41342
|
}, commonDeployArgs), {
|
|
41343
41343
|
"env-vars-file": "____envvars.yaml",
|
|
41344
|
-
"min-instances": customConfig === null || customConfig === void 0 ? void 0 : customConfig.minInstances,
|
|
41345
|
-
"max-instances": customConfig === null || customConfig === void 0 ? void 0 : customConfig.maxInstances,
|
|
41344
|
+
"min-instances": (_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.minInstances) !== null && _b !== void 0 ? _b : 0,
|
|
41345
|
+
"max-instances": (_c = customConfig === null || customConfig === void 0 ? void 0 : customConfig.maxInstances) !== null && _c !== void 0 ? _c : 100,
|
|
41346
41346
|
"cpu-throttling": (customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling) !== true,
|
|
41347
41347
|
memory: customConfig === null || customConfig === void 0 ? void 0 : customConfig.memory,
|
|
41348
|
-
"allow-unauthenticated": (
|
|
41348
|
+
"allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true
|
|
41349
41349
|
}));
|
|
41350
41350
|
return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString);
|
|
41351
41351
|
};
|
|
@@ -351326,7 +351326,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
351326
351326
|
|
|
351327
351327
|
exports.__esModule = true;
|
|
351328
351328
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
351329
|
-
exports.PIPELINE_IMAGE_TAG = "main-
|
|
351329
|
+
exports.PIPELINE_IMAGE_TAG = "main-3e765a72" || 0;
|
|
351330
351330
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
351331
351331
|
|
|
351332
351332
|
/***/ }),
|
|
@@ -352586,18 +352586,18 @@ var createGoogleCloudRunDeployJobs = function (context) {
|
|
|
352586
352586
|
};
|
|
352587
352587
|
});
|
|
352588
352588
|
var getServiceDeployScript = function (service, nameSuffix) {
|
|
352589
|
-
var _a, _b;
|
|
352589
|
+
var _a, _b, _c, _d;
|
|
352590
352590
|
var customConfig = service !== true ? service : undefined;
|
|
352591
352591
|
var command = service !== true ? (_a = service === null || service === void 0 ? void 0 : service.command) !== null && _a !== void 0 ? _a : context.componentConfig.build.startCommand : undefined;
|
|
352592
352592
|
var argsString = (0, createArgsString_1.createArgsString)(__assign(__assign({
|
|
352593
352593
|
command: command ? '"' + command.split(" ").join(",") + '"' : undefined
|
|
352594
352594
|
}, commonDeployArgs), {
|
|
352595
352595
|
"env-vars-file": "____envvars.yaml",
|
|
352596
|
-
"min-instances": customConfig === null || customConfig === void 0 ? void 0 : customConfig.minInstances,
|
|
352597
|
-
"max-instances": customConfig === null || customConfig === void 0 ? void 0 : customConfig.maxInstances,
|
|
352596
|
+
"min-instances": (_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.minInstances) !== null && _b !== void 0 ? _b : 0,
|
|
352597
|
+
"max-instances": (_c = customConfig === null || customConfig === void 0 ? void 0 : customConfig.maxInstances) !== null && _c !== void 0 ? _c : 100,
|
|
352598
352598
|
"cpu-throttling": (customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling) !== true,
|
|
352599
352599
|
memory: customConfig === null || customConfig === void 0 ? void 0 : customConfig.memory,
|
|
352600
|
-
"allow-unauthenticated": (
|
|
352600
|
+
"allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true
|
|
352601
352601
|
}));
|
|
352602
352602
|
return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString);
|
|
352603
352603
|
};
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": ">=12.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@catladder/pipeline": "0.0.0-main-
|
|
27
|
+
"@catladder/pipeline": "0.0.0-main-3e765a72",
|
|
28
28
|
"@kubernetes/client-node": "^0.16.2",
|
|
29
29
|
"@tsconfig/node14": "^1.0.1",
|
|
30
30
|
"@types/common-tags": "^1.8.0",
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"typescript": "^4.5.4",
|
|
58
58
|
"vorpal": "^1.12.0"
|
|
59
59
|
},
|
|
60
|
-
"version": "0.0.0-main-
|
|
60
|
+
"version": "0.0.0-main-3e765a72",
|
|
61
61
|
"stableVersion": "0.0.0"
|
|
62
62
|
}
|