5 ms·
Since when YAML had become a standard to specify the commands to run. It's supposed to be used as a configuration specification. I am pretty sure there could be
by namanaggarwal 7y ago
Since when YAML had become a standard to specify the commands to run. It's supposed to be used as a configuration specification. I am pretty sure there could be a better way of writing such files.
- ChristianBundy 7y agoMy preference has always been that config files should specify the path to the script to run, but should never contain the actual code. Embedding one language in another language is rarely a good idea.
- mikewhy 7y agoAgreed. For a while now my CI flow has basically been: ./script/prepare-env ./script/build ./script/test ./script/deploy No matter the language, OS, or CI platform (minor changes are needed, ie for different environment variables). The CI config files are then very simple, just defining the various stages and what to cache/archive.
- harau1986 7y agoYeah.. agreed. TBH I doubt it is taken from real pipeline