GitLab CI: use extends

template/ci/gitlab-ci.yml.jj2 uses anchors.

There is now a new funky extends which we can use to make the file more readable

https://docs.gitlab.com/ee/ci/yaml/README.html#extends