@catladder/cli 0.0.0-fix-workspace-deps-9705c46a → 0.0.0-fix-meteor-2-e94ec0c0
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.
- package/CONTRIBUTING.md +17 -12
- package/README.md +13 -12
- package/dist/bundles/catenv/index.js +18 -10
- package/dist/bundles/cli/index.js +19 -11
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +50 -2
package/CONTRIBUTING.md
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
#### Atomic commits
|
|
4
4
|
|
|
5
|
-
If possible, make [atomic commits](https://en.wikipedia.org/wiki/Atomic_commit), which means:
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
5
|
+
If possible, make [atomic commits](https://en.wikipedia.org/wiki/Atomic_commit), which means that a commit should:
|
|
6
|
+
|
|
7
|
+
- Contain exactly one self-contained functional change
|
|
8
|
+
- Not depend on changes in one of your later commits
|
|
9
|
+
- Not create an inconsistent state (such as test errors, linting errors, partial fix, feature with documentation etc…)
|
|
9
10
|
|
|
10
11
|
A complex feature can be broken down into multiple commits as long as each one maintains a consistent state and consists of a self-contained change.
|
|
11
12
|
|
|
@@ -27,7 +28,8 @@ The **footer** can contain a [closing reference to an issue](https://help.github
|
|
|
27
28
|
|
|
28
29
|
#### Revert
|
|
29
30
|
|
|
30
|
-
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit.
|
|
31
|
+
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit.
|
|
32
|
+
In the body, it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
|
|
31
33
|
|
|
32
34
|
#### Type
|
|
33
35
|
|
|
@@ -42,25 +44,28 @@ The type must be one of the following:
|
|
|
42
44
|
| **fix** | A bug fix |
|
|
43
45
|
| **perf** | A code change that improves performance |
|
|
44
46
|
| **refactor** | A code change that neither fixes a bug nor adds a feature |
|
|
45
|
-
| **style** | Changes that do not affect the meaning of the code (white-space, formatting, missing
|
|
47
|
+
| **style** | Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc) |
|
|
46
48
|
| **test** | Adding missing tests or correcting existing tests |
|
|
47
49
|
|
|
48
50
|
#### Subject
|
|
49
51
|
|
|
50
|
-
The subject contains succinct description of the change:
|
|
52
|
+
The subject contains a succinct description of the change:
|
|
51
53
|
|
|
52
54
|
- use the imperative, present tense: "change" not "changed" nor "changes"
|
|
53
|
-
- don't capitalize first letter
|
|
55
|
+
- don't capitalize the first letter
|
|
54
56
|
- no dot (.) at the end
|
|
55
57
|
|
|
56
58
|
#### Body
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
|
|
60
|
+
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
|
|
61
|
+
The body should include the motivation for the change and contrast this with previous behaviour.
|
|
59
62
|
|
|
60
63
|
#### Footer
|
|
64
|
+
|
|
61
65
|
The footer should contain any information about **Breaking Changes** and is also the place to reference GitLab issues that this commit **Closes**.
|
|
62
66
|
|
|
63
|
-
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines.
|
|
67
|
+
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines.
|
|
68
|
+
The rest of the commit message is then used for this.
|
|
64
69
|
|
|
65
70
|
#### Examples
|
|
66
71
|
|
|
@@ -80,4 +85,4 @@ perf(pencil): remove graphiteWidth option`
|
|
|
80
85
|
BREAKING CHANGE: The graphiteWidth option has been removed.
|
|
81
86
|
|
|
82
87
|
The default graphite width of 10mm is always used for performance reasons.
|
|
83
|
-
```
|
|
88
|
+
```
|
package/README.md
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
# catladder 🐱 🔧
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Panter cli tool for Kubernetes.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```sh
|
|
8
|
+
# yarn users
|
|
9
|
+
yarn global add @catladder/cli
|
|
10
|
+
# npm users
|
|
11
|
+
npm install -g @catladder/cli
|
|
12
|
+
```
|
|
8
13
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
`npm install -g @catladder/cli`
|
|
12
|
-
|
|
13
|
-
_Note: if you have `@panter/catladder` installed upgrade it to >=4.0.0 before installing `@catladder/cli`_
|
|
14
|
+
> **Note**: If you have [@catladder/pipeline](https://www.npmjs.com/package/@catladder/pipeline) installed, upgrade it to >=4.0.0 before installing [@catladder/cli](https://www.npmjs.com/package/@catladder/cli).
|
|
14
15
|
|
|
15
16
|
## Getting started
|
|
16
17
|
|
|
17
|
-
You'll need
|
|
18
|
+
You'll need:
|
|
18
19
|
|
|
19
20
|
- Google Cloud SDK ([see installation instructions](https://cloud.google.com/sdk/docs/install))
|
|
20
21
|
- Kubectl ([see installation instructions](https://kubernetes.io/docs/tasks/tools/))
|
|
21
22
|
- Cloud SQL Auth proxy ([see installation instructions](https://cloud.google.com/sql/docs/postgres/sql-proxy#install))
|
|
22
23
|
|
|
23
|
-
Afterwards you need to connect to your cluster, e.g. `gcloud container clusters get-credentials clustername --zone google-zone --project google-project-id`
|
|
24
|
-
In most cases you'll find the details on the Google Cloud [cluster overview ](https://console.cloud.google.com/kubernetes/list?project=skynet-164509)
|
|
24
|
+
Afterwards, you need to connect to your cluster, e.g. `gcloud container clusters get-credentials clustername --zone google-zone --project google-project-id`
|
|
25
|
+
In most cases, you'll find the details on the Google Cloud [cluster overview ](https://console.cloud.google.com/kubernetes/list?project=skynet-164509)
|
|
25
26
|
|
|
26
27
|
It just works™
|
|
27
28
|
|
|
28
29
|
## Preferences
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
Catladder stores some preferences in `~/.catladder/preferences.yml` in case you want to change settings.
|
|
31
32
|
|
|
32
33
|
## Contribution
|
|
33
34
|
|
|
34
|
-
Check the
|
|
35
|
+
Check the documentation [here](https://git.panter.ch/catladder/catladder/-/tree/main/cli/CONTRIBUTING.md).
|
|
@@ -39947,10 +39947,14 @@ var createNodeBuildJobs = function (context) {
|
|
|
39947
39947
|
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),
|
|
39948
39948
|
script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
|
|
39949
39949
|
artifacts: {
|
|
39950
|
-
paths: __spreadArray([
|
|
39951
|
-
|
|
39952
|
-
|
|
39953
|
-
|
|
39950
|
+
paths: __spreadArray([context.componentConfig.dir], __read((_e = (_d = context.packageManagerInfo) === null || _d === void 0 ? void 0 : _d.currentWorkspaceDependencies) !== null && _e !== void 0 ? _e : []), false).flatMap(function (dir) {
|
|
39951
|
+
var _a, _b;
|
|
39952
|
+
return __spreadArray([(0, path_1.join)(dir, "__build_info.json"), (0, path_1.join)(dir, "dist"), (0, path_1.join)(dir, ".next")], __read((_b = (_a = buildConfig.artifactsPaths) === null || _a === void 0 ? void 0 : _a.map(function (path) {
|
|
39953
|
+
return (0, path_1.join)(dir, path);
|
|
39954
|
+
})) !== null && _b !== void 0 ? _b : []), false);
|
|
39955
|
+
}),
|
|
39956
|
+
expire_in: "1 day",
|
|
39957
|
+
when: "always"
|
|
39954
39958
|
},
|
|
39955
39959
|
jobTags: buildConfig.jobTags
|
|
39956
39960
|
} : undefined,
|
|
@@ -40017,6 +40021,7 @@ exports.__esModule = true;
|
|
|
40017
40021
|
exports.getNextCache = exports.getNodeCache = exports.getNodeModulesCache = exports.getYarnCache = void 0;
|
|
40018
40022
|
var path_1 = __nccwpck_require__(1017);
|
|
40019
40023
|
var slugify_1 = __importDefault(__nccwpck_require__(4035));
|
|
40024
|
+
var lodash_1 = __nccwpck_require__(3255);
|
|
40020
40025
|
var getYarnCache = function (context, policy) {
|
|
40021
40026
|
var _a;
|
|
40022
40027
|
if (policy === void 0) {
|
|
@@ -40046,9 +40051,9 @@ var getNodeModulesCache = function (context, policy) {
|
|
|
40046
40051
|
// if component is in a shared workspace, use workspace cache. use individual cache else
|
|
40047
40052
|
key: componentIsInWorkspace ? "node-modules-workspace" : (0, slugify_1["default"])(context.componentConfig.dir) + "-node-modules",
|
|
40048
40053
|
policy: policy,
|
|
40049
|
-
paths: __spreadArray([], __read(componentIsInWorkspace ? __spreadArray(["node_modules"], __read((_c = (_b = context.packageManagerInfo) === null || _b === void 0 ? void 0 : _b.workspaces.map(function (w) {
|
|
40054
|
+
paths: __spreadArray([], __read(componentIsInWorkspace ? (0, lodash_1.uniq)(__spreadArray(["node_modules"], __read((_c = (_b = context.packageManagerInfo) === null || _b === void 0 ? void 0 : _b.workspaces.map(function (w) {
|
|
40050
40055
|
return (0, path_1.join)(w.location, "node_modules");
|
|
40051
|
-
})) !== null && _c !== void 0 ? _c : []), false) : [(0, path_1.join)(context.componentConfig.dir, "node_modules")]), false)
|
|
40056
|
+
})) !== null && _c !== void 0 ? _c : []), false)) : [(0, path_1.join)(context.componentConfig.dir, "node_modules")]), false)
|
|
40052
40057
|
}];
|
|
40053
40058
|
};
|
|
40054
40059
|
exports.getNodeModulesCache = getNodeModulesCache;
|
|
@@ -40368,6 +40373,7 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
|
40368
40373
|
exports.__esModule = true;
|
|
40369
40374
|
exports.getDockerAppCopyAndBuildScript = exports.getYarnInstall = exports.ensureNodeVersion = void 0;
|
|
40370
40375
|
var utils_1 = __nccwpck_require__(7461);
|
|
40376
|
+
var gitlab_1 = __nccwpck_require__(4997);
|
|
40371
40377
|
var YARN_INSTALL_CLASSIC = "yarn install --frozen-lockfile";
|
|
40372
40378
|
// FIXME: check why and when rebuild is needed
|
|
40373
40379
|
var YARN_BERRY_PROD_REBUILD = "yarn workspaces focus --production && yarn rebuild";
|
|
@@ -40379,13 +40385,13 @@ var getYarnInstallCommand = function (context) {
|
|
|
40379
40385
|
return "yarn install --immutable";
|
|
40380
40386
|
};
|
|
40381
40387
|
var ensureNodeVersion = function (context) {
|
|
40382
|
-
return ["if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi", "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi"];
|
|
40388
|
+
return (0, gitlab_1.collapseableSection)("node install", "Ensure node version")(["if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi", "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi"]);
|
|
40383
40389
|
};
|
|
40384
40390
|
exports.ensureNodeVersion = ensureNodeVersion;
|
|
40385
40391
|
var getYarnInstall = function (context, options) {
|
|
40386
40392
|
var _a;
|
|
40387
40393
|
var postInstall = "postInstall" in context.componentConfig.build ? context.componentConfig.build.postInstall : null;
|
|
40388
|
-
return __spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), [getYarnInstallCommand(context)], false), __read(postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall) ? (_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : [] : []), false);
|
|
40394
|
+
return (0, gitlab_1.collapseableSection)("yarn prepare", "Node and yarn install")(__spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), [getYarnInstallCommand(context)], false), __read(postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall) ? (_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : [] : []), false));
|
|
40389
40395
|
};
|
|
40390
40396
|
exports.getYarnInstall = getYarnInstall;
|
|
40391
40397
|
var DOCKER_COPY_FILES = "COPY --chown=node:node $APP_DIR .";
|
|
@@ -40865,7 +40871,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
40865
40871
|
|
|
40866
40872
|
exports.__esModule = true;
|
|
40867
40873
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
40868
|
-
exports.PIPELINE_IMAGE_TAG = "fix-
|
|
40874
|
+
exports.PIPELINE_IMAGE_TAG = "fix-meteor-2-e94ec0c0" || 0;
|
|
40869
40875
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
40870
40876
|
|
|
40871
40877
|
/***/ }),
|
|
@@ -42766,7 +42772,7 @@ var createGoogleCloudRunDeployJobs = function (context) {
|
|
|
42766
42772
|
};
|
|
42767
42773
|
});
|
|
42768
42774
|
var getServiceDeployScript = function (service, nameSuffix) {
|
|
42769
|
-
var _a, _b, _c, _d;
|
|
42775
|
+
var _a, _b, _c, _d, _e;
|
|
42770
42776
|
var customConfig = service !== true ? service : undefined;
|
|
42771
42777
|
var command = service !== true ? (_a = service === null || service === void 0 ? void 0 : service.command) !== null && _a !== void 0 ? _a : context.componentConfig.build.startCommand : undefined;
|
|
42772
42778
|
var argsString = (0, createArgsString_1.createArgsString)(__assign(__assign({
|
|
@@ -42779,6 +42785,7 @@ var createGoogleCloudRunDeployJobs = function (context) {
|
|
|
42779
42785
|
"cpu-throttling": (customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling) !== true,
|
|
42780
42786
|
memory: customConfig === null || customConfig === void 0 ? void 0 : customConfig.memory,
|
|
42781
42787
|
"allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true,
|
|
42788
|
+
ingress: (_e = customConfig === null || customConfig === void 0 ? void 0 : customConfig.ingress) !== null && _e !== void 0 ? _e : "all",
|
|
42782
42789
|
"cpu-boost": true
|
|
42783
42790
|
}));
|
|
42784
42791
|
return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString);
|
|
@@ -45661,6 +45668,7 @@ var getPackageManagerInfo = function (config, componentName) {
|
|
|
45661
45668
|
version: version,
|
|
45662
45669
|
isClassic: isClassic,
|
|
45663
45670
|
currentWorkspace: currentWorkspace,
|
|
45671
|
+
currentWorkspaceDependencies: currentWorkspaceDependencies,
|
|
45664
45672
|
componentIsInWorkspace: componentIsInWorkspace,
|
|
45665
45673
|
pathsToCopyInDocker: pathsToCopyInDocker
|
|
45666
45674
|
}];
|
|
@@ -354066,10 +354066,14 @@ var createNodeBuildJobs = function (context) {
|
|
|
354066
354066
|
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),
|
|
354067
354067
|
script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
|
|
354068
354068
|
artifacts: {
|
|
354069
|
-
paths: __spreadArray([
|
|
354070
|
-
|
|
354071
|
-
|
|
354072
|
-
|
|
354069
|
+
paths: __spreadArray([context.componentConfig.dir], __read((_e = (_d = context.packageManagerInfo) === null || _d === void 0 ? void 0 : _d.currentWorkspaceDependencies) !== null && _e !== void 0 ? _e : []), false).flatMap(function (dir) {
|
|
354070
|
+
var _a, _b;
|
|
354071
|
+
return __spreadArray([(0, path_1.join)(dir, "__build_info.json"), (0, path_1.join)(dir, "dist"), (0, path_1.join)(dir, ".next")], __read((_b = (_a = buildConfig.artifactsPaths) === null || _a === void 0 ? void 0 : _a.map(function (path) {
|
|
354072
|
+
return (0, path_1.join)(dir, path);
|
|
354073
|
+
})) !== null && _b !== void 0 ? _b : []), false);
|
|
354074
|
+
}),
|
|
354075
|
+
expire_in: "1 day",
|
|
354076
|
+
when: "always"
|
|
354073
354077
|
},
|
|
354074
354078
|
jobTags: buildConfig.jobTags
|
|
354075
354079
|
} : undefined,
|
|
@@ -354136,6 +354140,7 @@ exports.__esModule = true;
|
|
|
354136
354140
|
exports.getNextCache = exports.getNodeCache = exports.getNodeModulesCache = exports.getYarnCache = void 0;
|
|
354137
354141
|
var path_1 = __nccwpck_require__(71017);
|
|
354138
354142
|
var slugify_1 = __importDefault(__nccwpck_require__(44035));
|
|
354143
|
+
var lodash_1 = __nccwpck_require__(23255);
|
|
354139
354144
|
var getYarnCache = function (context, policy) {
|
|
354140
354145
|
var _a;
|
|
354141
354146
|
if (policy === void 0) {
|
|
@@ -354165,9 +354170,9 @@ var getNodeModulesCache = function (context, policy) {
|
|
|
354165
354170
|
// if component is in a shared workspace, use workspace cache. use individual cache else
|
|
354166
354171
|
key: componentIsInWorkspace ? "node-modules-workspace" : (0, slugify_1["default"])(context.componentConfig.dir) + "-node-modules",
|
|
354167
354172
|
policy: policy,
|
|
354168
|
-
paths: __spreadArray([], __read(componentIsInWorkspace ? __spreadArray(["node_modules"], __read((_c = (_b = context.packageManagerInfo) === null || _b === void 0 ? void 0 : _b.workspaces.map(function (w) {
|
|
354173
|
+
paths: __spreadArray([], __read(componentIsInWorkspace ? (0, lodash_1.uniq)(__spreadArray(["node_modules"], __read((_c = (_b = context.packageManagerInfo) === null || _b === void 0 ? void 0 : _b.workspaces.map(function (w) {
|
|
354169
354174
|
return (0, path_1.join)(w.location, "node_modules");
|
|
354170
|
-
})) !== null && _c !== void 0 ? _c : []), false) : [(0, path_1.join)(context.componentConfig.dir, "node_modules")]), false)
|
|
354175
|
+
})) !== null && _c !== void 0 ? _c : []), false)) : [(0, path_1.join)(context.componentConfig.dir, "node_modules")]), false)
|
|
354171
354176
|
}];
|
|
354172
354177
|
};
|
|
354173
354178
|
exports.getNodeModulesCache = getNodeModulesCache;
|
|
@@ -354487,6 +354492,7 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
|
354487
354492
|
exports.__esModule = true;
|
|
354488
354493
|
exports.getDockerAppCopyAndBuildScript = exports.getYarnInstall = exports.ensureNodeVersion = void 0;
|
|
354489
354494
|
var utils_1 = __nccwpck_require__(37461);
|
|
354495
|
+
var gitlab_1 = __nccwpck_require__(84997);
|
|
354490
354496
|
var YARN_INSTALL_CLASSIC = "yarn install --frozen-lockfile";
|
|
354491
354497
|
// FIXME: check why and when rebuild is needed
|
|
354492
354498
|
var YARN_BERRY_PROD_REBUILD = "yarn workspaces focus --production && yarn rebuild";
|
|
@@ -354498,13 +354504,13 @@ var getYarnInstallCommand = function (context) {
|
|
|
354498
354504
|
return "yarn install --immutable";
|
|
354499
354505
|
};
|
|
354500
354506
|
var ensureNodeVersion = function (context) {
|
|
354501
|
-
return ["if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi", "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi"];
|
|
354507
|
+
return (0, gitlab_1.collapseableSection)("node install", "Ensure node version")(["if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi", "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi"]);
|
|
354502
354508
|
};
|
|
354503
354509
|
exports.ensureNodeVersion = ensureNodeVersion;
|
|
354504
354510
|
var getYarnInstall = function (context, options) {
|
|
354505
354511
|
var _a;
|
|
354506
354512
|
var postInstall = "postInstall" in context.componentConfig.build ? context.componentConfig.build.postInstall : null;
|
|
354507
|
-
return __spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), [getYarnInstallCommand(context)], false), __read(postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall) ? (_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : [] : []), false);
|
|
354513
|
+
return (0, gitlab_1.collapseableSection)("yarn prepare", "Node and yarn install")(__spreadArray(__spreadArray(__spreadArray([], __read((0, exports.ensureNodeVersion)(context)), false), [getYarnInstallCommand(context)], false), __read(postInstall && !(options === null || options === void 0 ? void 0 : options.noCustomPostInstall) ? (_a = (0, utils_1.ensureArray)(postInstall)) !== null && _a !== void 0 ? _a : [] : []), false));
|
|
354508
354514
|
};
|
|
354509
354515
|
exports.getYarnInstall = getYarnInstall;
|
|
354510
354516
|
var DOCKER_COPY_FILES = "COPY --chown=node:node $APP_DIR .";
|
|
@@ -354984,7 +354990,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
354984
354990
|
|
|
354985
354991
|
exports.__esModule = true;
|
|
354986
354992
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
354987
|
-
exports.PIPELINE_IMAGE_TAG = "fix-
|
|
354993
|
+
exports.PIPELINE_IMAGE_TAG = "fix-meteor-2-e94ec0c0" || 0;
|
|
354988
354994
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
354989
354995
|
|
|
354990
354996
|
/***/ }),
|
|
@@ -356885,7 +356891,7 @@ var createGoogleCloudRunDeployJobs = function (context) {
|
|
|
356885
356891
|
};
|
|
356886
356892
|
});
|
|
356887
356893
|
var getServiceDeployScript = function (service, nameSuffix) {
|
|
356888
|
-
var _a, _b, _c, _d;
|
|
356894
|
+
var _a, _b, _c, _d, _e;
|
|
356889
356895
|
var customConfig = service !== true ? service : undefined;
|
|
356890
356896
|
var command = service !== true ? (_a = service === null || service === void 0 ? void 0 : service.command) !== null && _a !== void 0 ? _a : context.componentConfig.build.startCommand : undefined;
|
|
356891
356897
|
var argsString = (0, createArgsString_1.createArgsString)(__assign(__assign({
|
|
@@ -356898,6 +356904,7 @@ var createGoogleCloudRunDeployJobs = function (context) {
|
|
|
356898
356904
|
"cpu-throttling": (customConfig === null || customConfig === void 0 ? void 0 : customConfig.noCpuThrottling) !== true,
|
|
356899
356905
|
memory: customConfig === null || customConfig === void 0 ? void 0 : customConfig.memory,
|
|
356900
356906
|
"allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true,
|
|
356907
|
+
ingress: (_e = customConfig === null || customConfig === void 0 ? void 0 : customConfig.ingress) !== null && _e !== void 0 ? _e : "all",
|
|
356901
356908
|
"cpu-boost": true
|
|
356902
356909
|
}));
|
|
356903
356910
|
return "gcloud run deploy ".concat(serviceName).concat(nameSuffix !== null && nameSuffix !== void 0 ? nameSuffix : "", " ").concat(argsString);
|
|
@@ -359780,6 +359787,7 @@ var getPackageManagerInfo = function (config, componentName) {
|
|
|
359780
359787
|
version: version,
|
|
359781
359788
|
isClassic: isClassic,
|
|
359782
359789
|
currentWorkspace: currentWorkspace,
|
|
359790
|
+
currentWorkspaceDependencies: currentWorkspaceDependencies,
|
|
359783
359791
|
componentIsInWorkspace: componentIsInWorkspace,
|
|
359784
359792
|
pathsToCopyInDocker: pathsToCopyInDocker
|
|
359785
359793
|
}];
|
|
@@ -362790,7 +362798,7 @@ module.exports = underscoreNodeF._;
|
|
|
362790
362798
|
/***/ ((module) => {
|
|
362791
362799
|
|
|
362792
362800
|
"use strict";
|
|
362793
|
-
module.exports = JSON.parse('{"name":"@catladder/cli","author":"Marco Wettstein <maw@panter.ch>","homepage":"https://git.panter.ch/catladder/catladder/#readme","bugs":"https://git.panter.ch/catladder/catladder/issues","license":"MIT","scripts":{"lint":"eslint \\"src/**/*.ts\\"","lint:fix":"eslint \\"src/**/*.ts\\" --fix","test":"yarn run lint","build":"yarn build:compile && yarn build:bundle","build:bundle":"./scripts/bundle","build:compile":"yarn tsc","build:watch":"yarn tsc -w"},"bin":{"catenv":"./bin/catenv","catladder":"./bin/catladder"},"dependencies":{"ts-node":"^10.9.1"},"engines":{"node":">=12.0.0"},"devDependencies":{"@catladder/pipeline":"0.0.0","@kubernetes/client-node":"^0.16.2","@tsconfig/node14":"^1.0.1","@types/common-tags":"^1.8.0","@types/fs-extra":"^5.0.4","@types/js-yaml":"^4.0.5","@types/lodash":"^4.14.185","@types/memoizee":"^0.4.2","@types/node-fetch":"^2.1.4","@types/request":"^2.48.1","@types/tmp":"^0.2.3","@types/update-notifier":"^2.5.0","@types/vorpal":"^1.12.0","@types/websocket":"^0.0.40","@types/yargs":"^13.0.0","child-process-promise":"^2.2.1","clipboardy":"^2.0.0","command-exists-promise":"^2.0.2","common-tags":"^1.8.0","dayjs":"^1.10.4","eslint":"^8.7.0","fs-extra":"^7.0.1","gitlab":"^4.4.1","js-yaml":"^4.1.0","lodash":"^4.17.21","memoizee":"^0.4.14","node-fetch":"^2.3.0","open":"^8.4.0","prettier":"^2.5.1","tmp-promise":"^2.0.2","typescript":"^4.5.4","vorpal":"^1.12.0"}
|
|
362801
|
+
module.exports = JSON.parse('{"name":"@catladder/cli","description":"Panter cli tool for Kubernetes","author":"Marco Wettstein <maw@panter.ch>","homepage":"https://git.panter.ch/catladder/catladder/#readme","bugs":"https://git.panter.ch/catladder/catladder/issues","repository":{"type":"git","url":"git+https://git.panter.ch/catladder/catladder.git","directory":"cli"},"keywords":["GitLab","cloud","cli","gitlab-ci","ci/cd","pipeline","deployment","devops","automation","typescript"],"contributors":[{"name":"Marco Wettstein","email":"maw@panter.ch"},{"name":"Michael Leu","email":"leu@panter.ch"},{"name":"Luboš Matejčík","email":"lma@panter.ch"},{"name":"Kaspar Vollenweider","email":"vok@panter.ch"},{"name":"Silvan Adrian","email":"sia@panter.ch"},{"name":"Stefan Bakocs","email":"stb@panter.ch"},{"name":"Lukas Brezina","email":"brl@panter.ch"}],"license":"MIT","version":"0.0.0","scripts":{"lint":"eslint \\"src/**/*.ts\\"","lint:fix":"eslint \\"src/**/*.ts\\" --fix","test":"yarn run lint","build":"yarn build:compile && yarn build:bundle","build:bundle":"./scripts/bundle","build:compile":"yarn tsc","build:watch":"yarn tsc -w"},"bin":{"catenv":"./bin/catenv","catladder":"./bin/catladder"},"dependencies":{"ts-node":"^10.9.1"},"engines":{"node":">=12.0.0"},"devDependencies":{"@catladder/pipeline":"0.0.0","@kubernetes/client-node":"^0.16.2","@tsconfig/node14":"^1.0.1","@types/common-tags":"^1.8.0","@types/fs-extra":"^5.0.4","@types/js-yaml":"^4.0.5","@types/lodash":"^4.14.185","@types/memoizee":"^0.4.2","@types/node-fetch":"^2.1.4","@types/request":"^2.48.1","@types/tmp":"^0.2.3","@types/update-notifier":"^2.5.0","@types/vorpal":"^1.12.0","@types/websocket":"^0.0.40","@types/yargs":"^13.0.0","child-process-promise":"^2.2.1","clipboardy":"^2.0.0","command-exists-promise":"^2.0.2","common-tags":"^1.8.0","dayjs":"^1.10.4","eslint":"^8.7.0","fs-extra":"^7.0.1","gitlab":"^4.4.1","js-yaml":"^4.1.0","lodash":"^4.17.21","memoizee":"^0.4.14","node-fetch":"^2.3.0","open":"^8.4.0","prettier":"^2.5.1","tmp-promise":"^2.0.2","typescript":"^4.5.4","vorpal":"^1.12.0"}}');
|
|
362794
362802
|
|
|
362795
362803
|
/***/ }),
|
|
362796
362804
|
|