DRY up our bash scripts

LITERALLY IN A DESERT OF CI WOES RIGHT NOW. SEND BACON>