@catladder/pipeline 1.44.0 → 1.45.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.
@@ -1,15 +1,18 @@
1
1
  import type { DeployConfigCustom } from "./custom";
2
+ import type { DeployConfigDockerTag } from "./dockerTag";
2
3
  import type { DeployConfigCloudRun } from "./googleCloudRun";
3
4
  import type { DeployConfigKubernetes } from "./kubernetes";
4
5
 
5
6
  export * from "./custom";
6
7
  export * from "./googleCloudRun";
7
8
  export * from "./kubernetes";
9
+ export * from "./dockerTag";
8
10
 
9
11
  export type DeployConfig =
10
12
  | DeployConfigKubernetes
11
13
  | DeployConfigCustom
12
- | DeployConfigCloudRun;
14
+ | DeployConfigCloudRun
15
+ | DeployConfigDockerTag;
13
16
 
14
17
  export type DeployConfigType = DeployConfig["type"];
15
18
  export type DeployConfigGeneric<T extends DeployConfigType> = Extract<
@@ -23,6 +23,9 @@ export const contextIsStoppable = (context: Context) => {
23
23
  return true;
24
24
  }
25
25
 
26
+ if (isOfDeployType(deployConfig, "google-cloudrun")) {
27
+ return true;
28
+ }
26
29
  if (isOfDeployType(deployConfig, "custom") && deployConfig.stopScript) {
27
30
  return true;
28
31
  }