@catladder/pipeline 3.2.1 → 3.4.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.
Files changed (44) hide show
  1. package/dist/constants.js +1 -1
  2. package/examples/cloud-run-http2.ts +2 -2
  3. package/examples/cloud-run-memory-limit.ts +2 -2
  4. package/examples/cloud-run-meteor-with-worker.ts +2 -2
  5. package/examples/cloud-run-nextjs.ts +2 -2
  6. package/examples/cloud-run-no-cpu-throttling.ts +2 -2
  7. package/examples/cloud-run-no-service.ts +2 -2
  8. package/examples/cloud-run-non-public.ts +2 -2
  9. package/examples/cloud-run-post-stop-job.ts +2 -2
  10. package/examples/cloud-run-service-custom-vpc-connector.ts +2 -2
  11. package/examples/cloud-run-service-custom-vpc.ts +2 -2
  12. package/examples/cloud-run-service-gen2.ts +2 -2
  13. package/examples/cloud-run-service-increase-timout.ts +2 -2
  14. package/examples/cloud-run-service-with-volumes.ts +2 -2
  15. package/examples/cloud-run-storybook.ts +2 -2
  16. package/examples/cloud-run-with-ngnix.ts +2 -2
  17. package/examples/cloud-run-with-sql-legacy-jobs.ts +2 -2
  18. package/examples/cloud-run-with-sql-reuse-db.ts +2 -2
  19. package/examples/cloud-run-with-sql.ts +2 -2
  20. package/examples/cloud-run-with-worker.ts +2 -2
  21. package/examples/custom-build-job-with-tests.ts +2 -2
  22. package/examples/custom-build-job.ts +2 -2
  23. package/examples/custom-deploy.ts +2 -2
  24. package/examples/custom-envs.ts +2 -2
  25. package/examples/custom-sbom-java.ts +2 -2
  26. package/examples/custom-verify-job.ts +2 -2
  27. package/examples/git-submodule.ts +2 -2
  28. package/examples/kubernetes-application-customization.ts +2 -2
  29. package/examples/kubernetes-with-cloud-sql.ts +2 -2
  30. package/examples/kubernetes-with-jobs.ts +2 -2
  31. package/examples/kubernetes-with-mongodb.ts +2 -2
  32. package/examples/local-dot-env.ts +2 -2
  33. package/examples/meteor-kubernetes.ts +2 -2
  34. package/examples/multiline-var.ts +2 -2
  35. package/examples/native-app.ts +2 -2
  36. package/examples/node-build-with-custom-image.ts +2 -2
  37. package/examples/node-build-with-docker-additions.ts +2 -2
  38. package/examples/override-secrets.ts +2 -2
  39. package/examples/rails-k8s-with-worker.ts +2 -2
  40. package/examples/referencing-other-vars.ts +2 -2
  41. package/examples/wait-for-other-deploy.ts +1 -1
  42. package/examples/workspace-api-www-turbo-cache.ts +2 -2
  43. package/examples/workspace-api-www.ts +2 -2
  44. package/package.json +1 -1
package/dist/constants.js CHANGED
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
7
- exports.PIPELINE_IMAGE_TAG = "v3-2-1-e7d7bd05" || "latest";
7
+ exports.PIPELINE_IMAGE_TAG = "v3-4-0-6b2f530f" || "latest";
8
8
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || "git.panter.ch:5001/catladder/catladder";
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -20,7 +20,7 @@ const config: Config = {
20
20
  },
21
21
  },
22
22
  },
23
- };
23
+ } satisfies Config;
24
24
 
25
25
  export default config;
26
26
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -24,7 +24,7 @@ const config: Config = {
24
24
  },
25
25
  },
26
26
  },
27
- };
27
+ } satisfies Config;
28
28
 
29
29
  export default config;
30
30
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -28,7 +28,7 @@ const config: Config = {
28
28
  },
29
29
  },
30
30
  },
31
- };
31
+ } satisfies Config;
32
32
 
33
33
  export default config;
34
34
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -19,7 +19,7 @@ const config: Config = {
19
19
  },
20
20
  },
21
21
  },
22
- };
22
+ } satisfies Config;
23
23
 
24
24
  export default config;
25
25
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -26,7 +26,7 @@ const config: Config = {
26
26
  },
27
27
  },
28
28
  },
29
- };
29
+ } satisfies Config;
30
30
 
31
31
  export default config;
32
32
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -30,7 +30,7 @@ const config: Config = {
30
30
  },
31
31
  },
32
32
  },
33
- };
33
+ } satisfies Config;
34
34
 
35
35
  export default config;
36
36
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -19,7 +19,7 @@ const config: Config = {
19
19
  },
20
20
  },
21
21
  },
22
- };
22
+ } satisfies Config;
23
23
 
24
24
  export default config;
25
25
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -40,7 +40,7 @@ const config: Config = {
40
40
  },
41
41
  },
42
42
  },
43
- };
43
+ } satisfies Config;
44
44
 
45
45
  export default config;
46
46
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -28,7 +28,7 @@ const config: Config = {
28
28
  },
29
29
  },
30
30
  },
31
- };
31
+ } satisfies Config;
32
32
 
33
33
  export default config;
34
34
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -30,7 +30,7 @@ const config: Config = {
30
30
  },
31
31
  },
32
32
  },
33
- };
33
+ } satisfies Config;
34
34
 
35
35
  export default config;
36
36
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -20,7 +20,7 @@ const config: Config = {
20
20
  },
21
21
  },
22
22
  },
23
- };
23
+ } satisfies Config;
24
24
 
25
25
  export default config;
26
26
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -20,7 +20,7 @@ const config: Config = {
20
20
  },
21
21
  },
22
22
  },
23
- };
23
+ } satisfies Config;
24
24
 
25
25
  export default config;
26
26
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -55,7 +55,7 @@ const config: Config = {
55
55
  },
56
56
  },
57
57
  },
58
- };
58
+ } satisfies Config;
59
59
 
60
60
  export default config;
61
61
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -24,7 +24,7 @@ const config: Config = {
24
24
  },
25
25
  },
26
26
  },
27
- };
27
+ } satisfies Config;
28
28
 
29
29
  export default config;
30
30
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -20,7 +20,7 @@ const config: Config = {
20
20
  },
21
21
  },
22
22
  },
23
- };
23
+ } satisfies Config;
24
24
 
25
25
  export default config;
26
26
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -40,7 +40,7 @@ const config: Config = {
40
40
  },
41
41
  },
42
42
  },
43
- };
43
+ } satisfies Config;
44
44
 
45
45
  export default config;
46
46
 
@@ -5,7 +5,7 @@ const CLOUD_SQL: DeployConfigCloudRunCloudSql = {
5
5
  instanceConnectionName: "projectId:region:instancename",
6
6
  dbUser: "my-user",
7
7
  };
8
- const config: Config = {
8
+ const config = {
9
9
  appName: "test-app",
10
10
  customerName: "pan",
11
11
  components: {
@@ -46,7 +46,7 @@ const config: Config = {
46
46
  },
47
47
  },
48
48
  },
49
- };
49
+ } satisfies Config;
50
50
 
51
51
  export default config;
52
52
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -74,7 +74,7 @@ const config: Config = {
74
74
  },
75
75
  },
76
76
  },
77
- };
77
+ } satisfies Config;
78
78
 
79
79
  export default config;
80
80
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -28,7 +28,7 @@ const config: Config = {
28
28
  },
29
29
  },
30
30
  },
31
- };
31
+ } satisfies Config;
32
32
 
33
33
  export default config;
34
34
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -47,7 +47,7 @@ const config: Config = {
47
47
  },
48
48
  },
49
49
  },
50
- };
50
+ } satisfies Config;
51
51
 
52
52
  export default config;
53
53
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -20,7 +20,7 @@ const config: Config = {
20
20
  },
21
21
  },
22
22
  },
23
- };
23
+ } satisfies Config;
24
24
 
25
25
  export default config;
26
26
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -34,7 +34,7 @@ const config: Config = {
34
34
  },
35
35
  },
36
36
  },
37
- };
37
+ } satisfies Config;
38
38
 
39
39
  export default config;
40
40
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config<{ CustomEnvs: "asdf" | "bla" }> = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -23,7 +23,7 @@ const config: Config<{ CustomEnvs: "asdf" | "bla" }> = {
23
23
  },
24
24
  },
25
25
  },
26
- };
26
+ } satisfies Config<{ CustomEnvs: "asdf" | "bla" }>;
27
27
 
28
28
  export default config;
29
29
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -29,7 +29,7 @@ const config: Config = {
29
29
  },
30
30
  },
31
31
  },
32
- };
32
+ } satisfies Config;
33
33
 
34
34
  export default config;
35
35
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -56,7 +56,7 @@ const config: Config = {
56
56
  ],
57
57
  },
58
58
  },
59
- };
59
+ } satisfies Config;
60
60
 
61
61
  export default config;
62
62
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  runnerVariables: {
@@ -21,7 +21,7 @@ const config: Config = {
21
21
  },
22
22
  },
23
23
  },
24
- };
24
+ } satisfies Config;
25
25
 
26
26
  export default config;
27
27
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -51,7 +51,7 @@ const config: Config = {
51
51
  },
52
52
  },
53
53
  },
54
- };
54
+ } satisfies Config;
55
55
 
56
56
  export default config;
57
57
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -29,7 +29,7 @@ const config: Config = {
29
29
  },
30
30
  },
31
31
  },
32
- };
32
+ } satisfies Config;
33
33
 
34
34
  export default config;
35
35
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -62,7 +62,7 @@ const config: Config = {
62
62
  },
63
63
  },
64
64
  },
65
- };
65
+ } satisfies Config;
66
66
 
67
67
  export default config;
68
68
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -43,7 +43,7 @@ const config: Config = {
43
43
  },
44
44
  },
45
45
  },
46
- };
46
+ } satisfies Config;
47
47
 
48
48
  export default config;
49
49
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -18,7 +18,7 @@ const config: Config = {
18
18
  },
19
19
  },
20
20
  },
21
- };
21
+ } satisfies Config;
22
22
 
23
23
  export default config;
24
24
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  customerName: "pan",
5
5
  appName: "my-app",
6
6
  components: {
@@ -55,7 +55,7 @@ const config: Config = {
55
55
  },
56
56
  },
57
57
  },
58
- };
58
+ } satisfies Config;
59
59
 
60
60
  export default config;
61
61
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -98,7 +98,7 @@ value from app1:
98
98
  },
99
99
  },
100
100
  },
101
- };
101
+ } satisfies Config;
102
102
 
103
103
  export default config;
104
104
 
@@ -10,7 +10,7 @@ const APP_GEM_CACHE: CacheConfig[] = [
10
10
  },
11
11
  ];
12
12
 
13
- const config: Config = {
13
+ const config = {
14
14
  appName: "test-app",
15
15
  customerName: "pan",
16
16
  components: {
@@ -77,7 +77,7 @@ const config: Config = {
77
77
  },
78
78
  },
79
79
  },
80
- };
80
+ } satisfies Config;
81
81
 
82
82
  export default config;
83
83
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -17,7 +17,7 @@ const config: Config = {
17
17
  },
18
18
  },
19
19
  },
20
- };
20
+ } satisfies Config;
21
21
 
22
22
  export default config;
23
23
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -20,7 +20,7 @@ const config: Config = {
20
20
  },
21
21
  },
22
22
  },
23
- };
23
+ } satisfies Config;
24
24
 
25
25
  export default config;
26
26
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -35,7 +35,7 @@ const config: Config = {
35
35
  },
36
36
  },
37
37
  },
38
- };
38
+ } satisfies Config;
39
39
 
40
40
  export default config;
41
41
 
@@ -3,7 +3,7 @@ import type { Config } from "../src";
3
3
  // the image version should match your `.ruby-version`
4
4
  const RAILS_TEST_STAGE_IMAGE = "ruby:3.2.1";
5
5
 
6
- const config: Config = {
6
+ const config = {
7
7
  appName: "test-app",
8
8
  customerName: "pan",
9
9
  components: {
@@ -92,7 +92,7 @@ const config: Config = {
92
92
  },
93
93
  },
94
94
  },
95
- };
95
+ } satisfies Config;
96
96
 
97
97
  export default config;
98
98
 
@@ -1,6 +1,6 @@
1
1
  import type { Config } from "../src";
2
2
 
3
- const config: Config = {
3
+ const config = {
4
4
  appName: "test-app",
5
5
  customerName: "pan",
6
6
  components: {
@@ -74,7 +74,7 @@ const config: Config = {
74
74
  },
75
75
  },
76
76
  },
77
- };
77
+ } satisfies Config;
78
78
 
79
79
  export default config;
80
80
 
@@ -28,7 +28,7 @@ const config: Config<{ CustomEnvs: "asdf" | "bla" }> = {
28
28
  },
29
29
  },
30
30
  },
31
- };
31
+ } satisfies Config;
32
32
 
33
33
  export default config;
34
34
 
@@ -5,7 +5,7 @@ const DEPLOY_CONFIG: DeployConfig = {
5
5
  projectId: "google-project-id",
6
6
  region: "europe-west6",
7
7
  };
8
- const config: Config = {
8
+ const config = {
9
9
  appName: "test-app",
10
10
  customerName: "pan",
11
11
  builds: {
@@ -43,7 +43,7 @@ const config: Config = {
43
43
  },
44
44
  },
45
45
  },
46
- };
46
+ } satisfies Config;
47
47
 
48
48
  export default config;
49
49
 
@@ -5,7 +5,7 @@ const DEPLOY_CONFIG: DeployConfig = {
5
5
  projectId: "google-project-id",
6
6
  region: "europe-west6",
7
7
  };
8
- const config: Config = {
8
+ const config = {
9
9
  appName: "test-app",
10
10
  customerName: "pan",
11
11
  builds: {
@@ -37,7 +37,7 @@ const config: Config = {
37
37
  },
38
38
  },
39
39
  },
40
- };
40
+ } satisfies Config;
41
41
 
42
42
  export default config;
43
43
 
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  }
54
54
  ],
55
55
  "license": "MIT",
56
- "version": "3.2.1",
56
+ "version": "3.4.0",
57
57
  "scripts": {
58
58
  "build:tsc": "yarn tsc",
59
59
  "build": "yarn build:compile && yarn build:inline-variables",