Switch to automatic release management with semantic-release

⚠️🤖 This MR has been automatically generated

  • It has been reviewed by the assignee

What does this MR do and why?

Switch this repository to automatic release management with the semantic-release CI component:

  • the next release is decided by the MR labels (release-type::patch, release-type::minor, release-type::major), no manual tagging is needed
  • renovate MRs get their release label automatically: dependency updates trigger a patch release by default, CI tooling updates do not release
  • the release commit updates the package version in pyproject.toml and uv.lock with sed/awk, so the tag matches the package metadata

Renovate upgrades and release types

Dependencies extracted by the renovate validate job: release label an upgrade of each carries (9 patch, 12 none) and whether upgrades auto-merge.

Manager File Release type Auto-merge Deps First 10 dependencies
pep621 pyproject.toml patch conditionally (patch/minor) 9 python, click, hvac, humanfriendly, kr8s, kubernetes, python-gitlab, pytest, pyyaml
gitlabci .gitlab-ci.yml none conditionally (patch/minor) 5 registry.gitlab.com/sylva-projects/sylva-elements/container-images/ci-image, sylva-projects/sylva-elements/ci-tooling/ci-components/pre-commit, sylva-projects/sylva-elements/ci-tooling/ci-components/renovate, sylva-projects/sylva-elements/ci-tooling/ci-components/release-notes, sylva-projects/sylva-elements/ci-tooling/ci-components/semantic-release
pep621 pyproject.toml none conditionally (patch/minor) 2 pytest-cov, uv_build
pre-commit .pre-commit-config.yaml none all 5 pre-commit/pre-commit, pre-commit/pre-commit-hooks, astral-sh/ruff-pre-commit, sylva-projects/sylva-elements/ci-tooling/ci-components/renovate, gitleaks/gitleaks

patch upgrades create a release, none upgrades do not. Counts include inert entries (version-less Dockerfile packages, GitHub-token-gated downloads): only dependencies with a version can produce an upgrade MR.

Edited by Jonathan GAYVALLET

Merge request reports

Loading
Loading