Skip to content

datumforge/atlas-buildkite-plugin

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.2:
          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