TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

LambCI – A continuous integration system built on AWS Lambda

160 点作者 hharnisch将近 9 年前

10 条评论

adamb将近 9 年前
There&#x27;s a lot of harsh commentary, but I think people here are missing the point. The fact that so much software needs root access to a (often mutable) global environment in order to properly build is a <i>bug</i>.<p>There are an increasing number of build systems that encourage squashing these bugs. The resulting build outputs are simpler and are often more portable. They&#x27;re also easier to reason about. That translates to simpler deployment, simpler operations, and fewer edge cases to debug.<p>IMHO, the most promising answer to the 5 minute limit is finer granularity and better caching of dependency inputs.
somesaba将近 9 年前
Cool! I had an idea for something like this but instead of having each build be it&#x27;s own lambda event, I wanted to make each individual test it&#x27;s own lambda event. The goal is to have the build time for a complex project boil down to the time it takes to setup + run the longest test.
评论 #12047112 未加载
评论 #12047531 未加载
评论 #12047330 未加载
dkarapetyan将近 9 年前
Cute.<p>&gt; No root access &gt; 5 min max build time &gt; Bring-your-own-binaries – Lambda has a limited selection of installed software &gt; 1.5GB max memory &gt; Linux only<p>There&#x27;s a reason Jenkins is still used so widely. It&#x27;s not because of utilization or all the other things pointed out. When your project gets big enough, managing the CI pipeline turns into a distributed systems problem with distributed queues, locks, error&#x2F;failure recovery, and all the other headaches that such systems bring. Heck, reporting alone on a test suite with 12k tests is a problem in and of itself.
评论 #12047043 未加载
评论 #12046919 未加载
评论 #12046954 未加载
评论 #12046802 未加载
illumin8将近 9 年前
This looks very cool, but the 5 minute build time limit (an inherent limitation of the Lambda service) makes this less than ideal for a build system. The author does address this by recommending that you use Docker containers on ECS as an alternative for long running builds.
a_imho将近 9 年前
Hardware is usually the cheapest component when it comes to software manufacturing, but we found out we wanted CI&#x2F;CD to spin 24x365 as much as it can, increasing the resolution to ~single commits with the shortest possible cycles. With a sizeable codebase and a thorough testsuite AWS bills went up so quickly even the proponents decided it was not worth it. We restored our old CI infra and were able to add a couple of new servers too. The throughput increased considerably with money to spare. Still an interesting experiment, but it showed burning money on Amazon not defaults to moving faster.
nzoschke将近 9 年前
Very nice!<p>This looks very close to the ideal CI infrastructure. I&#x27;m used to waiting on queues and long VM or container boots and configuration on other services.<p>We can almost certainly count on Lambda getting longer execution times and higher memory limits. We can also count on containerization solving the root problem.<p>We should also be building software with the goal of tests that run within reasonable limits like this.<p>`time make test` takes 39 seconds on my businesses Go projects. I&#x27;d consider a 5m test suite serious tech debt. The time that developers wait for feedback on tests and deployment is becoming a business bottleneck in the continuous delivery age.
评论 #12047795 未加载
nulltype将近 9 年前
Is a Google App Engine application also serverless?
评论 #12046446 未加载
empath75将近 9 年前
You win buzzword bingo for today.
dllthomas将近 9 年前
&quot;LambCI - A continuous integration system built on surface dwellers&quot;
oneplane将近 9 年前
How is it serverless if it runs on an Amazon server? Also, how is it serverless if you need to consume a service? (AWS in this case)...<p>Every time I see something nice, there is this increasing chance that I&#x27;m gonna end up sad because it requires some sort of external provider like AWS, DO, Heroku, GCE... I don&#x27;t have any of those and I don&#x27;t want any of them.
评论 #12046316 未加载
评论 #12046347 未加载
评论 #12047285 未加载
评论 #12046624 未加载