@catladder/cli 0.0.0-main-bbf8f934 → 0.0.0-main-8ed10e0f

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-bbf8f934" || 0;
40077
+ exports.PIPELINE_IMAGE_TAG = "main-8ed10e0f" || 0;
40078
40078
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40079
40079
 
40080
40080
  /***/ }),
@@ -41334,18 +41334,19 @@ 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
- command: command ? '"' + command.split(" ").join(",") + '"' : undefined
41341
+ // command as empty string resets it to default (uses the image's entrypoint)
41342
+ command: command ? '"' + command.split(" ").join(",") + '"' : '""'
41342
41343
  }, commonDeployArgs), {
41343
41344
  "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,
41345
+ "min-instances": (_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.minInstances) !== null && _b !== void 0 ? _b : 0,
41346
+ "max-instances": (_c = customConfig === null || customConfig === void 0 ? void 0 : customConfig.maxInstances) !== null && _c !== void 0 ? _c : 100,
41346
41347
  "cpu-throttling": (customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling) !== true,
41347
41348
  memory: customConfig === null || customConfig === void 0 ? void 0 : customConfig.memory,
41348
- "allow-unauthenticated": (_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _b !== void 0 ? _b : true
41349
+ "allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true
41349
41350
  }));
41350
41351
  return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString);
41351
41352
  };
@@ -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-bbf8f934" || 0;
351329
+ exports.PIPELINE_IMAGE_TAG = "main-8ed10e0f" || 0;
351330
351330
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
351331
351331
 
351332
351332
  /***/ }),
@@ -352586,18 +352586,19 @@ 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
- command: command ? '"' + command.split(" ").join(",") + '"' : undefined
352593
+ // command as empty string resets it to default (uses the image's entrypoint)
352594
+ command: command ? '"' + command.split(" ").join(",") + '"' : '""'
352594
352595
  }, commonDeployArgs), {
352595
352596
  "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,
352597
+ "min-instances": (_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.minInstances) !== null && _b !== void 0 ? _b : 0,
352598
+ "max-instances": (_c = customConfig === null || customConfig === void 0 ? void 0 : customConfig.maxInstances) !== null && _c !== void 0 ? _c : 100,
352598
352599
  "cpu-throttling": (customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling) !== true,
352599
352600
  memory: customConfig === null || customConfig === void 0 ? void 0 : customConfig.memory,
352600
- "allow-unauthenticated": (_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _b !== void 0 ? _b : true
352601
+ "allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true
352601
352602
  }));
352602
352603
  return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString);
352603
352604
  };
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-bbf8f934",
27
+ "@catladder/pipeline": "0.0.0-main-8ed10e0f",
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-bbf8f934",
60
+ "version": "0.0.0-main-8ed10e0f",
61
61
  "stableVersion": "0.0.0"
62
62
  }