Base Shell Script Style Guide

By Mark Ayers on January 23, 2017 — 1 min read

We dri­ve our de­vops sys­tem of CI/​CD pipelines with a col­lec­tion of stan­dard­ized bash shell scripts. These scripts col­lect re­quired re­sources; val­i­date start­ing con­di­tions; check for lint and style is­sues; run unit, ac­cep­tance, in­te­gra­tion, per­for­mance, and smoke tests; build de­ploy­ment pack­ages and sup­port­ing in­fra­struc­ture in var­i­ous en­vi­ron­ments; all while col­lect­ing met­rics on the ar­ti­facts be­ing built and the pipeline’s ex­e­cu­tion; and re­port­ing the suc­cess and fail­ure of each pipeline stage, job, and task in­to our ded­i­cat­ed chatops channels.
Here is our base shell style guide.


Posted in: Technology