@catladder/pipeline 1.67.2 → 1.69.0
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/dist/build/index.js +8 -0
- package/dist/build/rails/build.d.ts +3 -0
- package/dist/build/rails/build.js +37 -0
- package/dist/build/rails/index.d.ts +3 -0
- package/dist/build/rails/index.js +49 -0
- package/dist/build/rails/test.d.ts +3 -0
- package/dist/build/rails/test.js +107 -0
- package/dist/build/types.d.ts +10 -2
- package/dist/bundles/catladder-gitlab/index.js +3 -3
- package/dist/constants.js +1 -1
- package/dist/context/getEnvironmentVariables.js +3 -2
- package/dist/deploy/cloudRun/deployJob.js +36 -6
- package/dist/deploy/types/googleCloudRun.d.ts +23 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/gitlab-types.d.ts +5 -1
- package/package.json +1 -1
- package/src/build/index.ts +5 -0
- package/src/build/rails/build.ts +29 -0
- package/src/build/rails/index.ts +8 -0
- package/src/build/rails/test.ts +82 -0
- package/src/build/types.ts +9 -1
- package/src/context/getEnvironmentVariables.ts +2 -1
- package/src/deploy/cloudRun/deployJob.ts +26 -3
- package/src/deploy/types/googleCloudRun.ts +23 -0
- package/src/types/gitlab-types.ts +5 -1
|
@@ -67,6 +67,22 @@ export type DeployConfigCloudRunService = {
|
|
|
67
67
|
* command / entrypoint, fallsback to buildConfig.startcommand
|
|
68
68
|
*/
|
|
69
69
|
command?: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* how many instances to keep around when there are no requests. defaults to 0.
|
|
73
|
+
* Set to 1 for workers
|
|
74
|
+
*/
|
|
75
|
+
minInstances?: number;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* maximum amount of instances. Defaults to 100
|
|
79
|
+
*/
|
|
80
|
+
maxInstances?: number;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* set to true for workers
|
|
84
|
+
*/
|
|
85
|
+
noCpuThrottling?: true;
|
|
70
86
|
};
|
|
71
87
|
|
|
72
88
|
export type DeployConfigCloudRunJobBase = {
|
|
@@ -123,6 +139,13 @@ export type DeployConfigCloudRun = {
|
|
|
123
139
|
*/
|
|
124
140
|
service?: boolean | DeployConfigCloudRunService;
|
|
125
141
|
|
|
142
|
+
/**
|
|
143
|
+
* deploy additional services with different entry pointss
|
|
144
|
+
*/
|
|
145
|
+
additionalServices?: {
|
|
146
|
+
[name: string]: DeployConfigCloudRunService;
|
|
147
|
+
};
|
|
148
|
+
|
|
126
149
|
jobs?: {
|
|
127
150
|
[name: string]: DeployConfigCloudRunJob | false | null;
|
|
128
151
|
};
|
|
@@ -4,10 +4,14 @@ export type Artifacts = {
|
|
|
4
4
|
when?: "always" | "on_success" | "on_failure";
|
|
5
5
|
};
|
|
6
6
|
export type GitlabJobCache = {
|
|
7
|
-
key:
|
|
7
|
+
key: GitlabJobCacheKey;
|
|
8
8
|
policy?: string;
|
|
9
9
|
paths: string[];
|
|
10
10
|
};
|
|
11
|
+
export type GitlabJobCacheKey = string | {
|
|
12
|
+
files: string[];
|
|
13
|
+
prefix?: string;
|
|
14
|
+
};
|
|
11
15
|
export type GitlabRule = {
|
|
12
16
|
if?: string;
|
|
13
17
|
when?: "always" | "on_success" | "manual" | "never"; // todo
|