@catladder/pipeline
Version:
Panter workflow for cloud CI/CD and DevOps
24 lines • 609 B
TypeScript
type DeployConfigBaseExecuteScript = {
type: "script";
script: string | string[];
};
/**
* currently only supported for cloud run deployments
*/
export type DeployConfigBaseExecuteOnDeploy = DeployConfigBaseExecuteScript & ({
/**
* run the job before or after the deploy
*/
when: "preDeploy" | "postDeploy";
/**
* whether to wait for completion of the job
*/
waitForCompletion?: boolean;
} | {
/**
* run the job before or after the environment is stopped
*/
when: "preStop" | "postStop";
});
export type DeployConfigBaseExecute = DeployConfigBaseExecuteOnDeploy;
export {};