Improve triggering of DUNE environment image setup in CI pipeline
The CI pipeline currently rebuilds the DUNE environment image(s) whenever a pipeline is manually started through the web interface ("Run pipeline"). The interface allows for adding custom CI variables. This should be used to actually trigger a new setup of the images.
setupjobs only when the variable
REBUILD_BASE_IMAGEis defined and non-empty:
only: variables: - $REBUILD_BASE_IMAGE
dockerdirectory, explaining the Docker image usage and pipeline.
How to test the implementation?
- Pipeline passes
- #83 (closed) will update the pipeline as well. It might be easier merging both into one MR.