Zoekt Indexer: Add (semi) automatic releases
Background
Currently, we need to perform several manual steps to release the new indexer version. I think we can automate almost the entire process.
Proposal
Versioning
We can follow https://gitlab.com/gitlab-org/container-registry approach. Here's a rough plan:
- Enable conventional commits for the renovate bot (example: gitlab-org/frontend/renovate-gitlab-bot!736 (merged))
- Add commitlint to CI and Lefthook to start enforcing conventional commits (example: gitlab-elasticsearch-indexer!283 (merged))
- Add
make release
command that releases a new tag and pushes it (example)
Automatic MR creation
Later, with the housekeeper gem we can start creating MR's to update the indexer version:
Edited by Dmitry Gruzd