One `.gitlab-ci.yml` per branch or per repository?
GitLab 8.9: CI execute builds only for branches with .gitlab-ci.yml
. Is it possible to have only one .gitlab-ci.yml
(e.g. in branch master) that controls builds for commits to all (or some) branches without .gitlab-ci.yml
??
Documentation is not clear about that. Keyword only
suggests that it should be possible to trigger builds in branches without .gitlab-ci.yml
but it does not work and only
appears to be useless if pipeline is always triggered for the current branch provided that it have .gitlab-ci.yml
file.
We have many branches and we'd like to trigger tests for commits to all branches without maintaining multiple .gitlab-ci.yml
files in all branches.
Is it possible with only one .gitlab-ci.yml
file committed to "master" branch?
Please clarify.
Also I'd love to see meaningful example(s) of using only
. Thanks.