Simplify our CI conditions so people can fork and build like we do
Our current GitLab CI yaml file has a lot of hard-coded namespaces, we used in the past as a way to select what was going to be built in gitlab.com and what was going to be built in our DEV server.
Since 10.7 we can use the "Complex" Only/Except syntax with environmental variables: https://docs.gitlab.com/ee/ci/yaml/#only-and-except-complex
I propose we convert snippest like:
do_something:
only:
- tags@gitlab/omnibus-gitlab
to:
do_something:
only:
refs:
- tags
variables:
- $GITLAB_DEV
This can be a first step to get this easier to contribute, so people forking would have only to set $GITLAB_DEV in order to build the whole thing.