mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
This PR simplifies the `test/upgrade` tool the QA team uses to test DB upgrades. - Removes "online migration" approach because we currently don't support it (so it removes nginx as dependency). - Adds a workflow to manually run this on Github actions (in case dev/QA folks have issues with Docker on macOS, which is a common thing...) - Adds logging to the output to ease troubleshoot (previous versions was too quiet making it impossible to troubleshoot).
431 B
431 B
Upgrade Tests
This tool can be used to test DB upgrades between two Fleet versions.
To run the tests, you need to specify the "from" and "to" versions, for example:
FLEET_VERSION_A=v4.16.0 FLEET_VERSION_B=v4.18.0 go test ./test/upgrade
Ensure that Docker is installed with Compose V2. To check if you have the correct version, run the following command
docker compose version
Docker Compose version v2.6.0