|
|
## Generate and download videos from the server (using the CI)
|
|
|
|
|
|
You can generate and download videos for specified scenarios from our server using Vadere's Continuous Integration pipeline.
|
|
|
|
|
|
Please follow the steps:
|
|
|
|
|
|
1. On gitlab LRZ navigate to the [Vadere CI](https://gitlab.lrz.de/vadere/vadere/-/pipelines). You should see the list of pipelines:
|
|
|
|
|
|
![pipeline_overview](uploads/aa1c433e23f847ce0fa5cfeed3fa8156/pipeline_overview.png)
|
|
|
|
|
|
2. Each pipeline corresponds to a different commit. If you want to generate videos for the most recent `master` branch use a filter (see below) and click on the corresponding pipeline:
|
|
|
|
|
|
![master_pipeline_filter_2](uploads/6b585914d3bf91515ef0d1a68ad8c8c1/master_pipeline_filter_2.png)
|
|
|
|
|
|
3. To trigger the video generation, you have to wait until the CI has the status "Passed" (in the example below the CI is still "Running"). As soon as it has the status "Passed", you can trigger the video generation by clicking on the video generation job:
|
|
|
|
|
|
![trigger_video_gen](uploads/93fb544c4f68d352d071d4733117e5f9/trigger_video_gen.png)
|
|
|
|
|
|
4. Open the job. You should see the loggings of the server. As soon as the video generation job is finished, you can download the videos by clicking on downloads:
|
|
|
|
|
|
![download_artifacts](uploads/d2739b1e216fbc7c35ca8e4083e7d0ed/download_artifacts.png)
|
|
|
|
|
|
### Your video is missing?
|
|
|
|
|
|
The CI generates videos for scenarios only that are specified in so-called `VIDEO.config` files. Make sure that your scenario file is listed in the `VIDEO.config`file of the corresponding Vadere project in `Scenarios/`. If the Vadere Project does not contain a `VIDEO.config`, create an empty text file called `VIDEO.config` in the `scenarios` folder. Add all scenario files (`\*.scenario`) of a vadere project at once by copying and pasting the following content into `VIDEO.config`
|
|
|
|
|
|
```
|
|
|
# This VIDEO.config adds scenarios of this vadere project to the list of scenarios for which the CI generate videos.
|
|
|
|
|
|
# The following line adds all scenario files of this vadere project:
|
|
|
*.scenario
|
|
|
|
|
|
# Place the VIDEO.config in the scenarios folder of the vadere project (the usage of relative paths has not been tested so far).
|
|
|
```
|
|
|
|
|
|
Vadere projects that do not contain `VIDEO.config` files in their `scenarios` folder will be fully ignored. `\*.scenario` in a `VIDEO.config` adds all scenario files of a Vadere project at once. It is also possible to specify the scenarios. |
|
|
\ No newline at end of file |