@catladder/cli 0.0.0-main-e7ef37ac โ†’ 0.0.0-main-a008667a

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.
@@ -40192,12 +40192,13 @@ var cache_1 = __nccwpck_require__(4303);
40192
40192
  var constants_1 = __nccwpck_require__(9284);
40193
40193
  var yarn_1 = __nccwpck_require__(464);
40194
40194
  var createNodeTestJobs = function (context) {
40195
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
40195
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
40196
40196
  // don't run tests after release
40197
40197
  if (((_a = context.commitInfo) === null || _a === void 0 ? void 0 : _a.trigger) === "taggedRelease") {
40198
40198
  return [];
40199
40199
  }
40200
40200
  var buildConfig = context.componentConfig.build;
40201
+ var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
40201
40202
  var base = {
40202
40203
  variables: __assign(__assign(__assign({
40203
40204
  APP_PATH: context.componentConfig.dir
@@ -40210,23 +40211,25 @@ var createNodeTestJobs = function (context) {
40210
40211
  var auditJob = buildConfig.audit !== false ? __assign(__assign({
40211
40212
  name: "๐Ÿ›ก audit"
40212
40213
  }, base), {
40214
+ image: (_d = (_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.jobImage) !== null && _d !== void 0 ? _d : defaultImage,
40213
40215
  cache: undefined,
40214
- script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((_d = (0, utils_1.ensureArray)((_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.command)) !== null && _d !== void 0 ? _d : [((_e = context.packageManagerInfo) === null || _e === void 0 ? void 0 : _e.isClassic) ? "yarn audit" : "yarn npm audit --environment production" // yarn 2
40216
+ script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((_f = (0, utils_1.ensureArray)((_e = buildConfig.audit) === null || _e === void 0 ? void 0 : _e.command)) !== null && _f !== void 0 ? _f : [((_g = context.packageManagerInfo) === null || _g === void 0 ? void 0 : _g.isClassic) ? "yarn audit" : "yarn npm audit --environment production" // yarn 2
40215
40217
  ]), false),
40216
40218
  allow_failure: true
40217
40219
  }) : null;
40218
40220
  var lintJob = buildConfig.lint !== false ? __assign(__assign({
40219
40221
  name: "๐Ÿ‘ฎ lint"
40220
40222
  }, base), {
40223
+ image: (_j = (_h = buildConfig.lint) === null || _h === void 0 ? void 0 : _h.jobImage) !== null && _j !== void 0 ? _j : defaultImage,
40221
40224
  cache: (0, cache_1.getNodeCache)(context),
40222
- script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_g = (0, utils_1.ensureArray)((_f = buildConfig.lint) === null || _f === void 0 ? void 0 : _f.command)) !== null && _g !== void 0 ? _g : ["yarn lint"]), false)
40225
+ script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_l = (0, utils_1.ensureArray)((_k = buildConfig.lint) === null || _k === void 0 ? void 0 : _k.command)) !== null && _l !== void 0 ? _l : ["yarn lint"]), false)
40223
40226
  }) : null;
40224
40227
  var testJob = buildConfig.test !== false ? __assign(__assign({
40225
40228
  name: "๐Ÿงช test"
40226
40229
  }, base), {
40227
- image: (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
40230
+ image: (_o = (_m = buildConfig.test) === null || _m === void 0 ? void 0 : _m.jobImage) !== null && _o !== void 0 ? _o : (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
40228
40231
  cache: (0, cache_1.getNodeCache)(context),
40229
- script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_j = (0, utils_1.ensureArray)((_h = buildConfig.test) === null || _h === void 0 ? void 0 : _h.command)) !== null && _j !== void 0 ? _j : ["yarn test"]), false)
40232
+ script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_q = (0, utils_1.ensureArray)((_p = buildConfig.test) === null || _p === void 0 ? void 0 : _p.command)) !== null && _q !== void 0 ? _q : ["yarn test"]), false)
40230
40233
  }) : null;
40231
40234
  return [auditJob, lintJob, testJob].filter(utils_1.notNil);
40232
40235
  };
@@ -40722,7 +40725,7 @@ exports.readConfigSync = readConfigSync;
40722
40725
 
40723
40726
  exports.__esModule = true;
40724
40727
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40725
- exports.PIPELINE_IMAGE_TAG = "main-e7ef37ac" || 0;
40728
+ exports.PIPELINE_IMAGE_TAG = "main-a008667a" || 0;
40726
40729
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40727
40730
 
40728
40731
  /***/ }),
@@ -351260,12 +351260,13 @@ var cache_1 = __nccwpck_require__(54303);
351260
351260
  var constants_1 = __nccwpck_require__(69284);
351261
351261
  var yarn_1 = __nccwpck_require__(10464);
351262
351262
  var createNodeTestJobs = function (context) {
351263
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
351263
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
351264
351264
  // don't run tests after release
351265
351265
  if (((_a = context.commitInfo) === null || _a === void 0 ? void 0 : _a.trigger) === "taggedRelease") {
351266
351266
  return [];
351267
351267
  }
351268
351268
  var buildConfig = context.componentConfig.build;
351269
+ var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
351269
351270
  var base = {
351270
351271
  variables: __assign(__assign(__assign({
351271
351272
  APP_PATH: context.componentConfig.dir
@@ -351278,23 +351279,25 @@ var createNodeTestJobs = function (context) {
351278
351279
  var auditJob = buildConfig.audit !== false ? __assign(__assign({
351279
351280
  name: "๐Ÿ›ก audit"
351280
351281
  }, base), {
351282
+ image: (_d = (_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.jobImage) !== null && _d !== void 0 ? _d : defaultImage,
351281
351283
  cache: undefined,
351282
- script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((_d = (0, utils_1.ensureArray)((_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.command)) !== null && _d !== void 0 ? _d : [((_e = context.packageManagerInfo) === null || _e === void 0 ? void 0 : _e.isClassic) ? "yarn audit" : "yarn npm audit --environment production" // yarn 2
351284
+ script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((_f = (0, utils_1.ensureArray)((_e = buildConfig.audit) === null || _e === void 0 ? void 0 : _e.command)) !== null && _f !== void 0 ? _f : [((_g = context.packageManagerInfo) === null || _g === void 0 ? void 0 : _g.isClassic) ? "yarn audit" : "yarn npm audit --environment production" // yarn 2
351283
351285
  ]), false),
351284
351286
  allow_failure: true
351285
351287
  }) : null;
351286
351288
  var lintJob = buildConfig.lint !== false ? __assign(__assign({
351287
351289
  name: "๐Ÿ‘ฎ lint"
351288
351290
  }, base), {
351291
+ image: (_j = (_h = buildConfig.lint) === null || _h === void 0 ? void 0 : _h.jobImage) !== null && _j !== void 0 ? _j : defaultImage,
351289
351292
  cache: (0, cache_1.getNodeCache)(context),
351290
- script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_g = (0, utils_1.ensureArray)((_f = buildConfig.lint) === null || _f === void 0 ? void 0 : _f.command)) !== null && _g !== void 0 ? _g : ["yarn lint"]), false)
351293
+ script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_l = (0, utils_1.ensureArray)((_k = buildConfig.lint) === null || _k === void 0 ? void 0 : _k.command)) !== null && _l !== void 0 ? _l : ["yarn lint"]), false)
351291
351294
  }) : null;
351292
351295
  var testJob = buildConfig.test !== false ? __assign(__assign({
351293
351296
  name: "๐Ÿงช test"
351294
351297
  }, base), {
351295
- image: (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
351298
+ image: (_o = (_m = buildConfig.test) === null || _m === void 0 ? void 0 : _m.jobImage) !== null && _o !== void 0 ? _o : (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
351296
351299
  cache: (0, cache_1.getNodeCache)(context),
351297
- script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_j = (0, utils_1.ensureArray)((_h = buildConfig.test) === null || _h === void 0 ? void 0 : _h.command)) !== null && _j !== void 0 ? _j : ["yarn test"]), false)
351300
+ script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_q = (0, utils_1.ensureArray)((_p = buildConfig.test) === null || _p === void 0 ? void 0 : _p.command)) !== null && _q !== void 0 ? _q : ["yarn test"]), false)
351298
351301
  }) : null;
351299
351302
  return [auditJob, lintJob, testJob].filter(utils_1.notNil);
351300
351303
  };
@@ -351790,7 +351793,7 @@ exports.readConfigSync = readConfigSync;
351790
351793
 
351791
351794
  exports.__esModule = true;
351792
351795
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
351793
- exports.PIPELINE_IMAGE_TAG = "main-e7ef37ac" || 0;
351796
+ exports.PIPELINE_IMAGE_TAG = "main-a008667a" || 0;
351794
351797
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
351795
351798
 
351796
351799
  /***/ }),
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-e7ef37ac",
27
+ "@catladder/pipeline": "0.0.0-main-a008667a",
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-e7ef37ac",
60
+ "version": "0.0.0-main-a008667a",
61
61
  "stableVersion": "0.0.0"
62
62
  }