I’m trying to set up Gitlab CI with a big gnarly old C++ project.
We want tag pushes to initiate release builds and any push of commits to initiate CI builds (we can use
CI_BUILD_TAG to differentiate and set a different version string). The problem I’m having is that when I push some commits and a tag together, Gitlab CI starts a build pipeline for both the tag, and the same commit on
master. The branch pipeline starts first and blocks the tag pipeline for 40 minutes. Is there a way to get Gitlab CI only do one build in this case?