Skip to content

Commit

Permalink
fix default dagger pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Sep 1, 2023
1 parent 78cdd2b commit 61ab7e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/dagger/pipeline.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Client, { connect } from "@dagger.io/dagger";
import * as jobs from "./jobs.ts";

const { migrate, runnableJobs } = jobs;
const { init, validate, plan, runnableJobs } = jobs;

export default function pipeline(_src = ".", args: string[] = []) {
connect(async (client: Client) => {
Expand All @@ -10,7 +10,9 @@ export default function pipeline(_src = ".", args: string[] = []) {
return;
}

await migrate(client);
await init(client);
await validate(client);
await plan(client);
});
}

Expand Down

0 comments on commit 61ab7e5

Please sign in to comment.