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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址