@catladder/cli 0.0.0-main-7e2d39a3 → 0.0.0-main-1aae5371

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-7e2d39a3" || 0;
40077
+ exports.PIPELINE_IMAGE_TAG = "main-1aae5371" || 0;
40078
40078
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40079
40079
 
40080
40080
  /***/ }),
@@ -41343,10 +41343,10 @@ var createGoogleCloudRunDeployJobs = function (context) {
41343
41343
  "env-vars-file": "____envvars.yaml",
41344
41344
  "min-instances": customConfig === null || customConfig === void 0 ? void 0 : customConfig.minInstances,
41345
41345
  "max-instances": customConfig === null || customConfig === void 0 ? void 0 : customConfig.maxInstances,
41346
- "no-cpu-throttling": customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling
41346
+ "cpu-throttling": (customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling) !== true,
41347
+ "allow-unauthenticated": (_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _b !== void 0 ? _b : true
41347
41348
  }));
41348
- var authenticationString = ((_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _b !== void 0 ? _b : true) ? "--allow-unauthenticated" : "--no-allow-unauthenticated";
41349
- return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString, " ").concat(authenticationString);
41349
+ return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString);
41350
41350
  };
41351
41351
  var getJobCreateScriptsForJob = function (jobName, job) {
41352
41352
  // due to some oversight from google, jobs create does not accept `--env-vars-file` 🤦
@@ -41620,7 +41620,12 @@ var createArgsString = function (args) {
41620
41620
  var _b = __read(_a, 2),
41621
41621
  key = _b[0],
41622
41622
  value = _b[1];
41623
- return "--".concat(key).concat(value !== true ? "=".concat(value) : "");
41623
+ if (value === true) {
41624
+ return "--".concat(key);
41625
+ } else if (value === false) {
41626
+ return "--no-".concat(key);
41627
+ }
41628
+ return "--".concat(key, "=").concat(value);
41624
41629
  }).join(" ");
41625
41630
  };
41626
41631
  exports.createArgsString = createArgsString;
@@ -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-7e2d39a3" || 0;
351329
+ exports.PIPELINE_IMAGE_TAG = "main-1aae5371" || 0;
351330
351330
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
351331
351331
 
351332
351332
  /***/ }),
@@ -352595,10 +352595,10 @@ var createGoogleCloudRunDeployJobs = function (context) {
352595
352595
  "env-vars-file": "____envvars.yaml",
352596
352596
  "min-instances": customConfig === null || customConfig === void 0 ? void 0 : customConfig.minInstances,
352597
352597
  "max-instances": customConfig === null || customConfig === void 0 ? void 0 : customConfig.maxInstances,
352598
- "no-cpu-throttling": customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling
352598
+ "cpu-throttling": (customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling) !== true,
352599
+ "allow-unauthenticated": (_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _b !== void 0 ? _b : true
352599
352600
  }));
352600
- var authenticationString = ((_b = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _b !== void 0 ? _b : true) ? "--allow-unauthenticated" : "--no-allow-unauthenticated";
352601
- return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString, " ").concat(authenticationString);
352601
+ return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString);
352602
352602
  };
352603
352603
  var getJobCreateScriptsForJob = function (jobName, job) {
352604
352604
  // due to some oversight from google, jobs create does not accept `--env-vars-file` 🤦
@@ -352872,7 +352872,12 @@ var createArgsString = function (args) {
352872
352872
  var _b = __read(_a, 2),
352873
352873
  key = _b[0],
352874
352874
  value = _b[1];
352875
- return "--".concat(key).concat(value !== true ? "=".concat(value) : "");
352875
+ if (value === true) {
352876
+ return "--".concat(key);
352877
+ } else if (value === false) {
352878
+ return "--no-".concat(key);
352879
+ }
352880
+ return "--".concat(key, "=").concat(value);
352876
352881
  }).join(" ");
352877
352882
  };
352878
352883
  exports.createArgsString = createArgsString;
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-7e2d39a3",
27
+ "@catladder/pipeline": "0.0.0-main-1aae5371",
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-7e2d39a3",
60
+ "version": "0.0.0-main-1aae5371",
61
61
  "stableVersion": "0.0.0"
62
62
  }