TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Launching Today: CircleCI 2.0 Reaches General Availability

98 pointsby ssemmaprisealmost 8 years ago

10 comments

dankohn1almost 8 years ago
Do you recommend using the same Docker image that passes tests on CircleCI in production?<p>I have an open source Rails app &lt;<a href="https:&#x2F;&#x2F;github.com&#x2F;coreinfrastructure&#x2F;best-practices-badge&gt;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;coreinfrastructure&#x2F;best-practices-badge&gt;</a> that self-certifies that open source projects are following best practices. It currently uses CircleCI 1.0 and then deploys to Heroku &lt;<a href="https:&#x2F;&#x2F;circleci.com&#x2F;gh&#x2F;coreinfrastructure&#x2F;best-practices-badge&gt;" rel="nofollow">https:&#x2F;&#x2F;circleci.com&#x2F;gh&#x2F;coreinfrastructure&#x2F;best-practices-ba...</a>.<p>If I configure it for development and test, it will contain all the test and development gems in addition to the production ones &lt;<a href="https:&#x2F;&#x2F;github.com&#x2F;coreinfrastructure&#x2F;best-practices-badge&#x2F;blob&#x2F;master&#x2F;Gemfile&gt;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;coreinfrastructure&#x2F;best-practices-badge&#x2F;b...</a>. I would also need to include gcc and other build tools. But I would have immutability in that my dev, test and production images would be identical.<p>Or, should I use one image for dev and test, and then build a different image for production, in order to have the smallest possible size? CircleCI supports building &lt;<a href="https:&#x2F;&#x2F;circleci.com&#x2F;docs&#x2F;2.0&#x2F;building-docker-images&#x2F;&gt;" rel="nofollow">https:&#x2F;&#x2F;circleci.com&#x2F;docs&#x2F;2.0&#x2F;building-docker-images&#x2F;&gt;</a> further Docker images, but then there&#x27;s a chance of losing dev&#x2F;prod parity if, for example, a software dependency gets updated in the meantime.
评论 #14743232 未加载
评论 #14743789 未加载
评论 #14744516 未加载
评论 #14746575 未加载
评论 #14743277 未加载
评论 #14743273 未加载
评论 #14744143 未加载
naileralmost 8 years ago
Use Circle daily, signed up for the beta 2.0 release which has been fine in production for the last few months.<p>When I&#x27;ve needed support (mainly around installing custom versions of various apps) the staff have been very responsive.<p>Circle folk: for me it still displays &#x27;Leave 2.0 beta&#x27; and &#x27;Join 2.0 beta&#x27; - do I need to anything to get 2.0 final?
评论 #14742870 未加载
danielsamuelsalmost 8 years ago
Oh no, we tried switching over to it for a test project and it was basically a disaster. Something as simple as running Python tests and node tests on the same instance just didn&#x27;t seem to be possible. We _really_ don&#x27;t want to have to maintain our own Docker images. Their support forums are running Discourse too, so it&#x27;s basically impossible to find anything you&#x27;re looking for.
评论 #14742896 未加载
评论 #14746639 未加载
评论 #14743059 未加载
kevinburkealmost 8 years ago
I wrote a binary for interacting with CircleCI from the command line that you might like. Notably you can type &quot;circle wait&quot; and get friendly output showing how long your test steps took to run and which (if any) containers of a multi-container test failed.<p>We use it a ton and you might like it too.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Shyp&#x2F;go-circle" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Shyp&#x2F;go-circle</a>
naileralmost 8 years ago
Re: <a href="https:&#x2F;&#x2F;circleci.com&#x2F;docs&#x2F;2.0&#x2F;migrating-from-1-2&#x2F;" rel="nofollow">https:&#x2F;&#x2F;circleci.com&#x2F;docs&#x2F;2.0&#x2F;migrating-from-1-2&#x2F;</a><p>Rather than have every customer repeat these steps to transform their file, why don&#x27;t you do it for them, and make a circle.yml to .circleci&#x2F;config.yml converter?<p>I&#x27;m currently trying to work out what<p><pre><code> dependencies: pre: </code></pre> Turns into for 2.0. There&#x27;s instructions for<p><pre><code> dependencies: override: </code></pre> But I&#x27;m not sure if the same logic applies to pre, and the replacement shown there is indented in such a way that it looks like there&#x27;s some missing information about what the parent container should be. All I can do is guess what the replacement for<p><pre><code> dependencies: pre: </code></pre> should be.
评论 #14743041 未加载
评论 #14746675 未加载
bdcravensalmost 8 years ago
After years of using CircleCI 1.0 (loved that they let me install custom packages) for pre-Docker apps, I found 2.0 required a ton of scripting to test and deploy. Moved back over to Codeship - love the workflow. Setup used our docker-compose.yml, and testing&#x2F;deploy config using a simple yml file worked great. Love the command line tool that lets us encrypt ENV files, as well as run and deubg the build locally.
tfaralmost 8 years ago
Is there a way to cache build results for follow up builds? So the next build only needs to rebuild the files that changed?
评论 #14743022 未加载
评论 #14744142 未加载
drinchevalmost 8 years ago
CircleCI is great!<p>I use it almost everywhere.<p>Unfortunately here in Berlin mostly everyone switches to self-hosted version of Jenkins at one point.
评论 #14742792 未加载
k__almost 8 years ago
Half-OT: How do you do CI with iOS applications? Is there some good cloud service? Or do you simply set up a local macOS server with Fastlane, for example, and be done with it?
评论 #14743032 未加载
评论 #14743485 未加载
twinpride34almost 8 years ago
Is this fundamentally a more Enterprise version from 1.0?<p>We&#x27;re looking for something with security, control, support etc that we didn&#x27;t see when we looked at 1.0.
评论 #14767389 未加载
评论 #14746611 未加载