@catladder/pipeline 1.159.1 → 1.160.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 +1 -1
- package/dist/constants.js +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 +2 -4
- package/examples/cloud-run-meteor-with-worker.test.ts +10 -0
- package/examples/cloud-run-meteor-with-worker.ts +2 -4
- package/examples/cloud-run-no-cpu-throttling.test.ts +10 -0
- package/examples/cloud-run-no-cpu-throttling.ts +2 -4
- package/examples/cloud-run-no-service.test.ts +10 -0
- package/examples/cloud-run-no-service.ts +1 -4
- package/examples/cloud-run-non-public.test.ts +10 -0
- package/examples/cloud-run-non-public.ts +1 -4
- package/examples/cloud-run-post-stop-job.test.ts +10 -0
- package/examples/cloud-run-post-stop-job.ts +2 -4
- package/examples/cloud-run-service-gen2.test.ts +10 -0
- package/examples/cloud-run-service-gen2.ts +2 -4
- package/examples/cloud-run-service-increase-timout.test.ts +10 -0
- package/examples/cloud-run-service-increase-timout.ts +2 -4
- package/examples/cloud-run-service-with-volumes.test.ts +10 -0
- package/examples/cloud-run-service-with-volumes.ts +2 -4
- package/examples/cloud-run-storybook.test.ts +10 -0
- package/examples/cloud-run-storybook.ts +1 -4
- package/examples/cloud-run-with-ngnix.test.ts +10 -0
- package/examples/cloud-run-with-ngnix.ts +1 -4
- package/examples/cloud-run-with-sql-reuse-db.test.ts +10 -0
- package/examples/cloud-run-with-sql-reuse-db.ts +1 -4
- package/examples/cloud-run-with-sql.test.ts +10 -0
- package/examples/cloud-run-with-sql.ts +2 -4
- package/examples/cloud-run-with-worker.test.ts +10 -0
- package/examples/cloud-run-with-worker.ts +2 -4
- package/examples/custom-build-job-with-tests.test.ts +10 -0
- package/examples/custom-build-job-with-tests.ts +1 -4
- package/examples/custom-build-job.test.ts +10 -0
- package/examples/custom-build-job.ts +1 -4
- package/examples/custom-deploy.test.ts +10 -0
- package/examples/custom-deploy.ts +1 -4
- package/examples/custom-envs.test.ts +10 -0
- package/examples/custom-envs.ts +1 -4
- package/examples/custom-sbom-java.test.ts +10 -0
- package/examples/custom-sbom-java.ts +1 -4
- package/examples/git-submodule.test.ts +10 -0
- package/examples/git-submodule.ts +1 -4
- package/examples/kubernetes-application-customization.test.ts +10 -0
- package/examples/kubernetes-application-customization.ts +2 -4
- package/examples/kubernetes-with-cloud-sql-legacy.test.ts +10 -0
- package/examples/kubernetes-with-cloud-sql-legacy.ts +2 -4
- package/examples/kubernetes-with-cloud-sql.test.ts +10 -0
- package/examples/kubernetes-with-cloud-sql.ts +2 -4
- package/examples/kubernetes-with-jobs.test.ts +10 -0
- package/examples/kubernetes-with-jobs.ts +2 -4
- package/examples/kubernetes-with-mongodb.test.ts +10 -0
- package/examples/kubernetes-with-mongodb.ts +2 -4
- package/examples/local-dot-env.test.ts +10 -0
- package/examples/local-dot-env.ts +2 -4
- package/examples/meteor-kubernetes.test.ts +10 -0
- package/examples/meteor-kubernetes.ts +0 -5
- package/examples/multiline-var.test.ts +10 -0
- package/examples/multiline-var.ts +1 -4
- package/examples/native-app.test.ts +10 -0
- package/examples/native-app.ts +2 -4
- package/examples/node-build-with-custom-image.test.ts +10 -0
- package/examples/node-build-with-custom-image.ts +1 -4
- package/examples/node-build-with-docker-additions.test.ts +10 -0
- package/examples/node-build-with-docker-additions.ts +1 -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 +1 -11
- package/examples/wait-for-other-deploy.test.ts +10 -0
- package/examples/wait-for-other-deploy.ts +1 -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,4 @@ const config: Config = {
|
|
|
26
26
|
},
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
31
|
-
});
|
|
29
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
35
|
-
});
|
|
33
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
33
|
-
});
|
|
31
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
27
26
|
},
|
|
28
27
|
};
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
32
|
-
});
|
|
29
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
22
21
|
},
|
|
23
22
|
};
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
27
|
-
});
|
|
24
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
35
35
|
},
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
40
|
-
});
|
|
38
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
27
|
-
});
|
|
25
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
27
|
-
});
|
|
25
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
54
|
-
});
|
|
52
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
19
18
|
},
|
|
20
19
|
};
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
24
|
-
});
|
|
21
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
19
18
|
},
|
|
20
19
|
};
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
24
|
-
});
|
|
21
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
49
48
|
},
|
|
50
49
|
};
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
54
|
-
});
|
|
51
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
69
|
-
});
|
|
67
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
35
|
-
});
|
|
33
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
50
49
|
},
|
|
51
50
|
};
|
|
52
51
|
|
|
53
|
-
|
|
54
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
55
|
-
});
|
|
52
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
23
22
|
},
|
|
24
23
|
};
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
28
|
-
});
|
|
25
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
30
29
|
},
|
|
31
30
|
};
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
35
|
-
});
|
|
32
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config<{ CustomEnvs: "asdf" | "bla" }> = {
|
|
|
26
25
|
},
|
|
27
26
|
};
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
31
|
-
});
|
|
28
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
32
31
|
},
|
|
33
32
|
};
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
37
|
-
});
|
|
34
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
24
23
|
},
|
|
25
24
|
};
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
29
|
-
});
|
|
26
|
+
export default config;
|
|
@@ -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,4 @@ const config: Config = {
|
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
57
|
-
});
|
|
55
|
+
export default config;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./kubernetes-with-cloud-sql-legacy";
|
|
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-with-cloud-sql-legacy", 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,4 @@ const config: Config = {
|
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
33
|
-
});
|
|
31
|
+
export default config;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./kubernetes-with-cloud-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 kubernetes-with-cloud-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",
|
|
@@ -30,6 +30,4 @@ const config: Config = {
|
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
35
|
-
});
|
|
33
|
+
export default config;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createAllPipelines } from "./__utils__/helpers";
|
|
2
|
+
import config from "./kubernetes-with-jobs";
|
|
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-with-jobs", async () => {
|
|
9
|
+
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
|
+
});
|