Script style

By Mark on 20170123 — 1 min read

We dri­ve 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­cat­ed chatops channels.

Here is our base shell style guide.

Posted in: Technology