fleet/test/upgrade
Ian Littman 7d4acdc5c4
Bump supported MySQL versions (#40892)
Fixes #40975.

8.0.32 (was running in Aurora managed cloud at the time) -> 8.0.39 (what
we're running now) 8.0.36 -> 8.0.44 (latest 8.0.x version supported by
Aurora; holding off on 8.0.45 until Aurora supports it) 8.4.7 -> 8.4.8
9.5.0 -> 9.6.0

Also bumped the supported Aurora version from 3.07.0 to 3.08.2 to match
what we're running in managed cloud right now

Fleet might work on older patch versions but we'll no longer dev/test on
them. MySQL 9.x not testing previous minor versions matches with our
previous approach for that version.

Since these are all patch/minor bumps (and the overnight build cases are
patch bumps/are covered by AWS envs) automated testing should be
sufficient here.
2026-03-04 12:25:20 -06:00
..
docker-compose.yml Bump supported MySQL versions (#40892) 2026-03-04 12:25:20 -06:00
fleet.crt add upgrade tests (#6596) 2022-07-19 15:11:51 -06:00
fleet.key add upgrade tests (#6596) 2022-07-19 15:11:51 -06:00
fleet_test.go Simplify DB test/upgrade tool (#27141) 2025-03-14 17:07:41 -03:00
generate_cert.sh add upgrade tests (#6596) 2022-07-19 15:11:51 -06:00
osquery.flags Simplify DB test/upgrade tool (#27141) 2025-03-14 17:07:41 -03:00
README.md Simplify DB test/upgrade tool (#27141) 2025-03-14 17:07:41 -03:00
upgrade_test.go Simplify DB test/upgrade tool (#27141) 2025-03-14 17:07:41 -03:00

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