refactor scripts
we can now use https://docs.gitlab.com/ee/ci/yaml/#reference-tags
so we can move some scripts and blocks into their own files and make it easier to maintain and extend.
we can now use https://docs.gitlab.com/ee/ci/yaml/#reference-tags
so we can move some scripts and blocks into their own files and make it easier to maintain and extend.