ckcr4lyf / kiryuu

A highly performant HTTP bittorrent tracker (WIP)
Do What The F*ck You Want To Public License
13 stars 3 forks source link

qbittorrent in CI #8

Closed ckcr4lyf closed 1 year ago

ckcr4lyf commented 1 year ago

This PR adds qbittorrent based testing in CI. Specifically, it does the following:

  1. Deploy a redice service container (Kiryuu dependency)
  2. Deploy a custom qbit-svc container for seeding (see: https://github.com/ckcr4lyf/actions-kiryuu-qbit-test/tree/master/service)
  3. Create a dummy file and a torrent for it, set the announce to kiryuu's IP
  4. Use a custom qbit action which will try and download the dummy torrent (see: https://github.com/ckcr4lyf/actions-kiryuu-qbit-test)
  5. Compare SHAs at the end

This helps confirm that kiryuu can:

  1. Process announce from initial seeder
  2. Handle announce from leecher, and return the seeders connection info (We verify this by checking the download completed).

Potential Future Improvements: