{"id":20571356,"url":"https://github.com/fluent-ci-templates/atlas-pipeline","last_synced_at":"2026-01-23T16:36:08.020Z","repository":{"id":191794346,"uuid":"676078370","full_name":"fluent-ci-templates/atlas-pipeline","owner":"fluent-ci-templates","description":"A ready-to-use CI/CD Pipeline for managing your database migrations with Atlas","archived":false,"fork":false,"pushed_at":"2024-06-18T20:47:09.000Z","size":173,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T23:49:47.517Z","etag":null,"topics":["atlas","cicd","dagger","database-migrations","database-schema","deno","pipeline","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent-ci-templates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-08T11:38:18.000Z","updated_at":"2024-06-18T20:47:12.000Z","dependencies_parsed_at":"2024-06-18T16:11:17.937Z","dependency_job_id":null,"html_url":"https://github.com/fluent-ci-templates/atlas-pipeline","commit_stats":null,"previous_names":["fluent-ci-templates/atlas-pipeline"],"tags_count":10,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fatlas-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fatlas-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fatlas-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fatlas-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-ci-templates","download_url":"https://codeload.github.com/fluent-ci-templates/atlas-pipeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647256,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atlas","cicd","dagger","database-migrations","database-schema","deno","pipeline","typescript"],"created_at":"2024-11-16T05:16:02.030Z","updated_at":"2026-01-23T16:36:08.008Z","avatar_url":"https://github.com/fluent-ci-templates.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Atlas Pipeline\n\n[![fluentci pipeline](https://shield.fluentci.io/x/atlas_pipeline)](https://pkg.fluentci.io/atlas_pipeline)\n![deno compatibility](https://shield.deno.dev/deno/^1.42)\n[![dagger-min-version](https://shield.fluentci.io/dagger/v0.11.7)](https://dagger.io)\n[![](https://jsr.io/badges/@fluentci/atlas)](https://jsr.io/@fluentci/atlas)\n[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/atlas-pipeline)](https://codecov.io/gh/fluent-ci-templates/atlas-pipeline)\n[![ci](https://github.com/fluent-ci-templates/atlas-pipeline/actions/workflows/ci.yml/badge.svg)](https://github.com/fluent-ci-templates/atlas-pipeline/actions/workflows/ci.yml)\n\nA ready-to-use CI/CD Pipeline for managing your database migrations with [Atlas](https://atlasgo.io/)\n\n## 🚀 Usage\n\nRun the following command in your project:\n\n```bash\nfluentci run atlas_pipeline\n```\n\nOr, if you want to use it as a template:\n\n```bash\nfluentci init -t atlas\n```\n\nThis will create a `.fluentci` folder in your project.\n\nNow you can run the pipeline with:\n\n```bash\nfluentci run .\n```\n\n## 🧩 Dagger Module\n\nUse as a [Dagger](https://dagger.io) module:\n\n```bash\ndagger install github.com/fluent-ci-templates/atlas-pipeline@main\n```\n\nCall a function from the module:\n\n```bash\ndagger call migrate --src . --database-url env:DATABASE_URL\n```\n\n## 🛠️ Environment variables\n\n| Variable         | Description                    | Required |\n| ---------------- | ------------------------------ | -------- |\n| DATABASE_URL     | The database connection string | Yes      |\n| DATABASE_DEV_URL | The database connection string used for calculating migrations differences | No      |\n\n## ✨ Jobs\n\n| Job       | Description               |\n| --------- | ------------------------- |\n| migrate   | Apply database migrations |\n| dry_run   | Dry run migrations        |\n\n```typescript\ndryRun(\n  src: string | Directory,\n  databaseUrl: string | Secret,\n  databaseDevUrl?: string\n): Promise\u003cstring\u003e\n\nmigrate(\n  src: string | Directory,\n  databaseUrl: string | Secret,\n  databaseDevUrl?: string\n): Promise\u003cstring\u003e \n```\n\n## 👨‍💻 Programmatic usage\n\nYou can also use this pipeline programmatically:\n\n```ts\nimport { migrate } from \"jsr:@fluentci/atlas\";\n\nawait migrate();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fatlas-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-ci-templates%2Fatlas-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fatlas-pipeline/lists"}