WIP: Add shellcheck and bashate fixes and run these linters in Gitlab CI
This merge request:
- adds some fixes suggested by shellcheck and bashate
- runs shellcheck and bashate in a Gitlab CI runner on each commit
I wanted to add yamllint checks too, but it complained about things like {{- $architecture := or .architecture "arm64" -}}
, so I haven't enabled this check. This is apparently Go templates syntax, I'm not sure how to preprocess it before running yamllint.
Edited by Arnaud Ferraris