@catladder/cli 0.0.0-further-refactor-deploy-77d59e43 → 0.0.0-further-refactor-deploy-79fbaf60

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.
@@ -39138,6 +39138,99 @@ exports.RUNNER_BUILD_RESOURCE_VARIABLES = {
39138
39138
 
39139
39139
  /***/ }),
39140
39140
 
39141
+ /***/ 7267:
39142
+ /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
39143
+
39144
+ "use strict";
39145
+
39146
+
39147
+ var __assign = this && this.__assign || function () {
39148
+ __assign = Object.assign || function (t) {
39149
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
39150
+ s = arguments[i];
39151
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
39152
+ }
39153
+ return t;
39154
+ };
39155
+ return __assign.apply(this, arguments);
39156
+ };
39157
+ var __rest = this && this.__rest || function (s, e) {
39158
+ var t = {};
39159
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
39160
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
39161
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
39162
+ }
39163
+ return t;
39164
+ };
39165
+ var __read = this && this.__read || function (o, n) {
39166
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
39167
+ if (!m) return o;
39168
+ var i = m.call(o),
39169
+ r,
39170
+ ar = [],
39171
+ e;
39172
+ try {
39173
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
39174
+ } catch (error) {
39175
+ e = {
39176
+ error: error
39177
+ };
39178
+ } finally {
39179
+ try {
39180
+ if (r && !r.done && (m = i["return"])) m.call(i);
39181
+ } finally {
39182
+ if (e) throw e.error;
39183
+ }
39184
+ }
39185
+ return ar;
39186
+ };
39187
+ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
39188
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
39189
+ if (ar || !(i in from)) {
39190
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
39191
+ ar[i] = from[i];
39192
+ }
39193
+ }
39194
+ return to.concat(ar || Array.prototype.slice.call(from));
39195
+ };
39196
+ exports.__esModule = true;
39197
+ exports.createAppBuildJob = void 0;
39198
+ var lodash_1 = __nccwpck_require__(3255);
39199
+ var path_1 = __nccwpck_require__(1017);
39200
+ var __1 = __nccwpck_require__(5355);
39201
+ var utils_1 = __nccwpck_require__(7461);
39202
+ var yarn_1 = __nccwpck_require__(464);
39203
+ var constants_1 = __nccwpck_require__(1542);
39204
+ var writeBuildInfo_1 = __nccwpck_require__(1754);
39205
+ var writeDotEnv_1 = __nccwpck_require__(1298);
39206
+ var createAppBuildJob = function (context, _a) {
39207
+ var _b, _c, _d, _e;
39208
+ var script = _a.script,
39209
+ variables = _a.variables,
39210
+ def = __rest(_a, ["script", "variables"]);
39211
+ return (0, lodash_1.merge)({
39212
+ name: constants_1.APP_BUILD_JOB_NAME,
39213
+ envMode: "jobPerEnv",
39214
+ stage: "build",
39215
+ image: (0, __1.getRunnerImage)("jobs-default"),
39216
+ needs: [],
39217
+ cache: [],
39218
+ variables: __assign(__assign(__assign(__assign(__assign({}, constants_1.RUNNER_BUILD_RESOURCE_VARIABLES), variables !== null && variables !== void 0 ? variables : {}), context.environment.envVars), context.environment.jobOnlyVars.build.envVars), (_b = context.componentConfig.build.extraVars) !== null && _b !== void 0 ? _b : {}),
39219
+ script: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(context.componentConfig.dotEnv ? (0, writeDotEnv_1.writeDotEnv)(context) : []), false), __read((0, writeBuildInfo_1.writeBuildInfo)(context)), false), __read((0, yarn_1.ensureNodeVersion)(context)), false), ["cd ".concat(context.componentConfig.dir)], false), __read((_c = (0, utils_1.ensureArray)(script)) !== null && _c !== void 0 ? _c : []), false),
39220
+ artifacts: {
39221
+ paths: [(0, path_1.join)(context.componentConfig.dir, "__build_info.json")],
39222
+ reports: {
39223
+ junit: (_e = (_d = context.componentConfig.build.artifactsReports) === null || _d === void 0 ? void 0 : _d.junit) === null || _e === void 0 ? void 0 : _e.map(function (p) {
39224
+ return (0, path_1.join)(context.componentConfig.dir, p);
39225
+ })
39226
+ }
39227
+ }
39228
+ }, def);
39229
+ };
39230
+ exports.createAppBuildJob = createAppBuildJob;
39231
+
39232
+ /***/ }),
39233
+
39141
39234
  /***/ 5669:
39142
39235
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
39143
39236
 
@@ -39208,7 +39301,7 @@ exports.createArtifactsConfig = createArtifactsConfig;
39208
39301
 
39209
39302
  /***/ }),
39210
39303
 
39211
- /***/ 8063:
39304
+ /***/ 8035:
39212
39305
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
39213
39306
 
39214
39307
  "use strict";
@@ -39224,14 +39317,6 @@ var __assign = this && this.__assign || function () {
39224
39317
  };
39225
39318
  return __assign.apply(this, arguments);
39226
39319
  };
39227
- var __rest = this && this.__rest || function (s, e) {
39228
- var t = {};
39229
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
39230
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
39231
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
39232
- }
39233
- return t;
39234
- };
39235
39320
  var __read = this && this.__read || function (o, n) {
39236
39321
  var m = typeof Symbol === "function" && o[Symbol.iterator];
39237
39322
  if (!m) return o;
@@ -39264,40 +39349,19 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
39264
39349
  return to.concat(ar || Array.prototype.slice.call(from));
39265
39350
  };
39266
39351
  exports.__esModule = true;
39267
- exports.createBuildJob = void 0;
39268
- var lodash_1 = __nccwpck_require__(3255);
39269
- var path_1 = __nccwpck_require__(1017);
39270
- var __1 = __nccwpck_require__(5355);
39271
- var utils_1 = __nccwpck_require__(7461);
39272
- var yarn_1 = __nccwpck_require__(464);
39352
+ exports.createBuildJobs = void 0;
39353
+ var sbom_1 = __nccwpck_require__(5928);
39354
+ var docker_1 = __nccwpck_require__(3219);
39355
+ var sbom_2 = __nccwpck_require__(9927);
39273
39356
  var constants_1 = __nccwpck_require__(1542);
39274
- var writeBuildInfo_1 = __nccwpck_require__(1754);
39275
- var writeDotEnv_1 = __nccwpck_require__(1298);
39276
- var createBuildJob = function (context, _a) {
39277
- var _b, _c, _d, _e;
39278
- var script = _a.script,
39279
- variables = _a.variables,
39280
- def = __rest(_a, ["script", "variables"]);
39281
- return (0, lodash_1.merge)({
39282
- name: constants_1.APP_BUILD_JOB_NAME,
39283
- envMode: "jobPerEnv",
39284
- stage: "build",
39285
- image: (0, __1.getRunnerImage)("jobs-default"),
39286
- needs: [],
39287
- cache: [],
39288
- variables: __assign(__assign(__assign(__assign(__assign({}, constants_1.RUNNER_BUILD_RESOURCE_VARIABLES), variables !== null && variables !== void 0 ? variables : {}), context.environment.envVars), context.environment.jobOnlyVars.build.envVars), (_b = context.componentConfig.build.extraVars) !== null && _b !== void 0 ? _b : {}),
39289
- script: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(context.componentConfig.dotEnv ? (0, writeDotEnv_1.writeDotEnv)(context) : []), false), __read((0, writeBuildInfo_1.writeBuildInfo)(context)), false), __read((0, yarn_1.ensureNodeVersion)(context)), false), ["cd ".concat(context.componentConfig.dir)], false), __read((_c = (0, utils_1.ensureArray)(script)) !== null && _c !== void 0 ? _c : []), false),
39290
- artifacts: {
39291
- paths: [(0, path_1.join)(context.componentConfig.dir, "__build_info.json")],
39292
- reports: {
39293
- junit: (_e = (_d = context.componentConfig.build.artifactsReports) === null || _d === void 0 ? void 0 : _d.junit) === null || _e === void 0 ? void 0 : _e.map(function (p) {
39294
- return (0, path_1.join)(context.componentConfig.dir, p);
39295
- })
39296
- }
39297
- }
39298
- }, def);
39357
+ var createAppBuildJob_1 = __nccwpck_require__(7267);
39358
+ var createBuildJobs = function (context, definitions) {
39359
+ var _a;
39360
+ return __spreadArray(__spreadArray(__spreadArray([], __read(definitions.appBuild ? [(0, createAppBuildJob_1.createAppBuildJob)(context, definitions.appBuild)] : []), false), __read((0, docker_1.requiresDockerBuild)(context) ? [(0, docker_1.createDockerBuildJobBase)(context, __assign(__assign({}, definitions.dockerBuild), {
39361
+ needs: __spreadArray(__spreadArray([], __read((_a = definitions.dockerBuild.needs) !== null && _a !== void 0 ? _a : []), false), __read(definitions.appBuild ? [constants_1.APP_BUILD_JOB_NAME] : []), false)
39362
+ }))] : []), false), __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
39299
39363
  };
39300
- exports.createBuildJob = createBuildJob;
39364
+ exports.createBuildJobs = createBuildJobs;
39301
39365
 
39302
39366
  /***/ }),
39303
39367
 
@@ -39418,12 +39482,9 @@ exports.__esModule = true;
39418
39482
  exports.createCustomBuildJobs = void 0;
39419
39483
  var path_1 = __nccwpck_require__(1017);
39420
39484
  var utils_1 = __nccwpck_require__(7461);
39421
- var constants_1 = __nccwpck_require__(1542);
39422
- var createBuildJob_1 = __nccwpck_require__(8063);
39423
39485
  var docker_1 = __nccwpck_require__(3219);
39424
39486
  var types_1 = __nccwpck_require__(1197);
39425
- var sbom_1 = __nccwpck_require__(9927);
39426
- var sbom_2 = __nccwpck_require__(5928);
39487
+ var base_1 = __nccwpck_require__(8035);
39427
39488
  var RUNNER_BUILD_VARIABLES = {
39428
39489
  KUBERNETES_CPU_REQUEST: "0.5",
39429
39490
  KUBERNETES_CPU_LIMIT: "2",
@@ -39436,25 +39497,25 @@ var createCustomBuildJobs = function (context) {
39436
39497
  if (!(0, types_1.isOfBuildType)(buildConfig, "custom")) {
39437
39498
  throw new Error("deploy config is not custom");
39438
39499
  }
39439
- var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
39440
- image: buildConfig.jobImage,
39441
- variables: __assign({}, RUNNER_BUILD_VARIABLES),
39442
- cache: buildConfig.jobCache,
39443
- services: buildConfig.jobServices,
39444
- script: __spreadArray([], __read((_a = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _a !== void 0 ? _a : []), false),
39445
- artifacts: {
39446
- paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist")], __read((_c = (_b = buildConfig.artifactsPaths) === null || _b === void 0 ? void 0 : _b.map(function (path) {
39447
- return (0, path_1.join)(context.componentConfig.dir, path);
39448
- })) !== null && _c !== void 0 ? _c : []), false),
39449
- expire_in: "1 day"
39500
+ return (0, base_1.createBuildJobs)(context, {
39501
+ appBuild: buildConfig.buildCommand !== null ? {
39502
+ image: buildConfig.jobImage,
39503
+ variables: __assign({}, RUNNER_BUILD_VARIABLES),
39504
+ cache: buildConfig.jobCache,
39505
+ services: buildConfig.jobServices,
39506
+ script: __spreadArray([], __read((_a = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _a !== void 0 ? _a : []), false),
39507
+ artifacts: {
39508
+ paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist")], __read((_c = (_b = buildConfig.artifactsPaths) === null || _b === void 0 ? void 0 : _b.map(function (path) {
39509
+ return (0, path_1.join)(context.componentConfig.dir, path);
39510
+ })) !== null && _c !== void 0 ? _c : []), false),
39511
+ expire_in: "1 day"
39512
+ }
39513
+ } : undefined,
39514
+ dockerBuild: {
39515
+ script: (0, docker_1.getDockerBuildDefaultScript)(((_d = buildConfig.docker) === null || _d === void 0 ? void 0 : _d.type) === "nginx" ? "ensureNginxDockerfile" : ""),
39516
+ variables: {}
39450
39517
  }
39451
- }) : null;
39452
- return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), __read((0, docker_1.requiresDockerBuild)(context) ? [(0, docker_1.createDockerBuildJobDefault)(context, {
39453
- script: [((_d = buildConfig.docker) === null || _d === void 0 ? void 0 : _d.type) === "nginx" ? "ensureNginxDockerfile" : "" // e.g. custom,
39454
- ].filter(Boolean),
39455
- variables: {},
39456
- needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
39457
- })] : []), false), __read((0, sbom_2.sbomDeactivated)(context) ? [] : [(0, sbom_1.createSbomBuildJob)(context)]), false);
39518
+ });
39458
39519
  };
39459
39520
  exports.createCustomBuildJobs = createCustomBuildJobs;
39460
39521
 
@@ -39636,39 +39697,8 @@ var __rest = this && this.__rest || function (s, e) {
39636
39697
  }
39637
39698
  return t;
39638
39699
  };
39639
- var __read = this && this.__read || function (o, n) {
39640
- var m = typeof Symbol === "function" && o[Symbol.iterator];
39641
- if (!m) return o;
39642
- var i = m.call(o),
39643
- r,
39644
- ar = [],
39645
- e;
39646
- try {
39647
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
39648
- } catch (error) {
39649
- e = {
39650
- error: error
39651
- };
39652
- } finally {
39653
- try {
39654
- if (r && !r.done && (m = i["return"])) m.call(i);
39655
- } finally {
39656
- if (e) throw e.error;
39657
- }
39658
- }
39659
- return ar;
39660
- };
39661
- var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
39662
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
39663
- if (ar || !(i in from)) {
39664
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
39665
- ar[i] = from[i];
39666
- }
39667
- }
39668
- return to.concat(ar || Array.prototype.slice.call(from));
39669
- };
39670
39700
  exports.__esModule = true;
39671
- exports.createDockerBuildJobDefault = exports.gitlabDockerLogin = exports.createDockerBuildJobBase = exports.getDockerJobBaseProps = exports.DOCKER_BUILD_JOB_NAME = exports.getDockerBuildVariables = exports.requiresDockerBuild = exports.getDockerImageVariables = void 0;
39701
+ exports.getDockerBuildDefaultScript = exports.gitlabDockerLogin = exports.createDockerBuildJobBase = exports.getDockerJobBaseProps = exports.DOCKER_BUILD_JOB_NAME = exports.getDockerBuildVariables = exports.requiresDockerBuild = exports.getDockerImageVariables = void 0;
39672
39702
  var lodash_1 = __nccwpck_require__(3255);
39673
39703
  var deploy_1 = __nccwpck_require__(223);
39674
39704
  var runner_1 = __nccwpck_require__(5071);
@@ -39742,14 +39772,10 @@ var createDockerBuildJobBase = function (context, _a) {
39742
39772
  };
39743
39773
  exports.createDockerBuildJobBase = createDockerBuildJobBase;
39744
39774
  exports.gitlabDockerLogin = "docker login --username gitlab-ci-token --password $CI_JOB_TOKEN $CI_REGISTRY";
39745
- var createDockerBuildJobDefault = function (context, _a) {
39746
- var script = _a.script,
39747
- def = __rest(_a, ["script"]);
39748
- return (0, exports.createDockerBuildJobBase)(context, __assign({
39749
- script: __spreadArray(__spreadArray([], __read(script || []), false), [exports.gitlabDockerLogin, "docker version", "docker build --network host --cache-from $DOCKER_CACHE_IMAGE --tag $DOCKER_IMAGE:$DOCKER_IMAGE_TAG -f $APP_DIR/Dockerfile . --build-arg BUILDKIT_INLINE_CACHE=1", "docker push $DOCKER_IMAGE:$DOCKER_IMAGE_TAG", "docker tag $DOCKER_IMAGE:$DOCKER_IMAGE_TAG $DOCKER_CACHE_IMAGE", "docker push $DOCKER_CACHE_IMAGE"], false)
39750
- }, def));
39775
+ var getDockerBuildDefaultScript = function (ensureDockerFileScript) {
39776
+ return [ensureDockerFileScript, exports.gitlabDockerLogin, "docker version", "docker build --network host --cache-from $DOCKER_CACHE_IMAGE --tag $DOCKER_IMAGE:$DOCKER_IMAGE_TAG -f $APP_DIR/Dockerfile . --build-arg BUILDKIT_INLINE_CACHE=1", "docker push $DOCKER_IMAGE:$DOCKER_IMAGE_TAG", "docker tag $DOCKER_IMAGE:$DOCKER_IMAGE_TAG $DOCKER_CACHE_IMAGE", "docker push $DOCKER_CACHE_IMAGE"].filter(Boolean);
39751
39777
  };
39752
- exports.createDockerBuildJobDefault = createDockerBuildJobDefault;
39778
+ exports.getDockerBuildDefaultScript = getDockerBuildDefaultScript;
39753
39779
 
39754
39780
  /***/ }),
39755
39781
 
@@ -39886,18 +39912,15 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
39886
39912
  };
39887
39913
  exports.__esModule = true;
39888
39914
  exports.createNodeBuildJobs = void 0;
39915
+ var path_1 = __nccwpck_require__(1017);
39916
+ var runner_1 = __nccwpck_require__(5071);
39889
39917
  var utils_1 = __nccwpck_require__(7461);
39890
- var constants_1 = __nccwpck_require__(1542);
39891
- var createBuildJob_1 = __nccwpck_require__(8063);
39918
+ var base_1 = __nccwpck_require__(8035);
39892
39919
  var docker_1 = __nccwpck_require__(3219);
39893
- var path_1 = __nccwpck_require__(1017);
39894
39920
  var types_1 = __nccwpck_require__(1197);
39895
39921
  var cache_1 = __nccwpck_require__(4303);
39896
- var constants_2 = __nccwpck_require__(9284);
39922
+ var constants_1 = __nccwpck_require__(9284);
39897
39923
  var yarn_1 = __nccwpck_require__(464);
39898
- var runner_1 = __nccwpck_require__(5071);
39899
- var sbom_1 = __nccwpck_require__(9927);
39900
- var sbom_2 = __nccwpck_require__(5928);
39901
39924
  var createNodeBuildJobs = function (context) {
39902
39925
  var _a, _b, _c, _d, _e, _f, _g;
39903
39926
  var buildConfig = context.componentConfig.build;
@@ -39906,31 +39929,32 @@ var createNodeBuildJobs = function (context) {
39906
39929
  }
39907
39930
  var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
39908
39931
  var yarnInstall = (0, yarn_1.getYarnInstall)(context);
39909
- var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
39910
- image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
39911
- variables: __assign({}, constants_2.NODE_RUNNER_BUILD_VARIABLES),
39912
- cache: __spreadArray(__spreadArray(__spreadArray([], __read((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : []), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
39913
- script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
39914
- artifacts: {
39915
- paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((_e = (_d = buildConfig.artifactsPaths) === null || _d === void 0 ? void 0 : _d.map(function (path) {
39916
- return (0, path_1.join)(context.componentConfig.dir, path);
39917
- })) !== null && _e !== void 0 ? _e : []), false),
39918
- expire_in: "1 day"
39919
- },
39920
- jobTags: buildConfig.jobTags
39921
- }) : null;
39922
- return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), __read((0, docker_1.requiresDockerBuild)(context) ? [(0, docker_1.createDockerBuildJobDefault)(context, {
39923
- script: [buildConfig.type === "node-static" || buildConfig.type === "storybook" ? "ensureNginxDockerfile" : "ensureNodeDockerfile"],
39924
- cache: __spreadArray([], __read((0, cache_1.getYarnCache)(context, "pull")), false),
39925
- variables: {
39926
- // only required for non static
39927
- DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context),
39928
- DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) {
39929
- return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir);
39930
- })) === null || _g === void 0 ? void 0 : _g.join("\n")
39931
- },
39932
- needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
39933
- })] : []), false), __read((0, sbom_2.sbomDeactivated)(context) ? [] : [(0, sbom_1.createSbomBuildJob)(context)]), false);
39932
+ return (0, base_1.createBuildJobs)(context, {
39933
+ appBuild: buildConfig.buildCommand !== null ? {
39934
+ image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
39935
+ variables: __assign({}, constants_1.NODE_RUNNER_BUILD_VARIABLES),
39936
+ cache: __spreadArray(__spreadArray(__spreadArray([], __read((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : []), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
39937
+ script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
39938
+ artifacts: {
39939
+ paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((_e = (_d = buildConfig.artifactsPaths) === null || _d === void 0 ? void 0 : _d.map(function (path) {
39940
+ return (0, path_1.join)(context.componentConfig.dir, path);
39941
+ })) !== null && _e !== void 0 ? _e : []), false),
39942
+ expire_in: "1 day"
39943
+ },
39944
+ jobTags: buildConfig.jobTags
39945
+ } : undefined,
39946
+ dockerBuild: {
39947
+ script: (0, docker_1.getDockerBuildDefaultScript)(buildConfig.type === "node-static" || buildConfig.type === "storybook" ? "ensureNginxDockerfile" : "ensureNodeDockerfile"),
39948
+ cache: __spreadArray([], __read((0, cache_1.getYarnCache)(context, "pull")), false),
39949
+ variables: {
39950
+ // only required for non static
39951
+ DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context),
39952
+ DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) {
39953
+ return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir);
39954
+ })) === null || _g === void 0 ? void 0 : _g.join("\n")
39955
+ }
39956
+ }
39957
+ });
39934
39958
  };
39935
39959
  exports.createNodeBuildJobs = createNodeBuildJobs;
39936
39960
 
@@ -40150,14 +40174,11 @@ exports.__esModule = true;
40150
40174
  exports.createMeteorBuildJobs = void 0;
40151
40175
  var path_1 = __nccwpck_require__(1017);
40152
40176
  var runner_1 = __nccwpck_require__(5071);
40153
- var constants_1 = __nccwpck_require__(1542);
40154
- var createBuildJob_1 = __nccwpck_require__(8063);
40177
+ var base_1 = __nccwpck_require__(8035);
40155
40178
  var docker_1 = __nccwpck_require__(3219);
40156
40179
  var types_1 = __nccwpck_require__(1197);
40157
40180
  var cache_1 = __nccwpck_require__(4303);
40158
40181
  var yarn_1 = __nccwpck_require__(464);
40159
- var sbom_1 = __nccwpck_require__(5928);
40160
- var sbom_2 = __nccwpck_require__(9927);
40161
40182
  var getMeteorCache = function (context) {
40162
40183
  return [{
40163
40184
  key: context.componentName + "meteor-build-cache",
@@ -40171,24 +40192,25 @@ var createMeteorBuildJobs = function (context) {
40171
40192
  throw new Error("deploy config is not meteor");
40172
40193
  }
40173
40194
  var yarnInstall = (0, yarn_1.getYarnInstall)(context);
40174
- var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
40175
- cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context)), false), __read(getMeteorCache(context)), false),
40176
- image: (0, runner_1.getRunnerImage)("jobs-meteor"),
40177
- variables: {
40178
- METEOR_DISABLE_OPTIMISTIC_CACHING: "1"
40179
- },
40180
- script: __spreadArray(__spreadArray([], __read(yarnInstall), false), ['echo "add healthcheck package"', "meteor add panter:healthroute --allow-superuser", "meteor add qualia:prod-shell --allow-superuser", 'TOOL_NODE_FLAGS="--max_old_space_size=3584 --min_semi_space_size=8 --max_semi_space_size=256 --optimize_for_size" meteor build ./dist --architecture os.linux.x86_64 --allow-superuser --server-only --directory', "cp ./__build_info.json ./dist/bundle/programs/server"], false),
40181
- artifacts: {
40182
- paths: [context.componentConfig.dir + "/__build_info.json", context.componentConfig.dir + "/dist"]
40195
+ return (0, base_1.createBuildJobs)(context, {
40196
+ appBuild: buildConfig.buildCommand !== null ? {
40197
+ cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context)), false), __read(getMeteorCache(context)), false),
40198
+ image: (0, runner_1.getRunnerImage)("jobs-meteor"),
40199
+ variables: {
40200
+ METEOR_DISABLE_OPTIMISTIC_CACHING: "1"
40201
+ },
40202
+ script: __spreadArray(__spreadArray([], __read(yarnInstall), false), ['echo "add healthcheck package"', "meteor add panter:healthroute --allow-superuser", "meteor add qualia:prod-shell --allow-superuser", 'TOOL_NODE_FLAGS="--max_old_space_size=3584 --min_semi_space_size=8 --max_semi_space_size=256 --optimize_for_size" meteor build ./dist --architecture os.linux.x86_64 --allow-superuser --server-only --directory', "cp ./__build_info.json ./dist/bundle/programs/server"], false),
40203
+ artifacts: {
40204
+ paths: [context.componentConfig.dir + "/__build_info.json", context.componentConfig.dir + "/dist"]
40205
+ }
40206
+ } : undefined,
40207
+ dockerBuild: {
40208
+ script: (0, docker_1.getDockerBuildDefaultScript)("ensureMeteorDockerfile"),
40209
+ variables: {
40210
+ METEOR_INSTALL_SCRIPTS: buildConfig.installScripts ? "true" : ""
40211
+ }
40183
40212
  }
40184
- }) : null;
40185
- return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
40186
- script: ["ensureMeteorDockerfile"],
40187
- variables: {
40188
- METEOR_INSTALL_SCRIPTS: buildConfig.installScripts ? "true" : ""
40189
- },
40190
- needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
40191
- })], false), __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
40213
+ });
40192
40214
  };
40193
40215
  exports.createMeteorBuildJobs = createMeteorBuildJobs;
40194
40216
 
@@ -40414,21 +40436,11 @@ var __read = this && this.__read || function (o, n) {
40414
40436
  }
40415
40437
  return ar;
40416
40438
  };
40417
- var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
40418
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
40419
- if (ar || !(i in from)) {
40420
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
40421
- ar[i] = from[i];
40422
- }
40423
- }
40424
- return to.concat(ar || Array.prototype.slice.call(from));
40425
- };
40426
40439
  exports.__esModule = true;
40427
40440
  exports.createRailsBuildJobs = void 0;
40428
- var types_1 = __nccwpck_require__(1197);
40441
+ var base_1 = __nccwpck_require__(8035);
40429
40442
  var docker_1 = __nccwpck_require__(3219);
40430
- var sbom_1 = __nccwpck_require__(5928);
40431
- var sbom_2 = __nccwpck_require__(9927);
40443
+ var types_1 = __nccwpck_require__(1197);
40432
40444
  var createRailsBuildJobs = function (context) {
40433
40445
  var _a, _b, _c;
40434
40446
  var buildConfig = context.componentConfig.build;
@@ -40443,13 +40455,16 @@ var createRailsBuildJobs = function (context) {
40443
40455
  v = _b[1];
40444
40456
  return "--env '".concat(k).concat(v ? "=".concat(v) : "", "'");
40445
40457
  }).join(" ");
40446
- return __spreadArray([(0, docker_1.createDockerBuildJobBase)(context, {
40447
- variables: __assign(__assign({}, context.environment.jobOnlyVars.build.envVars), context.componentConfig.build.extraVars),
40448
- // custom script
40449
- script: [docker_1.gitlabDockerLogin, "docker pull $DOCKER_CACHE_IMAGE || true", "wget --output-document=- https://github.com/buildpacks/pack/releases/download/v".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "/pack-v").concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "-linux.tgz | tar -zx --directory /usr/local/bin pack"), "chmod +x /usr/local/bin/pack",
40450
- // replace private git ssh gem sources with https to make bundler with credentials via env var work
40451
- "sed --in-place 's|git@\\([^:]*\\):|https://\\1/|g' Gemfile Gemfile.lock", "pack build \"$DOCKER_IMAGE:$DOCKER_IMAGE_TAG\" --builder '".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.image, "' --publish --cache-image \"$DOCKER_CACHE_IMAGE\" ").concat(packEnvArgs, " ").concat((_c = (_b = cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packExtraArgs) === null || _b === void 0 ? void 0 : _b.join(" ")) !== null && _c !== void 0 ? _c : "")]
40452
- })], __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
40458
+ return (0, base_1.createBuildJobs)(context, {
40459
+ appBuild: undefined,
40460
+ dockerBuild: {
40461
+ variables: __assign(__assign({}, context.environment.jobOnlyVars.build.envVars), context.componentConfig.build.extraVars),
40462
+ // custom script
40463
+ script: [docker_1.gitlabDockerLogin, "docker pull $DOCKER_CACHE_IMAGE || true", "wget --output-document=- https://github.com/buildpacks/pack/releases/download/v".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "/pack-v").concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "-linux.tgz | tar -zx --directory /usr/local/bin pack"), "chmod +x /usr/local/bin/pack",
40464
+ // replace private git ssh gem sources with https to make bundler with credentials via env var work
40465
+ "sed --in-place 's|git@\\([^:]*\\):|https://\\1/|g' Gemfile Gemfile.lock", "pack build \"$DOCKER_IMAGE:$DOCKER_IMAGE_TAG\" --builder '".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.image, "' --publish --cache-image \"$DOCKER_CACHE_IMAGE\" ").concat(packEnvArgs, " ").concat((_c = (_b = cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packExtraArgs) === null || _b === void 0 ? void 0 : _b.join(" ")) !== null && _c !== void 0 ? _c : "")]
40466
+ }
40467
+ });
40453
40468
  };
40454
40469
  exports.createRailsBuildJobs = createRailsBuildJobs;
40455
40470
 
@@ -40830,7 +40845,7 @@ exports.readConfigSync = readConfigSync;
40830
40845
 
40831
40846
  exports.__esModule = true;
40832
40847
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40833
- exports.PIPELINE_IMAGE_TAG = "further-refactor-deploy-77d59e43" || 0;
40848
+ exports.PIPELINE_IMAGE_TAG = "further-refactor-deploy-79fbaf60" || 0;
40834
40849
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40835
40850
 
40836
40851
  /***/ }),
@@ -350203,6 +350203,99 @@ exports.RUNNER_BUILD_RESOURCE_VARIABLES = {
350203
350203
 
350204
350204
  /***/ }),
350205
350205
 
350206
+ /***/ 57267:
350207
+ /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
350208
+
350209
+ "use strict";
350210
+
350211
+
350212
+ var __assign = this && this.__assign || function () {
350213
+ __assign = Object.assign || function (t) {
350214
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
350215
+ s = arguments[i];
350216
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
350217
+ }
350218
+ return t;
350219
+ };
350220
+ return __assign.apply(this, arguments);
350221
+ };
350222
+ var __rest = this && this.__rest || function (s, e) {
350223
+ var t = {};
350224
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
350225
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
350226
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
350227
+ }
350228
+ return t;
350229
+ };
350230
+ var __read = this && this.__read || function (o, n) {
350231
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
350232
+ if (!m) return o;
350233
+ var i = m.call(o),
350234
+ r,
350235
+ ar = [],
350236
+ e;
350237
+ try {
350238
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
350239
+ } catch (error) {
350240
+ e = {
350241
+ error: error
350242
+ };
350243
+ } finally {
350244
+ try {
350245
+ if (r && !r.done && (m = i["return"])) m.call(i);
350246
+ } finally {
350247
+ if (e) throw e.error;
350248
+ }
350249
+ }
350250
+ return ar;
350251
+ };
350252
+ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
350253
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
350254
+ if (ar || !(i in from)) {
350255
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
350256
+ ar[i] = from[i];
350257
+ }
350258
+ }
350259
+ return to.concat(ar || Array.prototype.slice.call(from));
350260
+ };
350261
+ exports.__esModule = true;
350262
+ exports.createAppBuildJob = void 0;
350263
+ var lodash_1 = __nccwpck_require__(23255);
350264
+ var path_1 = __nccwpck_require__(71017);
350265
+ var __1 = __nccwpck_require__(25355);
350266
+ var utils_1 = __nccwpck_require__(37461);
350267
+ var yarn_1 = __nccwpck_require__(10464);
350268
+ var constants_1 = __nccwpck_require__(11542);
350269
+ var writeBuildInfo_1 = __nccwpck_require__(51754);
350270
+ var writeDotEnv_1 = __nccwpck_require__(71298);
350271
+ var createAppBuildJob = function (context, _a) {
350272
+ var _b, _c, _d, _e;
350273
+ var script = _a.script,
350274
+ variables = _a.variables,
350275
+ def = __rest(_a, ["script", "variables"]);
350276
+ return (0, lodash_1.merge)({
350277
+ name: constants_1.APP_BUILD_JOB_NAME,
350278
+ envMode: "jobPerEnv",
350279
+ stage: "build",
350280
+ image: (0, __1.getRunnerImage)("jobs-default"),
350281
+ needs: [],
350282
+ cache: [],
350283
+ variables: __assign(__assign(__assign(__assign(__assign({}, constants_1.RUNNER_BUILD_RESOURCE_VARIABLES), variables !== null && variables !== void 0 ? variables : {}), context.environment.envVars), context.environment.jobOnlyVars.build.envVars), (_b = context.componentConfig.build.extraVars) !== null && _b !== void 0 ? _b : {}),
350284
+ script: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(context.componentConfig.dotEnv ? (0, writeDotEnv_1.writeDotEnv)(context) : []), false), __read((0, writeBuildInfo_1.writeBuildInfo)(context)), false), __read((0, yarn_1.ensureNodeVersion)(context)), false), ["cd ".concat(context.componentConfig.dir)], false), __read((_c = (0, utils_1.ensureArray)(script)) !== null && _c !== void 0 ? _c : []), false),
350285
+ artifacts: {
350286
+ paths: [(0, path_1.join)(context.componentConfig.dir, "__build_info.json")],
350287
+ reports: {
350288
+ junit: (_e = (_d = context.componentConfig.build.artifactsReports) === null || _d === void 0 ? void 0 : _d.junit) === null || _e === void 0 ? void 0 : _e.map(function (p) {
350289
+ return (0, path_1.join)(context.componentConfig.dir, p);
350290
+ })
350291
+ }
350292
+ }
350293
+ }, def);
350294
+ };
350295
+ exports.createAppBuildJob = createAppBuildJob;
350296
+
350297
+ /***/ }),
350298
+
350206
350299
  /***/ 5669:
350207
350300
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
350208
350301
 
@@ -350273,7 +350366,7 @@ exports.createArtifactsConfig = createArtifactsConfig;
350273
350366
 
350274
350367
  /***/ }),
350275
350368
 
350276
- /***/ 58063:
350369
+ /***/ 18035:
350277
350370
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
350278
350371
 
350279
350372
  "use strict";
@@ -350289,14 +350382,6 @@ var __assign = this && this.__assign || function () {
350289
350382
  };
350290
350383
  return __assign.apply(this, arguments);
350291
350384
  };
350292
- var __rest = this && this.__rest || function (s, e) {
350293
- var t = {};
350294
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
350295
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
350296
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
350297
- }
350298
- return t;
350299
- };
350300
350385
  var __read = this && this.__read || function (o, n) {
350301
350386
  var m = typeof Symbol === "function" && o[Symbol.iterator];
350302
350387
  if (!m) return o;
@@ -350329,40 +350414,19 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
350329
350414
  return to.concat(ar || Array.prototype.slice.call(from));
350330
350415
  };
350331
350416
  exports.__esModule = true;
350332
- exports.createBuildJob = void 0;
350333
- var lodash_1 = __nccwpck_require__(23255);
350334
- var path_1 = __nccwpck_require__(71017);
350335
- var __1 = __nccwpck_require__(25355);
350336
- var utils_1 = __nccwpck_require__(37461);
350337
- var yarn_1 = __nccwpck_require__(10464);
350417
+ exports.createBuildJobs = void 0;
350418
+ var sbom_1 = __nccwpck_require__(65928);
350419
+ var docker_1 = __nccwpck_require__(33219);
350420
+ var sbom_2 = __nccwpck_require__(9927);
350338
350421
  var constants_1 = __nccwpck_require__(11542);
350339
- var writeBuildInfo_1 = __nccwpck_require__(51754);
350340
- var writeDotEnv_1 = __nccwpck_require__(71298);
350341
- var createBuildJob = function (context, _a) {
350342
- var _b, _c, _d, _e;
350343
- var script = _a.script,
350344
- variables = _a.variables,
350345
- def = __rest(_a, ["script", "variables"]);
350346
- return (0, lodash_1.merge)({
350347
- name: constants_1.APP_BUILD_JOB_NAME,
350348
- envMode: "jobPerEnv",
350349
- stage: "build",
350350
- image: (0, __1.getRunnerImage)("jobs-default"),
350351
- needs: [],
350352
- cache: [],
350353
- variables: __assign(__assign(__assign(__assign(__assign({}, constants_1.RUNNER_BUILD_RESOURCE_VARIABLES), variables !== null && variables !== void 0 ? variables : {}), context.environment.envVars), context.environment.jobOnlyVars.build.envVars), (_b = context.componentConfig.build.extraVars) !== null && _b !== void 0 ? _b : {}),
350354
- script: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(context.componentConfig.dotEnv ? (0, writeDotEnv_1.writeDotEnv)(context) : []), false), __read((0, writeBuildInfo_1.writeBuildInfo)(context)), false), __read((0, yarn_1.ensureNodeVersion)(context)), false), ["cd ".concat(context.componentConfig.dir)], false), __read((_c = (0, utils_1.ensureArray)(script)) !== null && _c !== void 0 ? _c : []), false),
350355
- artifacts: {
350356
- paths: [(0, path_1.join)(context.componentConfig.dir, "__build_info.json")],
350357
- reports: {
350358
- junit: (_e = (_d = context.componentConfig.build.artifactsReports) === null || _d === void 0 ? void 0 : _d.junit) === null || _e === void 0 ? void 0 : _e.map(function (p) {
350359
- return (0, path_1.join)(context.componentConfig.dir, p);
350360
- })
350361
- }
350362
- }
350363
- }, def);
350422
+ var createAppBuildJob_1 = __nccwpck_require__(57267);
350423
+ var createBuildJobs = function (context, definitions) {
350424
+ var _a;
350425
+ return __spreadArray(__spreadArray(__spreadArray([], __read(definitions.appBuild ? [(0, createAppBuildJob_1.createAppBuildJob)(context, definitions.appBuild)] : []), false), __read((0, docker_1.requiresDockerBuild)(context) ? [(0, docker_1.createDockerBuildJobBase)(context, __assign(__assign({}, definitions.dockerBuild), {
350426
+ needs: __spreadArray(__spreadArray([], __read((_a = definitions.dockerBuild.needs) !== null && _a !== void 0 ? _a : []), false), __read(definitions.appBuild ? [constants_1.APP_BUILD_JOB_NAME] : []), false)
350427
+ }))] : []), false), __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
350364
350428
  };
350365
- exports.createBuildJob = createBuildJob;
350429
+ exports.createBuildJobs = createBuildJobs;
350366
350430
 
350367
350431
  /***/ }),
350368
350432
 
@@ -350483,12 +350547,9 @@ exports.__esModule = true;
350483
350547
  exports.createCustomBuildJobs = void 0;
350484
350548
  var path_1 = __nccwpck_require__(71017);
350485
350549
  var utils_1 = __nccwpck_require__(37461);
350486
- var constants_1 = __nccwpck_require__(11542);
350487
- var createBuildJob_1 = __nccwpck_require__(58063);
350488
350550
  var docker_1 = __nccwpck_require__(33219);
350489
350551
  var types_1 = __nccwpck_require__(71197);
350490
- var sbom_1 = __nccwpck_require__(9927);
350491
- var sbom_2 = __nccwpck_require__(65928);
350552
+ var base_1 = __nccwpck_require__(18035);
350492
350553
  var RUNNER_BUILD_VARIABLES = {
350493
350554
  KUBERNETES_CPU_REQUEST: "0.5",
350494
350555
  KUBERNETES_CPU_LIMIT: "2",
@@ -350501,25 +350562,25 @@ var createCustomBuildJobs = function (context) {
350501
350562
  if (!(0, types_1.isOfBuildType)(buildConfig, "custom")) {
350502
350563
  throw new Error("deploy config is not custom");
350503
350564
  }
350504
- var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
350505
- image: buildConfig.jobImage,
350506
- variables: __assign({}, RUNNER_BUILD_VARIABLES),
350507
- cache: buildConfig.jobCache,
350508
- services: buildConfig.jobServices,
350509
- script: __spreadArray([], __read((_a = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _a !== void 0 ? _a : []), false),
350510
- artifacts: {
350511
- paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist")], __read((_c = (_b = buildConfig.artifactsPaths) === null || _b === void 0 ? void 0 : _b.map(function (path) {
350512
- return (0, path_1.join)(context.componentConfig.dir, path);
350513
- })) !== null && _c !== void 0 ? _c : []), false),
350514
- expire_in: "1 day"
350565
+ return (0, base_1.createBuildJobs)(context, {
350566
+ appBuild: buildConfig.buildCommand !== null ? {
350567
+ image: buildConfig.jobImage,
350568
+ variables: __assign({}, RUNNER_BUILD_VARIABLES),
350569
+ cache: buildConfig.jobCache,
350570
+ services: buildConfig.jobServices,
350571
+ script: __spreadArray([], __read((_a = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _a !== void 0 ? _a : []), false),
350572
+ artifacts: {
350573
+ paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist")], __read((_c = (_b = buildConfig.artifactsPaths) === null || _b === void 0 ? void 0 : _b.map(function (path) {
350574
+ return (0, path_1.join)(context.componentConfig.dir, path);
350575
+ })) !== null && _c !== void 0 ? _c : []), false),
350576
+ expire_in: "1 day"
350577
+ }
350578
+ } : undefined,
350579
+ dockerBuild: {
350580
+ script: (0, docker_1.getDockerBuildDefaultScript)(((_d = buildConfig.docker) === null || _d === void 0 ? void 0 : _d.type) === "nginx" ? "ensureNginxDockerfile" : ""),
350581
+ variables: {}
350515
350582
  }
350516
- }) : null;
350517
- return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), __read((0, docker_1.requiresDockerBuild)(context) ? [(0, docker_1.createDockerBuildJobDefault)(context, {
350518
- script: [((_d = buildConfig.docker) === null || _d === void 0 ? void 0 : _d.type) === "nginx" ? "ensureNginxDockerfile" : "" // e.g. custom,
350519
- ].filter(Boolean),
350520
- variables: {},
350521
- needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
350522
- })] : []), false), __read((0, sbom_2.sbomDeactivated)(context) ? [] : [(0, sbom_1.createSbomBuildJob)(context)]), false);
350583
+ });
350523
350584
  };
350524
350585
  exports.createCustomBuildJobs = createCustomBuildJobs;
350525
350586
 
@@ -350701,39 +350762,8 @@ var __rest = this && this.__rest || function (s, e) {
350701
350762
  }
350702
350763
  return t;
350703
350764
  };
350704
- var __read = this && this.__read || function (o, n) {
350705
- var m = typeof Symbol === "function" && o[Symbol.iterator];
350706
- if (!m) return o;
350707
- var i = m.call(o),
350708
- r,
350709
- ar = [],
350710
- e;
350711
- try {
350712
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
350713
- } catch (error) {
350714
- e = {
350715
- error: error
350716
- };
350717
- } finally {
350718
- try {
350719
- if (r && !r.done && (m = i["return"])) m.call(i);
350720
- } finally {
350721
- if (e) throw e.error;
350722
- }
350723
- }
350724
- return ar;
350725
- };
350726
- var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
350727
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
350728
- if (ar || !(i in from)) {
350729
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
350730
- ar[i] = from[i];
350731
- }
350732
- }
350733
- return to.concat(ar || Array.prototype.slice.call(from));
350734
- };
350735
350765
  exports.__esModule = true;
350736
- exports.createDockerBuildJobDefault = exports.gitlabDockerLogin = exports.createDockerBuildJobBase = exports.getDockerJobBaseProps = exports.DOCKER_BUILD_JOB_NAME = exports.getDockerBuildVariables = exports.requiresDockerBuild = exports.getDockerImageVariables = void 0;
350766
+ exports.getDockerBuildDefaultScript = exports.gitlabDockerLogin = exports.createDockerBuildJobBase = exports.getDockerJobBaseProps = exports.DOCKER_BUILD_JOB_NAME = exports.getDockerBuildVariables = exports.requiresDockerBuild = exports.getDockerImageVariables = void 0;
350737
350767
  var lodash_1 = __nccwpck_require__(23255);
350738
350768
  var deploy_1 = __nccwpck_require__(90223);
350739
350769
  var runner_1 = __nccwpck_require__(55071);
@@ -350807,14 +350837,10 @@ var createDockerBuildJobBase = function (context, _a) {
350807
350837
  };
350808
350838
  exports.createDockerBuildJobBase = createDockerBuildJobBase;
350809
350839
  exports.gitlabDockerLogin = "docker login --username gitlab-ci-token --password $CI_JOB_TOKEN $CI_REGISTRY";
350810
- var createDockerBuildJobDefault = function (context, _a) {
350811
- var script = _a.script,
350812
- def = __rest(_a, ["script"]);
350813
- return (0, exports.createDockerBuildJobBase)(context, __assign({
350814
- script: __spreadArray(__spreadArray([], __read(script || []), false), [exports.gitlabDockerLogin, "docker version", "docker build --network host --cache-from $DOCKER_CACHE_IMAGE --tag $DOCKER_IMAGE:$DOCKER_IMAGE_TAG -f $APP_DIR/Dockerfile . --build-arg BUILDKIT_INLINE_CACHE=1", "docker push $DOCKER_IMAGE:$DOCKER_IMAGE_TAG", "docker tag $DOCKER_IMAGE:$DOCKER_IMAGE_TAG $DOCKER_CACHE_IMAGE", "docker push $DOCKER_CACHE_IMAGE"], false)
350815
- }, def));
350840
+ var getDockerBuildDefaultScript = function (ensureDockerFileScript) {
350841
+ return [ensureDockerFileScript, exports.gitlabDockerLogin, "docker version", "docker build --network host --cache-from $DOCKER_CACHE_IMAGE --tag $DOCKER_IMAGE:$DOCKER_IMAGE_TAG -f $APP_DIR/Dockerfile . --build-arg BUILDKIT_INLINE_CACHE=1", "docker push $DOCKER_IMAGE:$DOCKER_IMAGE_TAG", "docker tag $DOCKER_IMAGE:$DOCKER_IMAGE_TAG $DOCKER_CACHE_IMAGE", "docker push $DOCKER_CACHE_IMAGE"].filter(Boolean);
350816
350842
  };
350817
- exports.createDockerBuildJobDefault = createDockerBuildJobDefault;
350843
+ exports.getDockerBuildDefaultScript = getDockerBuildDefaultScript;
350818
350844
 
350819
350845
  /***/ }),
350820
350846
 
@@ -350951,18 +350977,15 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
350951
350977
  };
350952
350978
  exports.__esModule = true;
350953
350979
  exports.createNodeBuildJobs = void 0;
350980
+ var path_1 = __nccwpck_require__(71017);
350981
+ var runner_1 = __nccwpck_require__(55071);
350954
350982
  var utils_1 = __nccwpck_require__(37461);
350955
- var constants_1 = __nccwpck_require__(11542);
350956
- var createBuildJob_1 = __nccwpck_require__(58063);
350983
+ var base_1 = __nccwpck_require__(18035);
350957
350984
  var docker_1 = __nccwpck_require__(33219);
350958
- var path_1 = __nccwpck_require__(71017);
350959
350985
  var types_1 = __nccwpck_require__(71197);
350960
350986
  var cache_1 = __nccwpck_require__(54303);
350961
- var constants_2 = __nccwpck_require__(69284);
350987
+ var constants_1 = __nccwpck_require__(69284);
350962
350988
  var yarn_1 = __nccwpck_require__(10464);
350963
- var runner_1 = __nccwpck_require__(55071);
350964
- var sbom_1 = __nccwpck_require__(9927);
350965
- var sbom_2 = __nccwpck_require__(65928);
350966
350989
  var createNodeBuildJobs = function (context) {
350967
350990
  var _a, _b, _c, _d, _e, _f, _g;
350968
350991
  var buildConfig = context.componentConfig.build;
@@ -350971,31 +350994,32 @@ var createNodeBuildJobs = function (context) {
350971
350994
  }
350972
350995
  var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
350973
350996
  var yarnInstall = (0, yarn_1.getYarnInstall)(context);
350974
- var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
350975
- image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
350976
- variables: __assign({}, constants_2.NODE_RUNNER_BUILD_VARIABLES),
350977
- cache: __spreadArray(__spreadArray(__spreadArray([], __read((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : []), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
350978
- script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
350979
- artifacts: {
350980
- paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((_e = (_d = buildConfig.artifactsPaths) === null || _d === void 0 ? void 0 : _d.map(function (path) {
350981
- return (0, path_1.join)(context.componentConfig.dir, path);
350982
- })) !== null && _e !== void 0 ? _e : []), false),
350983
- expire_in: "1 day"
350984
- },
350985
- jobTags: buildConfig.jobTags
350986
- }) : null;
350987
- return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), __read((0, docker_1.requiresDockerBuild)(context) ? [(0, docker_1.createDockerBuildJobDefault)(context, {
350988
- script: [buildConfig.type === "node-static" || buildConfig.type === "storybook" ? "ensureNginxDockerfile" : "ensureNodeDockerfile"],
350989
- cache: __spreadArray([], __read((0, cache_1.getYarnCache)(context, "pull")), false),
350990
- variables: {
350991
- // only required for non static
350992
- DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context),
350993
- DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) {
350994
- return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir);
350995
- })) === null || _g === void 0 ? void 0 : _g.join("\n")
350996
- },
350997
- needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
350998
- })] : []), false), __read((0, sbom_2.sbomDeactivated)(context) ? [] : [(0, sbom_1.createSbomBuildJob)(context)]), false);
350997
+ return (0, base_1.createBuildJobs)(context, {
350998
+ appBuild: buildConfig.buildCommand !== null ? {
350999
+ image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
351000
+ variables: __assign({}, constants_1.NODE_RUNNER_BUILD_VARIABLES),
351001
+ cache: __spreadArray(__spreadArray(__spreadArray([], __read((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : []), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
351002
+ script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
351003
+ artifacts: {
351004
+ paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((_e = (_d = buildConfig.artifactsPaths) === null || _d === void 0 ? void 0 : _d.map(function (path) {
351005
+ return (0, path_1.join)(context.componentConfig.dir, path);
351006
+ })) !== null && _e !== void 0 ? _e : []), false),
351007
+ expire_in: "1 day"
351008
+ },
351009
+ jobTags: buildConfig.jobTags
351010
+ } : undefined,
351011
+ dockerBuild: {
351012
+ script: (0, docker_1.getDockerBuildDefaultScript)(buildConfig.type === "node-static" || buildConfig.type === "storybook" ? "ensureNginxDockerfile" : "ensureNodeDockerfile"),
351013
+ cache: __spreadArray([], __read((0, cache_1.getYarnCache)(context, "pull")), false),
351014
+ variables: {
351015
+ // only required for non static
351016
+ DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context),
351017
+ DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) {
351018
+ return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir);
351019
+ })) === null || _g === void 0 ? void 0 : _g.join("\n")
351020
+ }
351021
+ }
351022
+ });
350999
351023
  };
351000
351024
  exports.createNodeBuildJobs = createNodeBuildJobs;
351001
351025
 
@@ -351215,14 +351239,11 @@ exports.__esModule = true;
351215
351239
  exports.createMeteorBuildJobs = void 0;
351216
351240
  var path_1 = __nccwpck_require__(71017);
351217
351241
  var runner_1 = __nccwpck_require__(55071);
351218
- var constants_1 = __nccwpck_require__(11542);
351219
- var createBuildJob_1 = __nccwpck_require__(58063);
351242
+ var base_1 = __nccwpck_require__(18035);
351220
351243
  var docker_1 = __nccwpck_require__(33219);
351221
351244
  var types_1 = __nccwpck_require__(71197);
351222
351245
  var cache_1 = __nccwpck_require__(54303);
351223
351246
  var yarn_1 = __nccwpck_require__(10464);
351224
- var sbom_1 = __nccwpck_require__(65928);
351225
- var sbom_2 = __nccwpck_require__(9927);
351226
351247
  var getMeteorCache = function (context) {
351227
351248
  return [{
351228
351249
  key: context.componentName + "meteor-build-cache",
@@ -351236,24 +351257,25 @@ var createMeteorBuildJobs = function (context) {
351236
351257
  throw new Error("deploy config is not meteor");
351237
351258
  }
351238
351259
  var yarnInstall = (0, yarn_1.getYarnInstall)(context);
351239
- var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
351240
- cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context)), false), __read(getMeteorCache(context)), false),
351241
- image: (0, runner_1.getRunnerImage)("jobs-meteor"),
351242
- variables: {
351243
- METEOR_DISABLE_OPTIMISTIC_CACHING: "1"
351244
- },
351245
- script: __spreadArray(__spreadArray([], __read(yarnInstall), false), ['echo "add healthcheck package"', "meteor add panter:healthroute --allow-superuser", "meteor add qualia:prod-shell --allow-superuser", 'TOOL_NODE_FLAGS="--max_old_space_size=3584 --min_semi_space_size=8 --max_semi_space_size=256 --optimize_for_size" meteor build ./dist --architecture os.linux.x86_64 --allow-superuser --server-only --directory', "cp ./__build_info.json ./dist/bundle/programs/server"], false),
351246
- artifacts: {
351247
- paths: [context.componentConfig.dir + "/__build_info.json", context.componentConfig.dir + "/dist"]
351260
+ return (0, base_1.createBuildJobs)(context, {
351261
+ appBuild: buildConfig.buildCommand !== null ? {
351262
+ cache: __spreadArray(__spreadArray([], __read((0, cache_1.getNodeCache)(context)), false), __read(getMeteorCache(context)), false),
351263
+ image: (0, runner_1.getRunnerImage)("jobs-meteor"),
351264
+ variables: {
351265
+ METEOR_DISABLE_OPTIMISTIC_CACHING: "1"
351266
+ },
351267
+ script: __spreadArray(__spreadArray([], __read(yarnInstall), false), ['echo "add healthcheck package"', "meteor add panter:healthroute --allow-superuser", "meteor add qualia:prod-shell --allow-superuser", 'TOOL_NODE_FLAGS="--max_old_space_size=3584 --min_semi_space_size=8 --max_semi_space_size=256 --optimize_for_size" meteor build ./dist --architecture os.linux.x86_64 --allow-superuser --server-only --directory', "cp ./__build_info.json ./dist/bundle/programs/server"], false),
351268
+ artifacts: {
351269
+ paths: [context.componentConfig.dir + "/__build_info.json", context.componentConfig.dir + "/dist"]
351270
+ }
351271
+ } : undefined,
351272
+ dockerBuild: {
351273
+ script: (0, docker_1.getDockerBuildDefaultScript)("ensureMeteorDockerfile"),
351274
+ variables: {
351275
+ METEOR_INSTALL_SCRIPTS: buildConfig.installScripts ? "true" : ""
351276
+ }
351248
351277
  }
351249
- }) : null;
351250
- return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
351251
- script: ["ensureMeteorDockerfile"],
351252
- variables: {
351253
- METEOR_INSTALL_SCRIPTS: buildConfig.installScripts ? "true" : ""
351254
- },
351255
- needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
351256
- })], false), __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
351278
+ });
351257
351279
  };
351258
351280
  exports.createMeteorBuildJobs = createMeteorBuildJobs;
351259
351281
 
@@ -351479,21 +351501,11 @@ var __read = this && this.__read || function (o, n) {
351479
351501
  }
351480
351502
  return ar;
351481
351503
  };
351482
- var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
351483
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
351484
- if (ar || !(i in from)) {
351485
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
351486
- ar[i] = from[i];
351487
- }
351488
- }
351489
- return to.concat(ar || Array.prototype.slice.call(from));
351490
- };
351491
351504
  exports.__esModule = true;
351492
351505
  exports.createRailsBuildJobs = void 0;
351493
- var types_1 = __nccwpck_require__(71197);
351506
+ var base_1 = __nccwpck_require__(18035);
351494
351507
  var docker_1 = __nccwpck_require__(33219);
351495
- var sbom_1 = __nccwpck_require__(65928);
351496
- var sbom_2 = __nccwpck_require__(9927);
351508
+ var types_1 = __nccwpck_require__(71197);
351497
351509
  var createRailsBuildJobs = function (context) {
351498
351510
  var _a, _b, _c;
351499
351511
  var buildConfig = context.componentConfig.build;
@@ -351508,13 +351520,16 @@ var createRailsBuildJobs = function (context) {
351508
351520
  v = _b[1];
351509
351521
  return "--env '".concat(k).concat(v ? "=".concat(v) : "", "'");
351510
351522
  }).join(" ");
351511
- return __spreadArray([(0, docker_1.createDockerBuildJobBase)(context, {
351512
- variables: __assign(__assign({}, context.environment.jobOnlyVars.build.envVars), context.componentConfig.build.extraVars),
351513
- // custom script
351514
- script: [docker_1.gitlabDockerLogin, "docker pull $DOCKER_CACHE_IMAGE || true", "wget --output-document=- https://github.com/buildpacks/pack/releases/download/v".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "/pack-v").concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "-linux.tgz | tar -zx --directory /usr/local/bin pack"), "chmod +x /usr/local/bin/pack",
351515
- // replace private git ssh gem sources with https to make bundler with credentials via env var work
351516
- "sed --in-place 's|git@\\([^:]*\\):|https://\\1/|g' Gemfile Gemfile.lock", "pack build \"$DOCKER_IMAGE:$DOCKER_IMAGE_TAG\" --builder '".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.image, "' --publish --cache-image \"$DOCKER_CACHE_IMAGE\" ").concat(packEnvArgs, " ").concat((_c = (_b = cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packExtraArgs) === null || _b === void 0 ? void 0 : _b.join(" ")) !== null && _c !== void 0 ? _c : "")]
351517
- })], __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
351523
+ return (0, base_1.createBuildJobs)(context, {
351524
+ appBuild: undefined,
351525
+ dockerBuild: {
351526
+ variables: __assign(__assign({}, context.environment.jobOnlyVars.build.envVars), context.componentConfig.build.extraVars),
351527
+ // custom script
351528
+ script: [docker_1.gitlabDockerLogin, "docker pull $DOCKER_CACHE_IMAGE || true", "wget --output-document=- https://github.com/buildpacks/pack/releases/download/v".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "/pack-v").concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "-linux.tgz | tar -zx --directory /usr/local/bin pack"), "chmod +x /usr/local/bin/pack",
351529
+ // replace private git ssh gem sources with https to make bundler with credentials via env var work
351530
+ "sed --in-place 's|git@\\([^:]*\\):|https://\\1/|g' Gemfile Gemfile.lock", "pack build \"$DOCKER_IMAGE:$DOCKER_IMAGE_TAG\" --builder '".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.image, "' --publish --cache-image \"$DOCKER_CACHE_IMAGE\" ").concat(packEnvArgs, " ").concat((_c = (_b = cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packExtraArgs) === null || _b === void 0 ? void 0 : _b.join(" ")) !== null && _c !== void 0 ? _c : "")]
351531
+ }
351532
+ });
351518
351533
  };
351519
351534
  exports.createRailsBuildJobs = createRailsBuildJobs;
351520
351535
 
@@ -351895,7 +351910,7 @@ exports.readConfigSync = readConfigSync;
351895
351910
 
351896
351911
  exports.__esModule = true;
351897
351912
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
351898
- exports.PIPELINE_IMAGE_TAG = "further-refactor-deploy-77d59e43" || 0;
351913
+ exports.PIPELINE_IMAGE_TAG = "further-refactor-deploy-79fbaf60" || 0;
351899
351914
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
351900
351915
 
351901
351916
  /***/ }),
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-further-refactor-deploy-77d59e43",
27
+ "@catladder/pipeline": "0.0.0-further-refactor-deploy-79fbaf60",
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-further-refactor-deploy-77d59e43",
60
+ "version": "0.0.0-further-refactor-deploy-79fbaf60",
61
61
  "stableVersion": "0.0.0"
62
62
  }