SuperPi.Release (super_pi v0.1.0)

Copy Markdown View Source

Release tasks. Run them before the new version takes traffic:

bin/super_pi eval "SuperPi.Release.migrate()"
bin/super_pi eval "SuperPi.Release.rollback(20261029000001)"

They start only the repo, so they work on a node that is not part of the cluster and do not start the application.

Summary

Functions

Runs every pending migration on the configured repo.

Rolls the configured repo back to version (inclusive).

Functions

migrate()

Runs every pending migration on the configured repo.

rollback(version)

Rolls the configured repo back to version (inclusive).