estafette-ci-db-migrator

command module
v1.0.244 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 8 Imported by: 0

README

Estafette CI

The estafette-ci-db-migrator component is part of the Estafette CI system documented at https://estafette.io.

Please file any issues related to Estafette CI at https://github.com/estafette/estafette-ci-central/issues

Estafette-ci-db-migrator

This component runs as a Kubernetes job to update the database schema if needed.

Development

To start development run

git clone git@github.com:estafette/estafette-ci-db-migrator.git
cd estafette-ci-db-migrator

To add a new migration script

go get -u github.com/pressly/goose/cmd/goose
cd migrations
goose create create_some_table sql

And then edit the newly created script in the migrations folder.

Before committing your changes run

go test ./...
go mod tidy

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL