script

Script Style

By Mark Ayers on 2017-01-23 — 1 min read

We drive our devops sys­tem of CI/​CD pipelines with a col­lec­tion of stan­dard­ized bash shell scripts. These scripts col­lect required resources; val­i­date start­ing con­di­tions; check for lint and style issues; run unit, accep­tance, inte­gra­tion, per­for­mance, and smoke tests; build deploy­ment pack­ages and sup­port­ing infra­struc­ture in var­i­ous envi­ron­ments; all while col­lect­ing met­rics on the arti­facts being built and the pipeline’s exe­cu­tion; and report­ing the suc­cess and fail­ure of each pipeline stage, job, and task into our ded­i­cated chatops chan­nels.

Here is our base shell style guide

Image cour­tesy of Mark Ayers | philoserf​.com
Posted in: Technology