Script directory structure
Process:
- On
deploy(.stg).gitlab.com
: cp ./bin/source_vars_template.sh ./bin/source-vars
-
vi ./bin/source-vars
and edit the parameters, setting the required parameters, adding any secrets we don't with to keep in the source code, and double-checking the remaining parameters` - Follow the issue template scripts, with references to the relevant scripts.
Bonus Features
- Using CI, ensures all markdown references to scripts are correct
- Using CI, all scripts are validated with
shellcheck
Edited by Andrew Newdigate