[suggestion] Change CI template include style
.gitlab-ci.yml template for all bob packages contains either one or two lines like the following:
This has several drawbacks:
- The server address is hardcoded
- If there are incompatible changes to be done, there's no really easy way to test them without breaking a lot of packages
- If one needs to keep using an old version of that file to be able to continue building it's not really clear how to proceed
For these reasons, I suggest to change the template as well as the bob packages
.gitlab-ci.yml to the following.
include: - project: 'bob/bob.devtools' ref: master file: '/bob/devtools/data/gitlab-ci/single-package.yaml'
This removes the server address so if there's a need to move stuff around, then there will be way less problems.
It also allows to retrieve the file from different branches if required in an easy fashion. For example if there's a massive change to the infrastructure, it allows to do that without breaking everything that is currently working.