ci_template: move the cerbero scripts from yaml to a new file
Its hard to manage ever growing bash scripts in yaml, and its even harder to run them locally to reproduce the environment.
This is essentially a copy-paste of the scripts, to make review easier. We can refactor later.