对 CircleCI 中的松弛问题的发布/响应
作为 CircleCI 管道的一部分,我想通过在 slack 上运行命令来启动管道 - 在本例中为 /yoink deploy
(我们使用 Yoink 来管理共享资源,并尝试提出这是一种省力的方法,可确保人们在部署期间不会踩到彼此的脚趾)。如果 yoink 机器人返回的响应是肯定的,则继续沿着构建管道进行。否则,停止吧。
我面临的挑战是,Circle 的 Slack 集成允许我在不同情况下发布消息,但我无法找到一种方法让它使用该发布消息中的回复选择下一个管道步骤。我的问题是:
以前是否有人通过与 Circle 的 slack 集成成功地做到了类似的事情,或者人们是否使用其他一些 CircleCI 方法来锁定和释放部署上的所述锁定?
As part of my CircleCI pipeline, I would like to start the pipeline by running a command on slack - in this case /yoink deploy
(we are using Yoink to manage shared resources, and trying to come up with a low-effort way to make sure people aren't stepping on each others toes during deployments). If the response back from the yoink bot is affirmative, continue along the build pipeline. Otherwise, stop it.
The challenge that I'm having is that the Slack integrations for circle let me post a message under different circumstances, but I can't figure out a way to make it use a reply from that posted message to choose next pipeline steps. My question is this:
Has anyone previously managed to do something like this with a slack integration with Circle, or is there some other CircleCI method that folks have used to lock and release said lock on deployments?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论