Buildkite plugin that will lint
, migrate
and push
atlas db schemas
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
ATLAS_CLOUD_TOKEN
is required to be set in the environment before the plugin can runTURSO_TOKEN
is required if you are applying your schema to a turso database
To run the linter:
task lint
To run the tests:
task test
- Fork the repo
- Make the changes
- Run the tests
- Commit and push your changes
- Send a pull request