@catladder/cli 0.0.0-main-79fbaf60 → 0.0.0-main-93b724a8

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.
@@ -40845,7 +40845,7 @@ exports.readConfigSync = readConfigSync;
40845
40845
 
40846
40846
  exports.__esModule = true;
40847
40847
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40848
- exports.PIPELINE_IMAGE_TAG = "main-79fbaf60" || 0;
40848
+ exports.PIPELINE_IMAGE_TAG = "main-93b724a8" || 0;
40849
40849
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40850
40850
 
40851
40851
  /***/ }),
@@ -45021,6 +45021,7 @@ exports.__esModule = true;
45021
45021
  exports.createGitlabJobs = exports.makeGitlabJob = void 0;
45022
45022
  var lodash_1 = __nccwpck_require__(3255);
45023
45023
  var defaults_1 = __nccwpck_require__(7383);
45024
+ var utils_1 = __nccwpck_require__(7461);
45024
45025
  var removeUndefined = function (obj) {
45025
45026
  return Object.fromEntries(Object.entries(obj).filter(function (_a) {
45026
45027
  var _b = __read(_a, 2),
@@ -45056,7 +45057,8 @@ var makeGitlabJob = function (componentName, env, _a, allJobs) {
45056
45057
  name = _a.name,
45057
45058
  needs = _a.needs,
45058
45059
  jobTags = _a.jobTags,
45059
- job = __rest(_a, ["envMode", "needsStages", "needsOtherComponent", "name", "needs", "jobTags"]);
45060
+ script = _a.script,
45061
+ job = __rest(_a, ["envMode", "needsStages", "needsOtherComponent", "name", "needs", "jobTags", "script"]);
45060
45062
  var stage = envMode === "stagePerEnv" ? "".concat(job.stage, " ").concat(env) : job.stage;
45061
45063
  var needsFromStages = needsStages === null || needsStages === void 0 ? void 0 : needsStages.flatMap(function (n) {
45062
45064
  var _a, _b, _c, _d;
@@ -45090,6 +45092,7 @@ var makeGitlabJob = function (componentName, env, _a, allJobs) {
45090
45092
  })).values()), false);
45091
45093
  var fullJobName = getFullJobName(name, componentName, envMode !== "none" ? env : undefined);
45092
45094
  var gitlabJob = removeUndefined(__assign(__assign({}, job), {
45095
+ script: script === null || script === void 0 ? void 0 : script.filter(utils_1.notNil),
45093
45096
  tags: jobTags,
45094
45097
  stage: stage,
45095
45098
  environment: ((_b = job.environment) === null || _b === void 0 ? void 0 : _b.on_stop) ? __assign(__assign({}, job.environment), {