@catladder/cli 0.0.0-main-19c86f2e → 0.0.0-main-890c03dd

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.
@@ -39689,21 +39689,12 @@ var getDockerImageVariables = function (context) {
39689
39689
  };
39690
39690
  };
39691
39691
  exports.getDockerImageVariables = getDockerImageVariables;
39692
- var requiresDockerBuild = function (context) {
39693
- var deployConfig = context.componentConfig.deploy;
39694
- if ((0, deploy_1.isOfDeployType)(deployConfig, "kubernetes")) {
39695
- return true;
39696
- }
39697
- if ((0, deploy_1.isOfDeployType)(deployConfig, "google-cloudrun")) {
39698
- return true;
39699
- }
39700
- if ((0, deploy_1.isOfDeployType)(deployConfig, "custom") && deployConfig.requiresDocker) {
39701
- return true;
39702
- }
39703
- if ((0, deploy_1.isOfDeployType)(deployConfig, "dockerTag")) {
39704
- return true;
39705
- }
39706
- return false;
39692
+ /**
39693
+ * Weather the context requires a docker build
39694
+ */
39695
+ var requiresDockerBuild = function (_a) {
39696
+ var deploy = _a.componentConfig.deploy;
39697
+ return (0, deploy_1.isOfDeployType)(deploy, "kubernetes", "google-cloudrun", "dockerTag") || (0, deploy_1.isOfDeployType)(deploy, "custom") && deploy.requiresDocker;
39707
39698
  };
39708
39699
  exports.requiresDockerBuild = requiresDockerBuild;
39709
39700
  var getDockerBaseVariables = function () {
@@ -40165,6 +40156,8 @@ var docker_1 = __nccwpck_require__(3219);
40165
40156
  var types_1 = __nccwpck_require__(1197);
40166
40157
  var cache_1 = __nccwpck_require__(4303);
40167
40158
  var yarn_1 = __nccwpck_require__(464);
40159
+ var sbom_1 = __nccwpck_require__(5928);
40160
+ var sbom_2 = __nccwpck_require__(9927);
40168
40161
  var getMeteorCache = function (context) {
40169
40162
  return [{
40170
40163
  key: context.componentName + "meteor-build-cache",
@@ -40189,13 +40182,13 @@ var createMeteorBuildJobs = function (context) {
40189
40182
  paths: [context.componentConfig.dir + "/__build_info.json", context.componentConfig.dir + "/dist"]
40190
40183
  }
40191
40184
  }) : null;
40192
- return __spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
40185
+ return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
40193
40186
  script: ["ensureMeteorDockerfile"],
40194
40187
  variables: {
40195
40188
  METEOR_INSTALL_SCRIPTS: buildConfig.installScripts ? "true" : ""
40196
40189
  },
40197
40190
  needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
40198
- })], false);
40191
+ })], false), __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
40199
40192
  };
40200
40193
  exports.createMeteorBuildJobs = createMeteorBuildJobs;
40201
40194
 
@@ -40837,7 +40830,7 @@ exports.readConfigSync = readConfigSync;
40837
40830
 
40838
40831
  exports.__esModule = true;
40839
40832
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40840
- exports.PIPELINE_IMAGE_TAG = "main-19c86f2e" || 0;
40833
+ exports.PIPELINE_IMAGE_TAG = "main-890c03dd" || 0;
40841
40834
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40842
40835
 
40843
40836
  /***/ }),
@@ -350754,21 +350754,12 @@ var getDockerImageVariables = function (context) {
350754
350754
  };
350755
350755
  };
350756
350756
  exports.getDockerImageVariables = getDockerImageVariables;
350757
- var requiresDockerBuild = function (context) {
350758
- var deployConfig = context.componentConfig.deploy;
350759
- if ((0, deploy_1.isOfDeployType)(deployConfig, "kubernetes")) {
350760
- return true;
350761
- }
350762
- if ((0, deploy_1.isOfDeployType)(deployConfig, "google-cloudrun")) {
350763
- return true;
350764
- }
350765
- if ((0, deploy_1.isOfDeployType)(deployConfig, "custom") && deployConfig.requiresDocker) {
350766
- return true;
350767
- }
350768
- if ((0, deploy_1.isOfDeployType)(deployConfig, "dockerTag")) {
350769
- return true;
350770
- }
350771
- return false;
350757
+ /**
350758
+ * Weather the context requires a docker build
350759
+ */
350760
+ var requiresDockerBuild = function (_a) {
350761
+ var deploy = _a.componentConfig.deploy;
350762
+ return (0, deploy_1.isOfDeployType)(deploy, "kubernetes", "google-cloudrun", "dockerTag") || (0, deploy_1.isOfDeployType)(deploy, "custom") && deploy.requiresDocker;
350772
350763
  };
350773
350764
  exports.requiresDockerBuild = requiresDockerBuild;
350774
350765
  var getDockerBaseVariables = function () {
@@ -351230,6 +351221,8 @@ var docker_1 = __nccwpck_require__(33219);
351230
351221
  var types_1 = __nccwpck_require__(71197);
351231
351222
  var cache_1 = __nccwpck_require__(54303);
351232
351223
  var yarn_1 = __nccwpck_require__(10464);
351224
+ var sbom_1 = __nccwpck_require__(65928);
351225
+ var sbom_2 = __nccwpck_require__(9927);
351233
351226
  var getMeteorCache = function (context) {
351234
351227
  return [{
351235
351228
  key: context.componentName + "meteor-build-cache",
@@ -351254,13 +351247,13 @@ var createMeteorBuildJobs = function (context) {
351254
351247
  paths: [context.componentConfig.dir + "/__build_info.json", context.componentConfig.dir + "/dist"]
351255
351248
  }
351256
351249
  }) : null;
351257
- return __spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
351250
+ return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
351258
351251
  script: ["ensureMeteorDockerfile"],
351259
351252
  variables: {
351260
351253
  METEOR_INSTALL_SCRIPTS: buildConfig.installScripts ? "true" : ""
351261
351254
  },
351262
351255
  needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
351263
- })], false);
351256
+ })], false), __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
351264
351257
  };
351265
351258
  exports.createMeteorBuildJobs = createMeteorBuildJobs;
351266
351259
 
@@ -351902,7 +351895,7 @@ exports.readConfigSync = readConfigSync;
351902
351895
 
351903
351896
  exports.__esModule = true;
351904
351897
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
351905
- exports.PIPELINE_IMAGE_TAG = "main-19c86f2e" || 0;
351898
+ exports.PIPELINE_IMAGE_TAG = "main-890c03dd" || 0;
351906
351899
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
351907
351900
 
351908
351901
  /***/ }),
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-19c86f2e",
27
+ "@catladder/pipeline": "0.0.0-main-890c03dd",
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-19c86f2e",
60
+ "version": "0.0.0-main-890c03dd",
61
61
  "stableVersion": "0.0.0"
62
62
  }