@catladder/pipeline 2.10.1 → 2.10.3

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.
@@ -27,7 +27,7 @@ const config: Config = {
27
27
  env: {
28
28
  review: {
29
29
  deploy: {
30
- script: ['ROOT_URL="$(my deploy command)"'],
30
+ script: ['ROOT_URL="$(my deploy command)"'], // be careful as arrays are merged currently
31
31
  stopScript: ["echo 'would stop'"],
32
32
  },
33
33
  },
@@ -0,0 +1,11 @@
1
+ import { createYamlLocalPipeline } from "./__utils__/helpers";
2
+ import config from "./override-secrets";
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 override-secrets local pipeline YAML", async () => {
10
+ expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
11
+ });
@@ -0,0 +1,40 @@
1
+ import type { Config } from "../src";
2
+
3
+ const config: Config = {
4
+ appName: "test-app",
5
+ customerName: "pan",
6
+ components: {
7
+ ["my-app"]: {
8
+ dir: "app",
9
+ build: {
10
+ type: "node",
11
+ },
12
+ vars: {
13
+ secret: ["MY_SECRET"],
14
+ },
15
+ deploy: {
16
+ type: "google-cloudrun",
17
+ projectId: "my-project-id",
18
+ region: "europe-west6",
19
+ },
20
+ env: {
21
+ local: {
22
+ vars: {
23
+ secret: ["MY_LOCAL_SECRET"],
24
+ },
25
+ },
26
+ review: {
27
+ vars: {
28
+ secret: ["MY_REVIEW_SECRET"],
29
+ },
30
+ },
31
+ },
32
+ },
33
+ },
34
+ };
35
+
36
+ export default config;
37
+
38
+ export const information = {
39
+ title: "Multiline Environment Variables",
40
+ };
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  }
54
54
  ],
55
55
  "license": "MIT",
56
- "version": "2.10.1",
56
+ "version": "2.10.3",
57
57
  "scripts": {
58
58
  "build:tsc": "yarn tsc",
59
59
  "build": "yarn build:compile && yarn build:inline-variables",