This release of Tarmac fixes many little things but comes with three new features that can be very useful.
New Features
- Retries for Init Functions
When configured, Init functions that fail can be automatically retried with a configurable interval (with an exponential increase between retries) and max attempts.
- Run Mode
Previously, once started, Tarmac would just run forever, but with Run Mode, you can now specify job
mode, which will run any Init functions defined and then exit on completion. This can be used to create jobs via an external job scheduler.
- Maintenance Mode
A new configuration, Maintenance Mode, is created. When turned on, maintenance mode will cause readiness checks to fail. This, along with Consul for dynamic configuration, will allow users to mark running instances as not ready to help coordinate maintenance activities.
What's Changed
- chore(deps): bump github.com/spf13/viper from 1.18.2 to 1.19.0 by @dependabot in #119
- Adding retries to Init Functions by @madflojo in #121
- chore(deps): bump github.com/wapc/wapc-go from 0.6.2 to 0.7.0 by @dependabot in #120
- chore(deps): bump github.com/tarmac-project/wapc-toolkit from 0.1.1 to 0.1.2 by @dependabot in #123
- Adding stop on completion of init if no other routes are defined by @madflojo in #122
- Adding log sanitization by @madflojo in #124
- Adding Maintenance Mode Toggle by @madflojo in #125
- chore: fixing sql test by @madflojo in #126
- Rolling back sql fix as I figure this out more by @madflojo in #127
- chore(deps): updating hord based on new repo by @madflojo in #128
Full Changelog: v0.7.3...v0.8.0