我尝试在 Gitlab 上将 Azure 管道 CI 与我的存储库一起使用,我尝试嵌入一个 yml 文件来运行持续集成,但我做不到.
当我使用 Github 的时候,这个过程真的很简单也太直接了,但是对于 Gitlab,我使用了 Other Git 选项.
但是我的构建是手动运行的,我怎样才能使它们自动运行,以便当有人提出拉取请求时,CI 会运行并检查构建是否通过?
有没有很好的 Gitlab Azure 管道设置指南?
如果您想要使用 yml 文件从 Gitlab 存储库运行 CI,我们需要说,对不起,我们直到现在才支持此功能.我们的团队正在为扩展服务功能做出贡献,以方便更多的工程师和用户.
到目前为止,如果你选择Other Git连接你的Gitlab的repos,它只会在合并请求完成后自动触发.这意味着在创建拉取请求后,不可能在 Azure Devops 中触发构建.这样它就不会帮助您在合并请求完成之前完成构建验证.
在我们官方的功能建议论坛里,有这样一个
Am trying to use Azure pipeline CI with my repository on Gitlab, I tried to embed a yml file to run the continuous integration but I couldn't.
When I used Github, the process was really easy and too direct, but for Gitlab I used the Other Git option.
But my builds I run them manually, how can I make them automatic so that when someone raise a Pull request a CI runs and checks if the build passes?
Is there a good guide for Gitlab Azure pipeline setup?
If what you want is to using a yml file to run the CI from your Gitlab repository, we need to say, sorry, we does not support this feature until now. Our team is contributing to expand the service feature which can make more engineers and users conveniently.
Until now, if you choose Other Git to connect your repos of Gitlab, it will just be triggered automatically after the merge request completed. That's means after the pull request created, it is impossible to trigger the build in Azure Devops. So that it will not help you finish build verification before merge request completed.
In our official feature suggestion forum, there has an such feature suggestion raised by other user. Just vote it and comment it there. Our PM and the product group review these ticket regularly, and considering take it as Roadmap if this feature be voted by many users. Hope you can help our Devops has more and more convenient feature.
In addition, here has an work around may help you achieve this: a third party application named Zapier. There has an event New merge request Event for Gitlab, and for Azure Devops, you can choose Trigger a build.
这篇关于将 Azure 管道与 Gitlab 集成(持续集成)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
MVC 中的 GoogleWebAuthorizationBroker 用于 Google Drive 访GoogleWebAuthorizationBroker in MVC For Google Drive Access(MVC 中的 GoogleWebAuthorizationBroker 用于 Google Drive 访问)
为什么我得到 System.UnauthorizedAccessException 对路径Why do I get System.UnauthorizedAccessException Access to the path #39;Google.Apis.Auth#39; is denied(为什么我得到 System.UnauthorizedAccessExcep
在 asp.net 中动态构建的 SiteMapPathDynamically built SiteMapPath in asp.net(在 asp.net 中动态构建的 SiteMapPath)
ASP.NET 异常:无法解析远程名称:“apiconnector.com&qASP.NET Exception: The remote name could not be resolved: #39;apiconnector.com#39;(ASP.NET 异常:无法解析远程名称:“apiconnector.com)
MasterPage 是否知道正在显示的页面?Does a MasterPage know what page is being displayed?(MasterPage 是否知道正在显示的页面?)
ASP.net MVC - 导航和突出显示“当前";关联ASP.net MVC - Navigation and highlighting the quot;currentquot; link(ASP.net MVC - 导航和突出显示“当前;关联)