4 ms·
Get that YAML to call a bash or powershell script outside of the YAML as soon as humanly possible!
by quickthrower2 3y ago
Get that YAML to call a bash or powershell script outside of the YAML as soon as humanly possible!
- verdverm 3y agoThis is the bad trend emerging in Yaml based DSLs If you want to do things like that, use a real language and emit a final config value
- quickthrower2 3y agoWhat if I didn't get to choose the CI system :-)
- verdverm 3y agoWell I think you are asking in jest, there are some things you can do which amount to using it as minimally as possible. Basically make it as few steps as possible, using the minimal amount of options, and just call your own scripts. The secondary benefit of this is that you move towards a world where you can "run CI" locally. This is something I try to do with all my CI now. If you've ever pushed a stream of commits trying to fix a CI only bug, you'll really appreciate the green of the grass once you get to the other side :]