@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.
@@ -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: string;
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