Files
Daniel BrunthalerandClaude Sonnet 5.5 43cd60e59f fstest: move the Seafile integration test servers to Seafile 13.0
The integration test servers for the seafile backend were still running
Seafile 11. Seafile 12 changed the name of the docker image tags (the
`latest` tag stops at 11.x, newer versions are published as `12.0-latest`,
`13.0-latest`, `14.0-latest`) and replaced the setup variables of the
image, so just bumping the tag was not enough.

- use seafileltd/seafile-mc:13.0-latest, the current stable release
  (can be overridden with SEAFILE_VERSION; 14.0-latest, currently in
  beta, works too)
- update the docker compose file to the Seafile 12+ layout: MariaDB
  10.11, Redis for the cache, SEAFILE_MYSQL_DB_*, INIT_SEAFILE_*,
  JWT_PRIVATE_KEY, SEAFILE_SERVER_PROTOCOL/HOSTNAME and CACHE_PROVIDER
- use `docker compose` (v2) instead of the removed `docker-compose`
  and don't depend on the compose v1 container names
- wait for the Seahub API instead of the web server and retry the
  Seahub restart which raises the API throttle limits, as Seahub is
  not always ready when it is first asked
- replace the fixed 60s sleep in TestSeafileEncrypted with a wait loop
- raise the Seahub API throttle limits in TestSeafileEncrypted too, as
  concurrent test runs exceeded the 60 logins/minute and failed with
  "failed to authenticate"
- report the server as running while any container of the compose
  project is up, so that a crashed seafile container still gets its db
  and cache containers torn down by stop instead of reused on the next
  start
- remove TestSeafileV6: the seafileltd/seafile image for Seafile 6 can
  no longer be downloaded and it wasn't part of test_all

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 10:29:36 +00:00
..