@catladder/cli 0.0.0-main-4f09f9d9 → 0.0.0-main-0fb24c4d

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.
@@ -40532,7 +40532,7 @@ var createRailsBuildJobs = function (context) {
40532
40532
  dockerBuild: {
40533
40533
  variables: __assign(__assign({}, context.environment.jobOnlyVars.build.envVars), context.componentConfig.build.extraVars),
40534
40534
  // custom script
40535
- script: __spreadArray(__spreadArray([], __read((0, docker_1.gitlabDockerLogin)(context)), false), ["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",
40535
+ script: __spreadArray(__spreadArray([], __read((0, docker_1.gitlabDockerLogin)(context)), false), ["cd ".concat(context.componentConfig.dir), "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",
40536
40536
  // replace private git ssh gem sources with https to make bundler with credentials via env var work
40537
40537
  "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 : "")], false)
40538
40538
  }
@@ -40917,7 +40917,7 @@ exports.readConfigSync = readConfigSync;
40917
40917
 
40918
40918
  exports.__esModule = true;
40919
40919
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40920
- exports.PIPELINE_IMAGE_TAG = "main-4f09f9d9" || 0;
40920
+ exports.PIPELINE_IMAGE_TAG = "main-0fb24c4d" || 0;
40921
40921
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40922
40922
 
40923
40923
  /***/ }),
@@ -42825,7 +42825,7 @@ var getJobCreateScriptsForJob = function (context, jobName, job) {
42825
42825
  "task-timeout": job.timeout || "10m",
42826
42826
  parallelism: job.parallelism || 1,
42827
42827
  "env-vars-file": "____envvars.yaml",
42828
- "max-retry-attempts": 0
42828
+ "max-retries": 0
42829
42829
  }));
42830
42830
  var argsString = "".concat(jobName, " ").concat(commonDeployArgsString);
42831
42831
  return __spreadArray(__spreadArray([], __read((0, gitlab_1.allowFailureInScripts)(["".concat((0, common_1.gcloudRunCmd)(), " jobs create ").concat(argsString)])), false), ["".concat((0, common_1.gcloudRunCmd)(), " jobs update ").concat(argsString)], false);
@@ -355462,7 +355462,7 @@ var createRailsBuildJobs = function (context) {
355462
355462
  dockerBuild: {
355463
355463
  variables: __assign(__assign({}, context.environment.jobOnlyVars.build.envVars), context.componentConfig.build.extraVars),
355464
355464
  // custom script
355465
- script: __spreadArray(__spreadArray([], __read((0, docker_1.gitlabDockerLogin)(context)), false), ["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",
355465
+ script: __spreadArray(__spreadArray([], __read((0, docker_1.gitlabDockerLogin)(context)), false), ["cd ".concat(context.componentConfig.dir), "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",
355466
355466
  // replace private git ssh gem sources with https to make bundler with credentials via env var work
355467
355467
  "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 : "")], false)
355468
355468
  }
@@ -355847,7 +355847,7 @@ exports.readConfigSync = readConfigSync;
355847
355847
 
355848
355848
  exports.__esModule = true;
355849
355849
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
355850
- exports.PIPELINE_IMAGE_TAG = "main-4f09f9d9" || 0;
355850
+ exports.PIPELINE_IMAGE_TAG = "main-0fb24c4d" || 0;
355851
355851
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
355852
355852
 
355853
355853
  /***/ }),
@@ -357755,7 +357755,7 @@ var getJobCreateScriptsForJob = function (context, jobName, job) {
357755
357755
  "task-timeout": job.timeout || "10m",
357756
357756
  parallelism: job.parallelism || 1,
357757
357757
  "env-vars-file": "____envvars.yaml",
357758
- "max-retry-attempts": 0
357758
+ "max-retries": 0
357759
357759
  }));
357760
357760
  var argsString = "".concat(jobName, " ").concat(commonDeployArgsString);
357761
357761
  return __spreadArray(__spreadArray([], __read((0, gitlab_1.allowFailureInScripts)(["".concat((0, common_1.gcloudRunCmd)(), " jobs create ").concat(argsString)])), false), ["".concat((0, common_1.gcloudRunCmd)(), " jobs update ").concat(argsString)], false);
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  }
53
53
  ],
54
54
  "license": "MIT",
55
- "version": "0.0.0-main-4f09f9d9",
55
+ "version": "0.0.0-main-0fb24c4d",
56
56
  "scripts": {
57
57
  "lint": "eslint \"src/**/*.ts\"",
58
58
  "lint:fix": "eslint \"src/**/*.ts\" --fix",
@@ -74,7 +74,7 @@
74
74
  "ts-node": "^10.9.1"
75
75
  },
76
76
  "devDependencies": {
77
- "@catladder/pipeline": "0.0.0-main-4f09f9d9",
77
+ "@catladder/pipeline": "0.0.0-main-0fb24c4d",
78
78
  "@gitbeaker/rest": "^39.28.0",
79
79
  "@kubernetes/client-node": "^0.16.2",
80
80
  "@tsconfig/node14": "^1.0.1",