Yea but a bash script isn't declarative so thats somehow bad.

(DECLARATIVE CI WHY?????)

Straightforward statements with a few conditionals considered harmful. Here learn this grotesque vendor-specific DSL hamfisted into YAML instead.