Skip to content

Release Process

Julien Nioche edited this page Nov 5, 2026 · 20 revisions

The instructions below assume that you have commit rights on the project and have agreed with the community that a release is due.

  • Test the release locally
    • Make sure your local copy of the code is up to date
    • Build and run the API locally (make docker-build-development docker-run-development)
    • Test in your browser at http://localhost:5000
  • Update version in code
    • Check the version number in the file pyproject.toml matches your release
    • Create and merge a PR with the change
  • Check the dev Clever Cloud deployment
    • Synchronize the branch dev-clever with your release
      • Check out the upstream repo (i.e. boavizta/boaviztapi)
      • git fetch origin && git checkout dev-clever && git reset --hard origin/main && git push --force-with-lease origin dev-clever
    • Wait for the Github Action to generate the requirements.txt file on that branch (see Github Actions)
    • Wait until it's deployed (check the version on https://dev.api.boavizta.org/docs)
    • Test the dev API
    • Test the dev DataVizta
  • If everything is OK, generate a new release from the Releases page
    • Create a new tag 'vx.x.x' as part of it
    • Automatically generate the release notes
    • Check the Github Actions triggered by the release have passed
    • Check that the image is available in the container registry
  • Update the main Clever Cloud deployment
    • Synchronize the branch run-clever with your tag
      • Check out the upstream repo (i.e. boavizta/boaviztapi)
      • git fetch origin --tags && git checkout run-clever && git reset --hard vx.y.z
      • git push --force-with-lease origin run-clever
  • The push triggers the Generate requirements.txt for clever branches workflow, which commits requirements.txt onto run-clever. Check that it succeeds; the deployment uses that commit.
  • Move to the next version
    • Create a new milestone for the next release and close the one for the release you just made

Finally tell the community that the new release is available.

Clone this wiki locally