@catladder/pipeline
Version:
Panter workflow for cloud CI/CD and DevOps
45 lines (41 loc) • 1.01 kB
text/typescript
import type { Config } from "../src";
const config = {
appName: "test-app",
customerName: "pan",
components: {
["my-app"]: {
dir: "app",
build: {
type: "node",
},
vars: {
secret: ["MY_SECRET"],
},
deploy: {
type: "google-cloudrun",
projectId: "my-project-id",
region: "europe-west6",
},
env: {
local: {
vars: {
// arrays are not merged
// you can merge them manually, by using a function:
secret: (original) => [...(original ?? []), "MY_LOCAL_SECRET"],
},
},
review: {
vars: {
// arrays are not merged
// you can merge them manually, by using a function:
secret: (original) => [...(original ?? []), "MY_REVIEW_SECRET"],
},
},
},
},
},
} satisfies Config;
export default config;
export const information = {
title: "Multiline Environment Variables",
};