Allow multiple script keys in a job for gitlab-ci.yml
Motivation: Want to break my code multiple script templates for single job.
Example:
Templated version of proposal - This is want I wanted to do.
.template: &abc
script_abc:
- echo 'abc'
.template2: &xyz
script_xyz:
- echo 'xyz'
test:
image: ubuntu
<<: *abc
<<: *xyz
Non-Templated version of proposal - This is want's required to be processed.
test:
image: ubuntu
script_abc:
- echo 'abc'
script_xyz:
- echo 'xyz'
Output - Execution based on the order it was written
abc
xyz