触发 Prow 作业从带有某些参数的注释中读取参数
我提出的问题的 Git Hub 链接: https://github.com/kubernetes/test-infra/issues/25654
我们有 API 测试,一旦用户对 PR 请求发表评论/测试冒烟,就会触发这些测试,但我们希望将此作业参数化,这将有助于使用某些参数运行这些测试。
例如 /test Smoke Skip
这里我们希望在我们的工作中使用skip关键字并采取相应的行动。
这将使作业能够在某些基于用户的运行时条件下运行,有助于创建更少的作业。
截至目前,我还没有看到任何可以使用的带有 PR 注释的参数传递参数的方法。
任何使用参数执行作业的解决方法都会有所帮助。
Git hub link to issue that i have raised:
https://github.com/kubernetes/test-infra/issues/25654
We have api tests that are triggered once user comments /test smoke on a PR request,but we want to make this job parametrized which will help run these tests with some parameter.
E.g /test smoke skip
Here we want utilise skip keyword in our job and take action accordingly.
This would enable jobs to run on some user based run time condition helping in creating less jobs.
As of now i dont see any way to pass any parameter with PR comment which can be utilised.
Any workaround to execute the job with parameters would be helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论