finn-ci
v0.0.23
Published
## commands
Readme
finn-ci
commands
fail-fast: Travis won't fail the build if part of an array ofscripts fails, this stops it on-failurerun-if: Conditional build command that will stop the build (with a success) unless the conditions are metparse-output: Reads regex specifications from a JSON file, parses the command for those regexes, and writes any results back to the filenotify-pipeline: Uses the results thatparse-outputwrote and notifies Pipeline of success/failure
goals
- Make CI tooling understandable and easy - both by relying on existing documentation and by providing tiny/easy-to-understand tools
- Enable build short-circuiting - stopping a build as soon as possible if it isn't applicable
- Take 'the unix approach' to CI tooling - binaries do one task only, keeps overall project size down and makes each tool easy to maintain
- Use CI capabilities where possible for less FINN-specific build language
design choices
These utilities are written in Ruby! Here's some choices/rationale behind that.
- Google says shell scripting for this sort of thing would be a bad time
- Ruby should be available on all Travis languages and developer machines (or trivial to install)
- FINN has some in-house knowledge of Ruby in case these utlities gain wider use
- No gems
