Skip to content

Temporary database made easy

Since all docker tasks run in the same machine (job), they can network with each other.

Use task.docker to spin up docker images to use in our pipeline

ts
import { job, task } from "@pandaci/core";

job("Integration tests", () => {
  task.docker("db", { image: "postgres", autoStop: false }, () => {});

  task.docker("integration test", { image: "node" }, () => {
    // ...
  });
});