admin管理员组文章数量:1402948
I have a private gitlab instance with a lot of repositories for conan packages (70+). Developers will often change multiple repositories in a single CR. I'm trying to figure out how to control the CI pipelines so we only start a pipeline when all the conan dependencies are available. For example:
- Repo A depends on nothing
- Repo B depends on A
- Repo C depends on nothing
- Repo D depends on B and C If I change B and D I only want those two CI pipelines to run but B has to complete before starting D. I don't want to run pipelines unnecessarily (i.e. If I make a patch release of A and don't touch the other repositories, I don't want to rebuild anything else except A. If I make a major version change to A, I want all the repositories to rebuild even if they weren't explicitly changed. I'm running semantic-release so it will automatically update the version numbers in the previous cases).
First, it there a native gitlab CI method to manage this? If not, does anyone know of a tool I can use to automate starting the pipelines? If neither, suggestions on how I can write a script to manually start the pipelines?
I believe in the last case, I can use a job in the pipeline for A to start the other pipelines manually and have them update their versions and run although I'd need a master build dependency file (likely a conan lockfile stored on a server somewhere).
本文标签: Control pipeline execution order in gitlab CI using conan to determine orderStack Overflow
版权声明:本文标题:Control pipeline execution order in gitlab CI using conan to determine order - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744342193a2601542.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论