Skip to main content
Home

Built and signed on GitHub Actions

🧩 A ready-to-use CI/CD Pipeline for managing your database migrations with Atlas

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
76%
Published
2 years ago (0.6.0)

Atlas Pipeline

fluentci pipeline deno compatibility dagger-min-version ci

A ready-to-use CI/CD Pipeline for managing your database migrations with Atlas

🚀 Usage

Run the following command in your project:

fluentci run atlas_pipeline

Or, if you want to use it as a template:

fluentci init -t atlas

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

🧩 Dagger Module

Use as a Dagger module:

dagger install github.com/fluent-ci-templates/atlas-pipeline@main

Call a function from the module:

dagger call migrate --src . --database-url env:DATABASE_URL

🛠️ Environment variables

Variable Description Required
DATABASE_URL The database connection string Yes
DATABASE_DEV_URL The database connection string used for calculating migrations differences No

✨ Jobs

Job Description
migrate Apply database migrations
dry_run Dry run migrations
dryRun(
  src: string | Directory,
  databaseUrl: string | Secret,
  databaseDevUrl?: string
): Promise<string>

migrate(
  src: string | Directory,
  databaseUrl: string | Secret,
  databaseDevUrl?: string
): Promise<string> 

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { migrate } from "jsr:@fluentci/atlas";

await migrate();
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fluentci/atlas

Import symbol

import * as atlas from "@fluentci/atlas";
or

Import directly with a jsr specifier

import * as atlas from "jsr:@fluentci/atlas";

Add Package

pnpm i jsr:@fluentci/atlas
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fluentci/atlas

Import symbol

import * as atlas from "@fluentci/atlas";

Add Package

yarn add jsr:@fluentci/atlas
or (using Yarn 4.8 or older)
yarn dlx jsr add @fluentci/atlas

Import symbol

import * as atlas from "@fluentci/atlas";

Add Package

vlt install jsr:@fluentci/atlas

Import symbol

import * as atlas from "@fluentci/atlas";

Add Package

npx jsr add @fluentci/atlas

Import symbol

import * as atlas from "@fluentci/atlas";

Add Package

bunx jsr add @fluentci/atlas

Import symbol

import * as atlas from "@fluentci/atlas";