buildbot 安装:git poll 失败

发布于 2024-10-21 04:48:16 字数 429 浏览 1 评论 0 原文

我有一个小问题。

我想安装 buildbot 所以我遵循了文档: http://buildbot.net/buildbot/ docs/latest/Installation.html

对于 ma​​ster.cfg,我只是复制示例。

但当我启动 BuildBot 时,我得到了:

gitpoller: repo poll failed
....
No such file or directory: \'/tmp/gitpoller_work

我不知道为什么?

如果您有想法,

谢谢。

I have a little problem.

I wanted to install buildbot so I followed the doc: http://buildbot.net/buildbot/docs/latest/Installation.html

For the master.cfg, I just copy the sample.

But when I start BuildBot I got that :

gitpoller: repo poll failed
....
No such file or directory: \'/tmp/gitpoller_work

I don't know why ?

If you have an idea,

thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧夏天 2024-10-28 04:48:16

简而言之,配置 buildbot 比仅复制通用配置文件更复杂。 master.cfg.sample 只是为了提供配置构建主机和从机的粗略起点。换句话说,您必须在配置文件中提供有关实际项目、存储库和构建环境的信息。

如果您在配置时遇到问题,文档非常全面。我只遇到了一些比文档无法回答的晦涩难懂的问题,此时我在他们的 IRC 频道(#buildbot)上求助于好心人 - 他们的一些开发人员="http://webchat.freenode.net/" rel="nofollow">freenode),他们非常有帮助。

In short, configuring buildbot is more involved that just copying a generic config file. The master.cfg.sample is merely meant to provide a rough starting point for configuring your buildmaster and slaves. In other words, you're going to have to provide the information about your actual projects, repositories, and build environments in the config file.

If you're having trouble with the configuration, the doc is pretty comprehensive. I only had a few problems with stuff more obscure than the doc can answer, at which point I turned to the nice folks - a number of their developers - on their IRC channel (#buildbot on freenode), who were very helpful.

离笑几人歌 2024-10-28 04:48:16

git poller 似乎正在寻找的目录看起来很奇怪(它有 ` 和 \ 和 /)。就我个人而言(并与当前示例配置相匹配),我更喜欢使用主目录下的目录。当前示例配置使用 workdir='gitpoller-workdir'。如果您有多个 GitPoller,目前您将需要使用多个目录。

更新:在 buildbot 0.8.7 中,有一个新的 GitPoller,它不需要多个工作目录,并且默认为合理的目录。如果使用 0.8.7+,则不应指定 workdir

The directory that the git poller seems to be looking for seems quite strange (it has ` and \ and /). Personally (and matching the current sample config), I prefer using a directory under the master directory. The current sample config uses workdir='gitpoller-workdir'. If you have more than one GitPoller, you will need to use more than one directory, currently.

Update: With buildbot 0.8.7, there is a new GitPoller, that doesn't require multiple workdirs, and defaults to something sensible. If using 0.8.7+, you should just not specify workdir.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文