@catladder/cli 0.0.0-main-52fe0074 → 0.0.0-main-d4f1e432

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.
@@ -39053,18 +39053,22 @@ var requiresDockerBuild = function (context) {
39053
39053
  return false;
39054
39054
  };
39055
39055
  exports.requiresDockerBuild = requiresDockerBuild;
39056
+ var getDockerBaseVariables = function () {
39057
+ return {
39058
+ DOCKER_HOST: "tcp://0.0.0.0:2375",
39059
+ DOCKER_TLS_CERTDIR: "",
39060
+ DOCKER_DRIVER: "overlay2",
39061
+ DOCKER_BUILDKIT: "1"
39062
+ };
39063
+ };
39056
39064
  var getDockerBuildVariables = function (context) {
39057
39065
  var _a, _b, _c, _d;
39058
- return __assign(__assign(__assign({}, DOCKER_RUNNER_BUILD_VARIABLES), {
39059
- DOCKER_BUILDKIT: "1",
39066
+ return __assign(__assign(__assign(__assign({}, DOCKER_RUNNER_BUILD_VARIABLES), {
39060
39067
  DOCKERFILE_ADDITIONS: (_b = (_a = context.componentConfig.build.docker) === null || _a === void 0 ? void 0 : _a.additionsBegin) === null || _b === void 0 ? void 0 : _b.join("\n"),
39061
39068
  DOCKERFILE_ADDITIONS_END: (_d = (_c = context.componentConfig.build.docker) === null || _c === void 0 ? void 0 : _c.additionsEnd) === null || _d === void 0 ? void 0 : _d.join("\n"),
39062
39069
  APP_DIR: context.componentConfig.dir,
39063
- DOCKER_HOST: "tcp://0.0.0.0:2375",
39064
- DOCKER_TLS_CERTDIR: "",
39065
- DOCKER_DIR: ".",
39066
- DOCKER_DRIVER: "overlay2"
39067
- }), (0, exports.getDockerImageVariables)(context));
39070
+ DOCKER_DIR: "."
39071
+ }), getDockerBaseVariables()), (0, exports.getDockerImageVariables)(context));
39068
39072
  };
39069
39073
  exports.getDockerBuildVariables = getDockerBuildVariables;
39070
39074
  exports.DOCKER_BUILD_JOB_NAME = "🔨 docker";
@@ -39075,7 +39079,7 @@ var getDockerJobBaseProps = function (context) {
39075
39079
  name: "docker:20-dind",
39076
39080
  command: ["--tls=false"]
39077
39081
  }],
39078
- variables: (0, exports.getDockerBuildVariables)(context)
39082
+ variables: getDockerBaseVariables()
39079
39083
  };
39080
39084
  };
39081
39085
  exports.getDockerJobBaseProps = getDockerJobBaseProps;
@@ -39088,7 +39092,9 @@ var createDockerBuildJobBase = function (context, _a) {
39088
39092
  stage: "build"
39089
39093
  }, (0, exports.getDockerJobBaseProps)(context)), {
39090
39094
  script: script || []
39091
- }), def);
39095
+ }), {
39096
+ variables: (0, exports.getDockerBuildVariables)(context)
39097
+ }, def);
39092
39098
  };
39093
39099
  exports.createDockerBuildJobBase = createDockerBuildJobBase;
39094
39100
  exports.gitlabDockerLogin = "docker login --username gitlab-ci-token --password $CI_JOB_TOKEN $CI_REGISTRY";
@@ -40106,7 +40112,7 @@ exports.readConfigSync = readConfigSync;
40106
40112
 
40107
40113
  exports.__esModule = true;
40108
40114
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40109
- exports.PIPELINE_IMAGE_TAG = "main-52fe0074" || 0;
40115
+ exports.PIPELINE_IMAGE_TAG = "main-d4f1e432" || 0;
40110
40116
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40111
40117
 
40112
40118
  /***/ }),
@@ -350385,18 +350385,22 @@ var requiresDockerBuild = function (context) {
350385
350385
  return false;
350386
350386
  };
350387
350387
  exports.requiresDockerBuild = requiresDockerBuild;
350388
+ var getDockerBaseVariables = function () {
350389
+ return {
350390
+ DOCKER_HOST: "tcp://0.0.0.0:2375",
350391
+ DOCKER_TLS_CERTDIR: "",
350392
+ DOCKER_DRIVER: "overlay2",
350393
+ DOCKER_BUILDKIT: "1"
350394
+ };
350395
+ };
350388
350396
  var getDockerBuildVariables = function (context) {
350389
350397
  var _a, _b, _c, _d;
350390
- return __assign(__assign(__assign({}, DOCKER_RUNNER_BUILD_VARIABLES), {
350391
- DOCKER_BUILDKIT: "1",
350398
+ return __assign(__assign(__assign(__assign({}, DOCKER_RUNNER_BUILD_VARIABLES), {
350392
350399
  DOCKERFILE_ADDITIONS: (_b = (_a = context.componentConfig.build.docker) === null || _a === void 0 ? void 0 : _a.additionsBegin) === null || _b === void 0 ? void 0 : _b.join("\n"),
350393
350400
  DOCKERFILE_ADDITIONS_END: (_d = (_c = context.componentConfig.build.docker) === null || _c === void 0 ? void 0 : _c.additionsEnd) === null || _d === void 0 ? void 0 : _d.join("\n"),
350394
350401
  APP_DIR: context.componentConfig.dir,
350395
- DOCKER_HOST: "tcp://0.0.0.0:2375",
350396
- DOCKER_TLS_CERTDIR: "",
350397
- DOCKER_DIR: ".",
350398
- DOCKER_DRIVER: "overlay2"
350399
- }), (0, exports.getDockerImageVariables)(context));
350402
+ DOCKER_DIR: "."
350403
+ }), getDockerBaseVariables()), (0, exports.getDockerImageVariables)(context));
350400
350404
  };
350401
350405
  exports.getDockerBuildVariables = getDockerBuildVariables;
350402
350406
  exports.DOCKER_BUILD_JOB_NAME = "🔨 docker";
@@ -350407,7 +350411,7 @@ var getDockerJobBaseProps = function (context) {
350407
350411
  name: "docker:20-dind",
350408
350412
  command: ["--tls=false"]
350409
350413
  }],
350410
- variables: (0, exports.getDockerBuildVariables)(context)
350414
+ variables: getDockerBaseVariables()
350411
350415
  };
350412
350416
  };
350413
350417
  exports.getDockerJobBaseProps = getDockerJobBaseProps;
@@ -350420,7 +350424,9 @@ var createDockerBuildJobBase = function (context, _a) {
350420
350424
  stage: "build"
350421
350425
  }, (0, exports.getDockerJobBaseProps)(context)), {
350422
350426
  script: script || []
350423
- }), def);
350427
+ }), {
350428
+ variables: (0, exports.getDockerBuildVariables)(context)
350429
+ }, def);
350424
350430
  };
350425
350431
  exports.createDockerBuildJobBase = createDockerBuildJobBase;
350426
350432
  exports.gitlabDockerLogin = "docker login --username gitlab-ci-token --password $CI_JOB_TOKEN $CI_REGISTRY";
@@ -351438,7 +351444,7 @@ exports.readConfigSync = readConfigSync;
351438
351444
 
351439
351445
  exports.__esModule = true;
351440
351446
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
351441
- exports.PIPELINE_IMAGE_TAG = "main-52fe0074" || 0;
351447
+ exports.PIPELINE_IMAGE_TAG = "main-d4f1e432" || 0;
351442
351448
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
351443
351449
 
351444
351450
  /***/ }),
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-52fe0074",
27
+ "@catladder/pipeline": "0.0.0-main-d4f1e432",
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-52fe0074",
60
+ "version": "0.0.0-main-d4f1e432",
61
61
  "stableVersion": "0.0.0"
62
62
  }