Skip to content

split builds and allow individual triggers

Simon Praetorius requested to merge feature/split_builds into master

Summary

This MR splits the build process of all the docker images into

  1. service (docker + buildah)
  2. base (debian + ubuntu images)
  3. 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 stage dune 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

Merge request reports