Elektrobit / flake-pilot

Registration/Control utility for applications launched through a runtime-engine, e.g containers
MIT License
9 stars 5 forks source link

Better way to skip export of images during build #198

Open Ichmed opened 7 months ago

Ichmed commented 7 months ago

Because build.sh can only be executed after the initial setup, there is no image to export during the init step. This is fixed right now by skipping the execution in the builder which is not an elegant way of doing this.

A better solution probably requires restructuring the builder architecture somewhat.

Proposal: Refactor the "dry-run", "skip-export" and "keep" flags into a holistic pipeline where each individual step can be skipped via command line option --skip=STEP_NAME