2022-07-19 21:11:51 +00:00
|
|
|
# Upgrade Tests
|
|
|
|
|
|
2025-03-14 20:07:41 +00:00
|
|
|
This tool can be used to test DB upgrades between two Fleet versions.
|
2022-07-19 21:11:51 +00:00
|
|
|
|
2025-03-14 20:07:41 +00:00
|
|
|
To run the tests, you need to specify the "from" and "to" versions, for example:
|
|
|
|
|
```sh
|
|
|
|
|
FLEET_VERSION_A=v4.16.0 FLEET_VERSION_B=v4.18.0 go test ./test/upgrade
|
2022-07-19 21:11:51 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Ensure that Docker is installed with Compose V2.
|
|
|
|
|
To check if you have the correct version, run the following command
|
2025-03-14 20:07:41 +00:00
|
|
|
```sh
|
|
|
|
|
docker compose version
|
2022-07-19 21:11:51 +00:00
|
|
|
Docker Compose version v2.6.0
|
|
|
|
|
```
|