split builds and allow individual triggers
Summary
This MR splits the build process of all the docker images into
- service (docker + buildah)
- base (debian + ubuntu images)
- dune (core + module dependencies + modules)
All these three steps can be triggered manually by setting variables for the pipline:
TRIGGER_STAGE = [service|base|dune]
-
TRIGGER_RELEASE = [2.4|2.5|2.6|2.7|git]
where the pipeline variable is only used when stagedune
is selected.
If the stage base
is build, automatically the stages for the dune
pipelines are triggered afterwards. Thus, when the base os images are changed, all the dune images get rebuild.
Example
One could trigger just the git version of the dune images by triggering a pipeline with additional variables
TRIGGER_STAGE=dune
, and TRIGGER_RELEASE=git
. This allows to rebuild only those chains that actually changed.
Closes #16 (closed)
Edited by Simon Praetorius