UNPKG

@catladder/pipeline

Version:

Panter workflow for cloud CI/CD and DevOps

48 lines (44 loc) 1.07 kB
import type { Config } from "../src"; const config = { appName: "test-app", customerName: "pan", components: { app: { dir: "app", build: { type: "node", }, deploy: { type: "google-cloudrun", projectId: "google-project-id", region: "europe-west6", execute: { "pre-deploy-script": { type: "script", script: ["echo 'deploying'"], when: "preDeploy", }, "post-deploy-script": { type: "script", script: ["echo 'deployed'"], when: "postDeploy", }, "pre-stop-script": { type: "script", script: ["echo 'stopping'"], when: "preStop", }, "post-stop-script": { type: "script", script: ["echo 'stopped'"], when: "postStop", }, }, }, }, }, } satisfies Config; export default config; export const information = { title: "Cloud Run: Execute script on deploy", };