We recently started to use self-hosted gitlab-ce and have created our first pipeline to build and deploy some docker-contaners.
As we have a monorepository with lots of dependent subprojects and this pipeline should be triggered only on changes in spicific path in master we have addded appropriate lines to gitlab-ci.yml:
[...] only: refs: - master changes: - "trunk/source/Garnet/**/*" [...]
So we thought pipeline should be triggered only if changes were made to trunk/source/Garnet/**/* and only in master.
But it’s trigger on any feature branch or every merge request on master even if those changes are not related to that specific project. And it’s always fails becasue we have configured “needs” to speed-up (running manually goes fine).
Are we misspointed something?