... | ... | @@ -2,7 +2,8 @@ |
|
|
|
|
|
## Images
|
|
|
|
|
|
* `medialibrary`: A custom vlc 3-0 build image (https://code.videolan.org/videolan/docker-images/-/commit/cdb13aa720df5e54664e740bc202592d67ab19a5)
|
|
|
* `medialibrary-3.0`: A custom built vlc 3.0.x image (https://code.videolan.org/videolan/docker-images/-/merge_requests/178/diffs?commit_id=efb511b6a7ca0255aa82ce9478ee98237385d50c)
|
|
|
* `medialibrary-4.0`: A custom built vlc 4.0 image (https://code.videolan.org/videolan/docker-images/-/merge_requests/178/diffs?commit_id=630a51350cb71d33d821918bd1108d98b51e03dc)
|
|
|
* `medialibrary-win32`: A custom vlc 4.0 build image (https://code.videolan.org/videolan/docker-images/-/commit/ae59cb45f23bcb3ff379ecf4648174cfe4b12c84)
|
|
|
* `medialibrary-win64`: A custom vlc 4.0 build image (https://code.videolan.org/videolan/docker-images/-/commit/ae59cb45f23bcb3ff379ecf4648174cfe4b12c84)
|
|
|
* `vlc-debian-unstable`: A debian image, which we also use for vlc CI
|
... | ... | @@ -18,7 +19,7 @@ Those configurations are run for each merge request events and on push to the (u |
|
|
|
|
|
### Linux
|
|
|
|
|
|
* Image: `medialibrary`
|
|
|
* Image: `medialibrary-3.0` & `medialibrary-4.0`
|
|
|
* All unit & functional tests are run
|
|
|
* This also exports a coverage report
|
|
|
|
... | ... | @@ -48,28 +49,6 @@ Those configurations are run for each merge request events and on push to the (u |
|
|
|
|
|
For merge requests tagged with ~"model-change" 2 additional jobs will be run:
|
|
|
|
|
|
### gen-benchmark-db
|
|
|
|
|
|
This job will generate a new benchmark database, to be used in the `run-bench` job.
|
|
|
|
|
|
It will start by generating 100 artists with 10 albums of 10 tracks each. Those samples will be discovered to generate a database that will be queried by the benchmarks.
|
|
|
|
|
|
This job will generate an artifact named `bench.<MILESTONE>.db` where `<MILESTONE>` is the milestone targeted by the merge request.
|
|
|
|
|
|
If the job is run manually, the targetted branch will be used in place of `<MILESTONE>`.
|
|
|
|
|
|
The resulting artifact will also be stored in https://artifacts.videolan.org/medialibrary/gen-bench-db/
|
|
|
|
|
|
### run-bench
|
|
|
|
|
|
This job will run the [requests benchmark](https://code.videolan.org/videolan/medialibrary/-/tree/master/benchmark/requests). Each specific benchmark will be run 10 times.
|
|
|
|
|
|
The result is then compared to the previous run for this database model (if any).
|
|
|
|
|
|
An external job will be added with the results. If the performance delta is larger than 5% it will be interpreted as a meaningful performance increase/decrease.
|
|
|
|
|
|
This is currently not super helpful as the results will depend on the CI machine load.
|
|
|
|
|
|
## Scheduled jobs
|
|
|
|
|
|
### Nightly jobs
|
... | ... | @@ -105,7 +84,7 @@ This job is *never* run automatically and must require manual starting. |
|
|
|
|
|
## Summary
|
|
|
|
|
|
* Linux tests are running with vlc 3
|
|
|
* Linux tests are running with vlc 3 and 4
|
|
|
* Windows tests are running with vlc 4
|
|
|
* Nightly builds are all run using vlc 4
|
|
|
* Developers can trigger a manual test database generation using the `gen-test-db` task |
|
|
\ No newline at end of file |