Im trying to create generic pipeline for our company.
We have > 200 repos, and while most are simple and could use directly some module, there are some that need to do extra steps to build their product, like installing extra things on build image (not just standard apt-get), or doing some extra tests using some complicated docker setup, or even generating few extra docker images as a result.
All that extra steps canot be directly done "outside" our main pipeline without copy/pasting a lot of code.
Our current approach is to have generic pipeline, that allowed extra steps/configuration at most of the steps of pipeline..
Our steps looks more/less standard.
- prepare build image
- build using prepared image
- test using prepared image
- create run image
- push run image
You could redefine each step totally, or just add your own code snippets at various points of the steps.
Any idea how to make it with dagger, to not force users to copy/paste too much while still allowing for doing most of the things with ease.