You need to sign in or sign up before continuing.
Make CNG gitlab-ci.yml DRY
Since gitlab-org/build/CNG!30 (merged) is done and we have a general outline of the containers we need, we should try to increase the readability of CNG project gitlab-ci.yml.
This should allow us to make less errors when doing further development.
For example, for every container we call at minimum:
BASE_VERSION=$(git ls-tree HEAD -- ruby | awk '{ print $3 }')
We should move that in a before_script
and reuse in each other step.