Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

A Buildkite plugin for the Ariga Atlas Database Tool

License

Notifications You must be signed in to change notification settings

datum-cloud/atlas-buildkite-plugin

Repository files navigation

Build status

Atlas Buildkite Plugin

Buildkite plugin that will lint, migrate and push atlas db schemas

Example

Add the following to your pipeline.yml:

steps:
  - plugins:
      - datumforge/atlas#v0.0.3:
          dir: file://db/migrations
          project: datum
          dev-url: sqlite://dev?mode=memory
          step: all

Environment Variables

  1. ATLAS_CLOUD_TOKEN is required to be set in the environment before the plugin can run
  2. TURSO_TOKEN is required if you are applying your schema to a turso database

Developing

To run the linter:

task lint

To run the tests:

task test

Contributing

  1. Fork the repo
  2. Make the changes
  3. Run the tests
  4. Commit and push your changes
  5. Send a pull request

About

A Buildkite plugin for the Ariga Atlas Database Tool

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages