@catladder/pipeline
Version:
Panter workflow for cloud CI/CD and DevOps
57 lines (53 loc) • 1.2 kB
text/typescript
import type { Config } from "../src";
const config = {
appName: "test-app",
customerName: "pan",
components: {
www: {
dir: "www",
build: {
type: "custom",
jobImage: "foo",
jobServices: [
{
name: "job-service-1",
command: ["--some-command=some-value"],
},
],
docker: {
type: "nginx",
},
lint: {
command: "lint",
jobImage: "lint-image",
artifactsReports: {
junit: ["dist/lint.xml"],
},
},
test: {
command: "test",
jobImage: "test-image",
artifactsReports: {
junit: ["dist/TEST-*.xml", "dist/junit-*.xml"],
},
},
audit: {
command: "audit",
jobImage: "audit-image",
artifactsReports: {
junit: ["dist/audit.xml"],
},
},
},
deploy: {
type: "google-cloudrun",
projectId: "asdf",
region: "asia-east1",
},
},
},
} satisfies Config;
export default config;
export const information = {
title: "Cloud Run: Job with Tests",
};