fleet/test/upgrade
Roberto Dip 142d46beb7
update osquery image in db migration testing tool (#15658)
In this release we're introducing a query that makes use of
`browser_type` which was introduced in a newer osquery version.

In our docs we officially support "the latest" osquery, but doing a soft
bump for now.
2023-12-14 14:53:07 -03:00
..
nginx add upgrade tests (#6596) 2022-07-19 15:11:51 -06:00
docker-compose.yaml update osquery image in db migration testing tool (#15658) 2023-12-14 14:53:07 -03:00
fleet_test.go Bump github.com/docker/docker from 20.10.23+incompatible to 23.0.4+incompatible (#11259) 2023-04-21 14:53:55 -07: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
generate_cert.sh add upgrade tests (#6596) 2022-07-19 15:11:51 -06:00
osquery.flags add upgrade tests (#6596) 2022-07-19 15:11:51 -06:00
README.md Fleet 4.18.0 changelog (#6951) 2022-08-01 13:39:13 -07:00
upgrade_test.go add upgrade tests (#6596) 2022-07-19 15:11:51 -06:00

Upgrade Tests

The tests located in test/upgrade are intended to test fleet upgrades with online migrations as proposed in #6376. 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