@catladder/pipeline 1.162.0 → 1.163.1
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/README.md +15 -1
- package/dist/build/types.d.ts +6 -0
- package/dist/bundles/catladder-gitlab/index.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/pipeline/generatePipelineFiles.d.ts +38 -0
- package/dist/pipeline/generatePipelineFiles.js +44 -23
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +1341 -0
- package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +1325 -0
- package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +1341 -0
- package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +1393 -0
- package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +1341 -0
- package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +1352 -0
- package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +1341 -0
- package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +1341 -0
- package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +1385 -0
- package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +1233 -4
- package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +1349 -4
- package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +2825 -0
- package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +2572 -0
- package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +1349 -0
- package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +1196 -0
- package/examples/__snapshots__/custom-build-job.test.ts.snap +1085 -0
- package/examples/__snapshots__/custom-deploy.test.ts.snap +1103 -0
- package/examples/__snapshots__/custom-envs.test.ts.snap +709 -0
- package/examples/__snapshots__/custom-sbom-java.test.ts.snap +1093 -0
- package/examples/__snapshots__/git-submodule.test.ts.snap +1342 -0
- package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +1778 -0
- package/examples/__snapshots__/kubernetes-with-cloud-sql-legacy.test.ts.snap +1790 -0
- package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +1798 -0
- package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +3352 -0
- package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +1902 -0
- package/examples/__snapshots__/local-dot-env.test.ts.snap +1341 -0
- package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +1839 -0
- package/examples/__snapshots__/multiline-var.test.ts.snap +3376 -0
- package/examples/__snapshots__/native-app.test.ts.snap +2149 -0
- package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +1341 -0
- package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +1349 -0
- package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +1470 -0
- package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +1275 -0
- package/examples/__utils__/helpers.ts +14 -1
- package/examples/cloud-run-memory-limit.test.ts +9 -1
- package/examples/cloud-run-meteor-with-worker.test.ts +9 -1
- package/examples/cloud-run-no-cpu-throttling.test.ts +9 -1
- package/examples/cloud-run-no-service.test.ts +9 -1
- package/examples/cloud-run-non-public.test.ts +9 -1
- package/examples/cloud-run-post-stop-job.test.ts +9 -1
- package/examples/cloud-run-service-gen2.test.ts +9 -1
- package/examples/cloud-run-service-increase-timout.test.ts +9 -1
- package/examples/cloud-run-service-with-volumes.test.ts +9 -1
- package/examples/cloud-run-storybook.test.ts +9 -1
- package/examples/cloud-run-storybook.ts +9 -1
- package/examples/cloud-run-with-ngnix.test.ts +9 -1
- package/examples/cloud-run-with-ngnix.ts +5 -1
- package/examples/cloud-run-with-sql-reuse-db.test.ts +9 -1
- package/examples/cloud-run-with-sql.test.ts +9 -1
- package/examples/cloud-run-with-worker.test.ts +9 -1
- package/examples/custom-build-job-with-tests.test.ts +9 -1
- package/examples/custom-build-job.test.ts +9 -1
- package/examples/custom-deploy.test.ts +9 -1
- package/examples/custom-envs.test.ts +9 -1
- package/examples/custom-sbom-java.test.ts +9 -1
- package/examples/git-submodule.test.ts +9 -1
- package/examples/kubernetes-application-customization.test.ts +9 -1
- package/examples/kubernetes-with-cloud-sql-legacy.test.ts +9 -1
- package/examples/kubernetes-with-cloud-sql.test.ts +9 -1
- package/examples/kubernetes-with-jobs.test.ts +9 -1
- package/examples/kubernetes-with-mongodb.test.ts +9 -1
- package/examples/local-dot-env.test.ts +9 -1
- package/examples/meteor-kubernetes.test.ts +9 -1
- package/examples/multiline-var.test.ts +9 -1
- package/examples/native-app.test.ts +9 -1
- package/examples/node-build-with-custom-image.test.ts +9 -1
- package/examples/node-build-with-docker-additions.test.ts +9 -1
- package/examples/rails-k8s-with-worker.test.ts +9 -1
- package/examples/wait-for-other-deploy.test.ts +9 -1
- package/package.json +4 -3
- package/scripts/generate-examples-test.ts +7 -5
- package/src/build/types.ts +6 -0
- package/src/pipeline/generatePipelineFiles.ts +61 -36
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { stringify } from "yaml";
|
|
2
|
+
|
|
1
3
|
import type { Config } from "../../src";
|
|
2
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
createChildPipeline,
|
|
6
|
+
generateLocalPipelineContent,
|
|
7
|
+
yamlStringifyOptions,
|
|
8
|
+
} from "../../src";
|
|
3
9
|
|
|
4
10
|
const ALL_TRIGGERS = ["mainBranch", "taggedRelease", "mr"] as const;
|
|
5
11
|
|
|
@@ -12,3 +18,10 @@ export const createAllPipelines = async (config: Config) =>
|
|
|
12
18
|
]),
|
|
13
19
|
),
|
|
14
20
|
);
|
|
21
|
+
|
|
22
|
+
export const createYamlLocalPipeline = async (
|
|
23
|
+
config: Config,
|
|
24
|
+
): Promise<string> => {
|
|
25
|
+
const pipelineContent = await generateLocalPipelineContent(config, "gitlab");
|
|
26
|
+
return stringify(pipelineContent, yamlStringifyOptions);
|
|
27
|
+
};
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-memory-limit";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-memory-limit", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-meteor-with-worker";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-meteor-with-worker", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-no-cpu-throttling";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-no-cpu-throttling", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-no-service";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-no-service", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-non-public";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-non-public", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-post-stop-job";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-post-stop-job", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-service-gen2";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-service-gen2", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-service-increase-timout";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-service-increase-timout", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-service-with-volumes";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-service-with-volumes", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-storybook";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-storybook", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -7,7 +7,15 @@ const config: Config = {
|
|
|
7
7
|
api: {
|
|
8
8
|
dir: "app",
|
|
9
9
|
build: {
|
|
10
|
-
type: "
|
|
10
|
+
type: "node",
|
|
11
|
+
buildCommand: "yarn build-storybook --quiet -o ./dist",
|
|
12
|
+
startCommand: "",
|
|
13
|
+
docker: {
|
|
14
|
+
type: "nginx",
|
|
15
|
+
},
|
|
16
|
+
test: false,
|
|
17
|
+
lint: false,
|
|
18
|
+
audit: false,
|
|
11
19
|
},
|
|
12
20
|
deploy: {
|
|
13
21
|
type: "google-cloudrun",
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-with-ngnix";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-with-ngnix", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-with-sql-reuse-db";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-with-sql-reuse-db", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-with-sql";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-with-sql", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./cloud-run-with-worker";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for cloud-run-with-worker", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./custom-build-job-with-tests";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for custom-build-job-with-tests", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./custom-build-job";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for custom-build-job", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./custom-deploy";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for custom-deploy", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./custom-envs";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for custom-envs", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./custom-sbom-java";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for custom-sbom-java", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./git-submodule";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for git-submodule", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./kubernetes-application-customization";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for kubernetes-application-customization", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./kubernetes-with-cloud-sql-legacy";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for kubernetes-with-cloud-sql-legacy", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./kubernetes-with-cloud-sql";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for kubernetes-with-cloud-sql", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./kubernetes-with-jobs";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for kubernetes-with-jobs", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./kubernetes-with-mongodb";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for kubernetes-with-mongodb", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./local-dot-env";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for local-dot-env", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./meteor-kubernetes";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for meteor-kubernetes", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./multiline-var";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for multiline-var", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
createAllPipelines,
|
|
3
|
+
createYamlLocalPipeline,
|
|
4
|
+
} from "./__utils__/helpers";
|
|
2
5
|
import config from "./native-app";
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* This test is auto-generated.
|
|
6
9
|
* Modifications will be overwritten on every `yarn test` run!
|
|
7
10
|
*/
|
|
11
|
+
|
|
8
12
|
it("matches snapshot for native-app", async () => {
|
|
9
13
|
expect(await createAllPipelines(config)).toMatchSnapshot();
|
|
10
14
|
});
|
|
15
|
+
|
|
16
|
+
it("matches snapshot for cloud-run-memory-limit local pipeline YAML", async () => {
|
|
17
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
18
|
+
});
|