是否可以将 Google AppEngine 和 Google Code 集成以实现持续集成?

发布于 2024-07-07 14:43:57 字数 328 浏览 8 评论 0 原文

有人对如何/是否可以集成 Google 代码提交以导致 Google AppEngine 部署最新代码有任何想法吗?

我有一个简单的 Google AppEngine 项目的源代码托管在 Google Code 上,如果每次我提交 Subversion 时,AppEngine 都会反映最新的提交,我会很高兴。 我不介意现场站点上的东西是否损坏,因为该项目主要供个人使用和学习。

有人对如何关联代码存储库的 subversion 提交和/或如何开始部署到 AppEngine 有任何想法吗? 理想情况下,该解决方案不需要我提供任何手动操作,也不需要我的计算机上安装任何类型的服务器/侦听器软件。

Anyone have any thoughts on how/if it is possible to integrate Google Code commits to cause a Google AppEngine deployment of the most recent code?

I have a simple Google AppEngine project's source hosted on Google Code and would love if everytime I committed to Subversion, that AppEngine would reflect the latest commit. I don't mind if things are broken on the live site since the project is for personal use mainly and for learning.

Anyone have any thoughts on how to tie into the subversion commit for the Code repository and/or how to kickoff the deployment to AppEngine? Ideally the solution would not require anything manual from me nor any type of server/listener software on my machine.

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

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

发布评论

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

评论(5

晨光如昨 2024-07-14 14:43:57

Google 代码项目托管现在支持提交后 Web Hook,它可以 ping 项目-每次提交后所有者指定的 URL。 这将消除定期轮询您的 Google 代码存储库的需要。

Google Code Project Hosting now supports Post-Commit Web Hooks, which ping a project-owner-specified URL after every commit. This would eliminate the need to regularly poll your Google Code repository.

爱人如己 2024-07-14 14:43:57

Made By Sofa 有一个 有关 Google App Engine 工作流程的博客文章。 在倒数第二段中,他们附加了一个颠覆钩子,当有人提交时代码将自动部署到 Google App Engine。 这需要一些调整(因为它在服务器端而不是客户端上工作),但你可以做同样的事情。

Made By Sofa had a blog post about their workflow with Google App Engine. In the second last paragraph they have attached a subversion hook that when when someone commits code it will automatically deploy to Google App Engine. It would take a little bit of tweaking (because it works on the server side not the client) but you could do the same.

剑心龙吟 2024-07-14 14:43:57

您可能需要在另一台计算机上安装一些粘合剂来监视 SVN 提交并为您部署新版本。 Google Code 尚未开发和发布 API(如果他们认真对待整个开发工作,他们需要尽快完成),但 GAE 可以相对轻松地自动化部署,所以我不认为应该这样做太难了。 然而,部署过程会因每个项目而异,因此您需要自己解决这个问题(您可能想查看 fabric 部署系统)。 然后,只需设置一个 cron 作业来更新中间机​​器上的本地 SVN 结帐,就完成了。

You'd probably have to have some glue on another computer which monitored SVN commits and deployed a new version for you. Google Code has yet to develop and release an API (which they need to do soon if they're serious about this whole development thing), but GAE can be deployed to with relative automated ease, so I wouldn't have thought it should be that difficult. The deployment process, however, will vary with each project, so that's something you need to sort out yourself (you might wanna take a look at the fabric deployment system). Then, just set a cron job going which updates a local SVN checkout on the middle machine, and you're done.

趴在窗边数星星i 2024-07-14 14:43:57

非常有趣,但目前还不可能,据我所知。 我一直在谷歌代码中寻找这个选项,但没有成功。

我能想到的唯一解决方案是在您的计算机中安装一些东西来检查 SVN 存储库中的更改。

我很高兴听到其他方法。

Very interesting, but not yet possible, AFAIK. I have been looking for that option in Google Code with no success.

The only solution I can figure out is to install something in your machine that checks for changes in your SVN repository.

I'll be happy to hear about other approaches.

-残月青衣踏尘吟 2024-07-14 14:43:57

对于我们这些使用 Github 的人来说,GAE 团队的这一功能会让我们认真考虑切换到 Google Code...

For those of us who are using Github, this feature from the GAE team would make us all seriously consider switching to Google Code...

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