Upgrading to newer software releases

  1. Check locally if application still works

Node

Update node version in:

  • .devcontainer/.env
  • .devcontainer/Dockerfile
  • frontend/README.md

Postgres

Update postgres/postgis version in:

  • .devcontainer/docker-compose.yml
  • ci/Jenkinsfile
  • .docker/docker-compose.yml

Rust

  1. Find the latest Rust version
  2. Find the latest Debian release

Assemble the rust docker tag as follows:

rust:<rustversion>-slim-<name of latest debian release>

Update Rust version in:

  • .devcontainer/Dockerfile
  • ci/container-images/permaplant-rust/Dockerfile
  • doc/Dockerfile
  • backend/rust-toolchain.toml

Notify the developers, that they should rebuild their dev containers in VSCode after updating their branches with the new versions

Prettier

Update prettier version in:

  • .pre-commit-config.yaml
  • package.json (and via npm package-lock.json)
  • frontend/package.json (and via npm frontend/package-lock.json)