@catladder/pipeline 1.159.1 → 1.161.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/bundles/catladder-gitlab/index.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/examples/.test-gen-ignore +1 -0
- package/examples/__snapshots__/{cloud-run-memory-limit.ts.snap → cloud-run-memory-limit.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-meteor-with-worker.ts.snap → cloud-run-meteor-with-worker.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-no-cpu-throttling.ts.snap → cloud-run-no-cpu-throttling.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-no-service.ts.snap → cloud-run-no-service.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-non-public.ts.snap → cloud-run-non-public.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-post-stop-job.ts.snap → cloud-run-post-stop-job.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-service-gen2.ts.snap → cloud-run-service-gen2.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-service-increase-timout.ts.snap → cloud-run-service-increase-timout.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-service-with-volumes.ts.snap → cloud-run-service-with-volumes.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-storybook.ts.snap → cloud-run-storybook.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-with-ngnix.ts.snap → cloud-run-with-ngnix.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-with-sql-reuse-db.ts.snap → cloud-run-with-sql-reuse-db.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-with-sql.ts.snap → cloud-run-with-sql.test.ts.snap} +1 -1
- package/examples/__snapshots__/{cloud-run-with-worker.ts.snap → cloud-run-with-worker.test.ts.snap} +1 -1
- package/examples/__snapshots__/{custom-build-job-with-tests.ts.snap → custom-build-job-with-tests.test.ts.snap} +1 -1
- package/examples/__snapshots__/{custom-build-job.ts.snap → custom-build-job.test.ts.snap} +1 -1
- package/examples/__snapshots__/{custom-deploy.ts.snap → custom-deploy.test.ts.snap} +1 -1
- package/examples/__snapshots__/{custom-envs.ts.snap → custom-envs.test.ts.snap} +1 -1
- package/examples/__snapshots__/{custom-sbom-java.ts.snap → custom-sbom-java.test.ts.snap} +1 -1
- package/examples/__snapshots__/{git-submodule.ts.snap → git-submodule.test.ts.snap} +1 -1
- package/examples/__snapshots__/{kubernetes-application-customization.ts.snap → kubernetes-application-customization.test.ts.snap} +1 -1
- package/examples/__snapshots__/{kubernetes-with-cloud-sql-legacy.ts.snap → kubernetes-with-cloud-sql-legacy.test.ts.snap} +1 -1
- package/examples/__snapshots__/{kubernetes-with-cloud-sql.ts.snap → kubernetes-with-cloud-sql.test.ts.snap} +1 -1
- package/examples/__snapshots__/{kubernetes-with-jobs.ts.snap → kubernetes-with-jobs.test.ts.snap} +1 -1
- package/examples/__snapshots__/{kubernetes-with-mongodb.ts.snap → kubernetes-with-mongodb.test.ts.snap} +1 -1
- package/examples/__snapshots__/{local-dot-env.ts.snap → local-dot-env.test.ts.snap} +1 -1
- package/examples/__snapshots__/{meteor-kubernetes.ts.snap → meteor-kubernetes.test.ts.snap} +1 -1
- package/examples/__snapshots__/{multiline-var.ts.snap → multiline-var.test.ts.snap} +1 -1
- package/examples/__snapshots__/{native-app.ts.snap → native-app.test.ts.snap} +1 -1
- package/examples/__snapshots__/{node-build-with-custom-image.ts.snap → node-build-with-custom-image.test.ts.snap} +1 -1
- package/examples/__snapshots__/{node-build-with-docker-additions.ts.snap → node-build-with-docker-additions.test.ts.snap} +1 -1
- package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +2011 -0
- package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +1995 -0
- package/examples/__snapshots__/{wait-for-other-deploy.ts.snap → wait-for-other-deploy.test.ts.snap} +1 -1
- package/examples/cloud-run-memory-limit.test.ts +10 -0
- package/examples/cloud-run-memory-limit.ts +6 -4
- package/examples/cloud-run-meteor-with-worker.test.ts +10 -0
- package/examples/cloud-run-meteor-with-worker.ts +6 -4
- package/examples/cloud-run-no-cpu-throttling.test.ts +10 -0
- package/examples/cloud-run-no-cpu-throttling.ts +6 -4
- package/examples/cloud-run-no-service.test.ts +10 -0
- package/examples/cloud-run-no-service.ts +5 -4
- package/examples/cloud-run-non-public.test.ts +10 -0
- package/examples/cloud-run-non-public.ts +5 -4
- package/examples/cloud-run-post-stop-job.test.ts +10 -0
- package/examples/cloud-run-post-stop-job.ts +6 -4
- package/examples/cloud-run-service-gen2.test.ts +10 -0
- package/examples/cloud-run-service-gen2.ts +6 -4
- package/examples/cloud-run-service-increase-timout.test.ts +10 -0
- package/examples/cloud-run-service-increase-timout.ts +6 -4
- package/examples/cloud-run-service-with-volumes.test.ts +10 -0
- package/examples/cloud-run-service-with-volumes.ts +6 -4
- package/examples/cloud-run-storybook.test.ts +10 -0
- package/examples/cloud-run-storybook.ts +5 -4
- package/examples/cloud-run-with-ngnix.test.ts +10 -0
- package/examples/cloud-run-with-ngnix.ts +5 -4
- package/examples/cloud-run-with-sql-reuse-db.test.ts +10 -0
- package/examples/cloud-run-with-sql-reuse-db.ts +5 -4
- package/examples/cloud-run-with-sql.test.ts +10 -0
- package/examples/cloud-run-with-sql.ts +6 -4
- package/examples/cloud-run-with-worker.test.ts +10 -0
- package/examples/cloud-run-with-worker.ts +6 -4
- package/examples/custom-build-job-with-tests.test.ts +10 -0
- package/examples/custom-build-job-with-tests.ts +5 -4
- package/examples/custom-build-job.test.ts +10 -0
- package/examples/custom-build-job.ts +5 -4
- package/examples/custom-deploy.test.ts +10 -0
- package/examples/custom-deploy.ts +5 -4
- package/examples/custom-envs.test.ts +10 -0
- package/examples/custom-envs.ts +5 -4
- package/examples/custom-sbom-java.test.ts +10 -0
- package/examples/custom-sbom-java.ts +5 -4
- package/examples/git-submodule.test.ts +10 -0
- package/examples/git-submodule.ts +5 -4
- package/examples/kubernetes-application-customization.test.ts +10 -0
- package/examples/kubernetes-application-customization.ts +6 -4
- package/examples/kubernetes-with-cloud-sql-legacy.test.ts +10 -0
- package/examples/kubernetes-with-cloud-sql-legacy.ts +6 -4
- package/examples/kubernetes-with-cloud-sql.test.ts +10 -0
- package/examples/kubernetes-with-cloud-sql.ts +6 -4
- package/examples/kubernetes-with-jobs.test.ts +10 -0
- package/examples/kubernetes-with-jobs.ts +6 -4
- package/examples/kubernetes-with-mongodb.test.ts +10 -0
- package/examples/kubernetes-with-mongodb.ts +6 -4
- package/examples/local-dot-env.test.ts +10 -0
- package/examples/local-dot-env.ts +6 -4
- package/examples/meteor-kubernetes.test.ts +10 -0
- package/examples/meteor-kubernetes.ts +3 -4
- package/examples/multiline-var.test.ts +10 -0
- package/examples/multiline-var.ts +5 -4
- package/examples/native-app.test.ts +10 -0
- package/examples/native-app.ts +6 -4
- package/examples/node-build-with-custom-image.test.ts +10 -0
- package/examples/node-build-with-custom-image.ts +5 -4
- package/examples/node-build-with-docker-additions.test.ts +10 -0
- package/examples/node-build-with-docker-additions.ts +5 -4
- package/examples/rails-k8s-with-worker-dockerfile.test.ts +9 -0
- package/examples/rails-k8s-with-worker.test.ts +10 -0
- package/examples/rails-k8s-with-worker.ts +4 -10
- package/examples/wait-for-other-deploy.test.ts +10 -0
- package/examples/wait-for-other-deploy.ts +5 -4
- package/package.json +5 -2
- package/scripts/generate-examples-test.ts +91 -0
- package/scripts/tsconfig.json +7 -0
- package/examples/__snapshots__/rails-k8s-with-worker.ts.snap +0 -4005
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-memory-limit";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-memory-limit", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -26,6 +26,8 @@ const config: Config = {
|
|
|
26
26
|
},
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
export default config;
|
|
30
|
+
|
|
31
|
+
export const information = {
|
|
32
|
+
title: "Cloud Run: Memory Limit",
|
|
33
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-meteor-with-worker";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-meteor-with-worker", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -30,6 +30,8 @@ const config: Config = {
|
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
export default config;
|
|
34
|
+
|
|
35
|
+
export const information = {
|
|
36
|
+
title: "Cloud Run: Meteor with Worker",
|
|
37
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-no-cpu-throttling";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-no-cpu-throttling", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -28,6 +28,8 @@ const config: Config = {
|
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
export default config;
|
|
32
|
+
|
|
33
|
+
export const information = {
|
|
34
|
+
title: "Cloud Run: No CPU Throttling",
|
|
35
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-no-service";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-no-service", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -27,6 +26,8 @@ const config: Config = {
|
|
|
27
26
|
},
|
|
28
27
|
};
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
export default config;
|
|
30
|
+
|
|
31
|
+
export const information = {
|
|
32
|
+
title: "Cloud Run: No Service",
|
|
33
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-non-public";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-non-public", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -22,6 +21,8 @@ const config: Config = {
|
|
|
22
21
|
},
|
|
23
22
|
};
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
export default config;
|
|
25
|
+
|
|
26
|
+
export const information = {
|
|
27
|
+
title: "Cloud Run: Non Public",
|
|
28
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-post-stop-job";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-post-stop-job", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -35,6 +35,8 @@ const config: Config = {
|
|
|
35
35
|
},
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
export default config;
|
|
39
|
+
|
|
40
|
+
export const information = {
|
|
41
|
+
title: "Cloud Run: Post Stop Job",
|
|
42
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-service-gen2";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-service-gen2", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -22,6 +22,8 @@ const config: Config = {
|
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
export default config;
|
|
26
|
+
|
|
27
|
+
export const information = {
|
|
28
|
+
title: "Cloud Run: Service Gen2",
|
|
29
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-service-increase-timout";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-service-increase-timout", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -22,6 +22,8 @@ const config: Config = {
|
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
export default config;
|
|
26
|
+
|
|
27
|
+
export const information = {
|
|
28
|
+
title: "Cloud Run: Service Increase Timout",
|
|
29
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-service-with-volumes";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-service-with-volumes", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -49,6 +49,8 @@ const config: Config = {
|
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
export default config;
|
|
53
|
+
|
|
54
|
+
export const information = {
|
|
55
|
+
title: "Cloud Run: Service with Volumes",
|
|
56
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-storybook";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-storybook", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -19,6 +18,8 @@ const config: Config = {
|
|
|
19
18
|
},
|
|
20
19
|
};
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
export default config;
|
|
22
|
+
|
|
23
|
+
export const information = {
|
|
24
|
+
title: "Cloud Run: Storybook",
|
|
25
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-with-ngnix";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-with-ngnix", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -19,6 +18,8 @@ const config: Config = {
|
|
|
19
18
|
},
|
|
20
19
|
};
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
export default config;
|
|
22
|
+
|
|
23
|
+
export const information = {
|
|
24
|
+
title: "Cloud Run: With Nginx",
|
|
25
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-with-sql-reuse-db";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-with-sql-reuse-db", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config, DeployConfigCloudRunCloudSql } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const CLOUD_SQL: DeployConfigCloudRunCloudSql = {
|
|
5
4
|
type: "unmanaged",
|
|
@@ -49,6 +48,8 @@ const config: Config = {
|
|
|
49
48
|
},
|
|
50
49
|
};
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
export default config;
|
|
52
|
+
|
|
53
|
+
export const information = {
|
|
54
|
+
title: "Cloud Run: With SQL Reuse DB",
|
|
55
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-with-sql";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-with-sql", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -64,6 +64,8 @@ const config: Config = {
|
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
export default config;
|
|
68
|
+
|
|
69
|
+
export const information = {
|
|
70
|
+
title: "Cloud Run: With SQL",
|
|
71
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-with-worker";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for cloud-run-with-worker", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -30,6 +30,8 @@ const config: Config = {
|
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
export default config;
|
|
34
|
+
|
|
35
|
+
export const information = {
|
|
36
|
+
title: "Cloud Run: With Worker",
|
|
37
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./custom-build-job-with-tests";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for custom-build-job-with-tests", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -50,6 +49,8 @@ const config: Config = {
|
|
|
50
49
|
},
|
|
51
50
|
};
|
|
52
51
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
export default config;
|
|
53
|
+
|
|
54
|
+
export const information = {
|
|
55
|
+
title: "Cloud Run: Job with Tests",
|
|
56
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./custom-build-job";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for custom-build-job", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -23,6 +22,8 @@ const config: Config = {
|
|
|
23
22
|
},
|
|
24
23
|
};
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
export default config;
|
|
26
|
+
|
|
27
|
+
export const information = {
|
|
28
|
+
title: "Cloud Run: Job",
|
|
29
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./custom-deploy";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for custom-deploy", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -30,6 +29,8 @@ const config: Config = {
|
|
|
30
29
|
},
|
|
31
30
|
};
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
export default config;
|
|
33
|
+
|
|
34
|
+
export const information = {
|
|
35
|
+
title: "Custom: Deploy",
|
|
36
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./custom-envs";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for custom-envs", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
package/examples/custom-envs.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config<{ CustomEnvs: "asdf" | "bla" }> = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -26,6 +25,8 @@ const config: Config<{ CustomEnvs: "asdf" | "bla" }> = {
|
|
|
26
25
|
},
|
|
27
26
|
};
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
export default config;
|
|
29
|
+
|
|
30
|
+
export const information = {
|
|
31
|
+
title: "Custom: Envs",
|
|
32
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./custom-sbom-java";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for custom-sbom-java", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -32,6 +31,8 @@ const config: Config = {
|
|
|
32
31
|
},
|
|
33
32
|
};
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
export default config;
|
|
35
|
+
|
|
36
|
+
export const information = {
|
|
37
|
+
title: "Custom: Sbom Java",
|
|
38
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./git-submodule";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for git-submodule", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
import { createAllPipelines } from "./__utils__/helpers";
|
|
3
2
|
|
|
4
3
|
const config: Config = {
|
|
5
4
|
appName: "test-app",
|
|
@@ -24,6 +23,8 @@ const config: Config = {
|
|
|
24
23
|
},
|
|
25
24
|
};
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
export default config;
|
|
27
|
+
|
|
28
|
+
export const information = {
|
|
29
|
+
title: "Git Submodule",
|
|
30
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./kubernetes-application-customization";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
it("matches snapshot for kubernetes-application-customization", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const config: Config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
@@ -52,6 +52,8 @@ const config: Config = {
|
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
export default config;
|
|
56
|
+
|
|
57
|
+
export const information = {
|
|
58
|
+
title: "K8s: Application Customization",
|
|
59
|
+
};
|