@catladder/pipeline 1.163.1 → 1.164.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 (80) hide show
  1. package/dist/bundles/catladder-gitlab/index.js +1 -1
  2. package/dist/constants.js +1 -1
  3. package/dist/deploy/cloudRun/createJobs/cloudRunServices.js +2 -0
  4. package/dist/deploy/types/googleCloudRun.d.ts +8 -0
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +0 -1958
  7. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +1 -1935
  8. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +1 -1959
  9. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +1 -2011
  10. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +1 -1959
  11. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +1 -1970
  12. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +1342 -0
  13. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +1 -1959
  14. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +1 -1959
  15. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +1 -2003
  16. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +1 -1675
  17. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +1 -1959
  18. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +1 -3935
  19. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +1 -3458
  20. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +1 -1967
  21. package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +1 -1787
  22. package/examples/__snapshots__/custom-build-job.test.ts.snap +1 -1487
  23. package/examples/__snapshots__/custom-deploy.test.ts.snap +1 -1721
  24. package/examples/__snapshots__/custom-envs.test.ts.snap +1 -1175
  25. package/examples/__snapshots__/custom-sbom-java.test.ts.snap +1 -1495
  26. package/examples/__snapshots__/git-submodule.test.ts.snap +1 -1962
  27. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +1 -2450
  28. package/examples/__snapshots__/kubernetes-with-cloud-sql-legacy.test.ts.snap +1 -2462
  29. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +1 -2470
  30. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +1 -4558
  31. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +1 -2574
  32. package/examples/__snapshots__/local-dot-env.test.ts.snap +1 -1959
  33. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +1 -2503
  34. package/examples/__snapshots__/multiline-var.test.ts.snap +1 -4488
  35. package/examples/__snapshots__/native-app.test.ts.snap +1 -3167
  36. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +1 -1959
  37. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +1 -1967
  38. package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +1479 -2003
  39. package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +1 -1995
  40. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +1 -2105
  41. package/examples/cloud-run-memory-limit.test.ts +1 -8
  42. package/examples/cloud-run-meteor-with-worker.test.ts +2 -9
  43. package/examples/cloud-run-no-cpu-throttling.test.ts +2 -9
  44. package/examples/cloud-run-no-service.test.ts +2 -9
  45. package/examples/cloud-run-non-public.test.ts +2 -9
  46. package/examples/cloud-run-post-stop-job.test.ts +2 -9
  47. package/examples/cloud-run-service-custom-vpc.test.ts +11 -0
  48. package/examples/cloud-run-service-custom-vpc.ts +30 -0
  49. package/examples/cloud-run-service-gen2.test.ts +2 -9
  50. package/examples/cloud-run-service-increase-timout.test.ts +2 -9
  51. package/examples/cloud-run-service-with-volumes.test.ts +2 -9
  52. package/examples/cloud-run-storybook.test.ts +2 -9
  53. package/examples/cloud-run-with-ngnix.test.ts +2 -9
  54. package/examples/cloud-run-with-sql-reuse-db.test.ts +2 -9
  55. package/examples/cloud-run-with-sql.test.ts +2 -9
  56. package/examples/cloud-run-with-worker.test.ts +2 -9
  57. package/examples/custom-build-job-with-tests.test.ts +2 -9
  58. package/examples/custom-build-job.test.ts +2 -9
  59. package/examples/custom-deploy.test.ts +2 -9
  60. package/examples/custom-envs.test.ts +2 -9
  61. package/examples/custom-sbom-java.test.ts +2 -9
  62. package/examples/git-submodule.test.ts +2 -9
  63. package/examples/kubernetes-application-customization.test.ts +2 -9
  64. package/examples/kubernetes-with-cloud-sql-legacy.test.ts +2 -9
  65. package/examples/kubernetes-with-cloud-sql.test.ts +2 -9
  66. package/examples/kubernetes-with-jobs.test.ts +2 -9
  67. package/examples/kubernetes-with-mongodb.test.ts +2 -9
  68. package/examples/local-dot-env.test.ts +2 -9
  69. package/examples/meteor-kubernetes.test.ts +2 -9
  70. package/examples/multiline-var.test.ts +2 -9
  71. package/examples/native-app.test.ts +2 -9
  72. package/examples/node-build-with-custom-image.test.ts +2 -9
  73. package/examples/node-build-with-docker-additions.test.ts +2 -9
  74. package/examples/rails-k8s-with-worker-dockerfile.test.ts +2 -2
  75. package/examples/rails-k8s-with-worker.test.ts +2 -9
  76. package/examples/wait-for-other-deploy.test.ts +2 -9
  77. package/package.json +1 -1
  78. package/scripts/generate-examples-test.ts +3 -5
  79. package/src/deploy/cloudRun/createJobs/cloudRunServices.ts +2 -0
  80. package/src/deploy/types/googleCloudRun.ts +9 -0
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-memory-limit";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-memory-limit";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-memory-limit", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
9
  it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-meteor-with-worker";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-meteor-with-worker";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-meteor-with-worker", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-meteor-with-worker local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-no-cpu-throttling";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-no-cpu-throttling";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-no-cpu-throttling", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-no-cpu-throttling local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-no-service";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-no-service";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-no-service", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-no-service local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-non-public";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-non-public";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-non-public", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-non-public local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-post-stop-job";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-post-stop-job";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-post-stop-job", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-post-stop-job local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -0,0 +1,11 @@
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
2
+ import config from "./cloud-run-service-custom-vpc";
3
+
4
+ /**
5
+ * This test is auto-generated.
6
+ * Modifications will be overwritten on every `yarn test` run!
7
+ */
8
+
9
+ it("matches snapshot for cloud-run-service-custom-vpc local pipeline YAML", async () => {
10
+ expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
11
+ });
@@ -0,0 +1,30 @@
1
+ import type { Config } from "../src";
2
+
3
+ const config: Config = {
4
+ appName: "test-app",
5
+ customerName: "pan",
6
+ components: {
7
+ api: {
8
+ dir: "api",
9
+ build: {
10
+ type: "node",
11
+ },
12
+ deploy: {
13
+ type: "google-cloudrun",
14
+ projectId: "google-project-id",
15
+ region: "europe-west6",
16
+
17
+ service: {
18
+ vpcConnector: "my-first-vpc-connector",
19
+ vpcEgress: "all-traffic",
20
+ },
21
+ },
22
+ },
23
+ },
24
+ };
25
+
26
+ export default config;
27
+
28
+ export const information = {
29
+ title: "Cloud Run: Service with custom vpc settings",
30
+ };
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-service-gen2";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-service-gen2";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-service-gen2", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-service-gen2 local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-service-increase-timout";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-service-increase-timout";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-service-increase-timout", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-service-increase-timout local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-service-with-volumes";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-service-with-volumes";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-service-with-volumes", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-service-with-volumes local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-storybook";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-storybook";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-storybook", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-storybook local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-with-ngnix";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-with-ngnix";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-with-ngnix", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-with-ngnix local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-with-sql-reuse-db";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-with-sql-reuse-db";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-with-sql-reuse-db", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-with-sql-reuse-db local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-with-sql";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-with-sql";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-with-sql", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-with-sql local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./cloud-run-with-worker";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./cloud-run-with-worker";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for cloud-run-with-worker", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for cloud-run-with-worker local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./custom-build-job-with-tests";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./custom-build-job-with-tests";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for custom-build-job-with-tests", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for custom-build-job-with-tests local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./custom-build-job";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./custom-build-job";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for custom-build-job", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for custom-build-job local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./custom-deploy";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./custom-deploy";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for custom-deploy", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for custom-deploy local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./custom-envs";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./custom-envs";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for custom-envs", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for custom-envs local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./custom-sbom-java";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./custom-sbom-java";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for custom-sbom-java", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for custom-sbom-java local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./git-submodule";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./git-submodule";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for git-submodule", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for git-submodule local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./kubernetes-application-customization";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./kubernetes-application-customization";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for kubernetes-application-customization", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for kubernetes-application-customization local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./kubernetes-with-cloud-sql-legacy";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./kubernetes-with-cloud-sql-legacy";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for kubernetes-with-cloud-sql-legacy", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for kubernetes-with-cloud-sql-legacy local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./kubernetes-with-cloud-sql";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./kubernetes-with-cloud-sql";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for kubernetes-with-cloud-sql", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for kubernetes-with-cloud-sql local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./kubernetes-with-jobs";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./kubernetes-with-jobs";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for kubernetes-with-jobs", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for kubernetes-with-jobs local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./kubernetes-with-mongodb";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./kubernetes-with-mongodb";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for kubernetes-with-mongodb", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for kubernetes-with-mongodb local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./local-dot-env";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./local-dot-env";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for local-dot-env", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for local-dot-env local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./meteor-kubernetes";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./meteor-kubernetes";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for meteor-kubernetes", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for meteor-kubernetes local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });
@@ -1,7 +1,4 @@
1
- import {
2
- createAllPipelines,
3
- createYamlLocalPipeline,
4
- } from "./__utils__/helpers";
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
5
2
  import config from "./multiline-var";
6
3
 
7
4
  /**
@@ -9,10 +6,6 @@ import config from "./multiline-var";
9
6
  * Modifications will be overwritten on every `yarn test` run!
10
7
  */
11
8
 
12
- it("matches snapshot for multiline-var", async () => {
13
- expect(await createAllPipelines(config)).toMatchSnapshot();
14
- });
15
-
16
- it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
9
+ it("matches snapshot for multiline-var local pipeline YAML", async () => {
17
10
  expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
18
11
  });