• How to Build a Docker Image on CircleCI 2.0

    This guide was originally posted in Japanese here.
    Interested in contributing a post to this blog? Reach out to our team at blog at circleci.com

    Update: Beginning July 11, 2017, CircleCI 2.0 is out of beta and publicly available. Read all about it.

    Recently, CircleCI 2.0 went into open beta. Since CircleCI 1.0 adopted LXC as its base container, it hasn’t yet been possible to use Docker versions 1.11 or above. Luckily, there’s no such restriction in CircleCI 2.0 since it supports Docker natively.

    Continue reading “How to Build a Docker Image on CircleCI 2.0”


  • Testing Strategies from the Trenches

    This is a guest post by Divya Sasidharan, a web developer at the Knight Lab.
    Interested in telling your story here? Reach out to our team at blog at circleci.com

    test.allTheThings()

    In agile development methodology, test-driven development is seen as the embodiment of good coding practice. The “test first, code later” approach to writing software not only blends well with the short sprints intrinsic to agile development, it also enables developers to focus on the requirements and design of a system without getting sidetracked. However, given that a project undergoes different stages of development with varying requirements and specifications, a test-driven approach is not always conducive to development.

    In a fairly new codebase, or in a prototype application, where code is being added and refactored at a rapid pace, tests can add friction that slows down development. Conversely in a more stable codebase, tests protect the integrity of an application. Considering this, how can we more productively think about testing as a whole and adapt to the ebbs and flows of a project lifecycle?

    Continue reading “Testing Strategies from the Trenches”


  • Onboarding New Site Reliability Engineers

    I was recently part of a panel at #SRECon, where I shared my thoughts on how to onboard Site Reliability Engineers (SREs). For those who missed it, I’m sharing what I discussed for those who are either considering joining an SRE team or are actively onboarding/managing SREs.

    Continue reading “Onboarding New Site Reliability Engineers”


  • npm@5 and NodeJS v8 Released

    Earlier this year, I wrote a post about Why Developers Are Moving To Yarn. This struck a chord with many people who were frustrated with npm.

    Yesterday, npm@5 (version 5.0.1) was released addressing many concerns that developers had. npm@5 is a fantastic update that should bring a lot of happiness to JavaScript developers.

    Continue reading “npm@5 and NodeJS v8 Released”


  • Build, Test, and Deploy Statically Generated Websites With Hugo

    Statically generated websites are a growing trend. Traditionally, many websites rely on resource hogging CMSs. These require a running server instance, a database such as MariaDB, and a back of the mind fear that certain file permissions might be wrong leading to an eventual hack reminisces the good ol’ WordPress days. Static website generators such as Hugo and Jekyll are solving this problem by building your site’s files upfront, leaving you with a bunch of HTML, CSS, and JavaScript files you can cheaply serve from anywhere, even GitHub! Hugo and related tools/frameworks even have a trendy concept name now, the JAMStack. Here’s how you can use Hugo and CircleCI to build your own statically generated website on CircleCI 2.0.

    Continue reading “Build, Test, and Deploy Statically Generated Websites With Hugo”


  • SSH Access vs. Local Builds: Two Ways to Debug Builds in CircleCI 2.0

    SSH Access vs. Local Builds:  Two Ways to Debug Builds in CircleCI 2.0

    “It worked on my machine, but broke in production” is a common issue engineers run into on a regular basis. CircleCI 1.0 users have found it useful to debug such build failures by using SSH access, which we have now enabled for builds running on our 2.0 platform.

    Additionally for 2.0, we have introduced CircleCI CLI, which helps users reproduce the CircleCI environment locally. This functionality allows users to iterate quickly and debug issues in their local environment.

    Continue reading “SSH Access vs. Local Builds: Two Ways to Debug Builds in CircleCI 2.0”


  • DevOps Wall Street: Security, Scalability, Productivity: Embracing a DevOps Mindset at Coinbase with CircleCI

    A few weeks ago we participated in DevOps Wall St., a 1-day event in Manhattan with speakers from FINRA, GitHub, Waffle.io, Modus Create, and others. Rob Witoff from Coinbase shared his thoughts in a talk called, “Security, Scalability, Productivity: Embracing a DevOps Mindset at Coinbase with CircleCI.” In this talk, Rob discussed correlating success with number of deploys, killing snowflake servers, automating good behavior with UX, and whose fault it is when something goes wrong in production (hint: not the deploying engineer’s).

    Here are some highlights from Rob’s talk:

    • (02:00) Rob shares stats on Coinbase: 100 services, 30+ countries, 6M+ users, 4.5 deploys/engineer/week
    • (04:50) Rob talks about the engineering change request (ECR) process he used to have to go through in previous companies and why bureaucratic software development is not empowering, particularly when velocity is core to your survival.
    • (06:35) “If you empower your company to move fast, iterate, and launch new features, you can help your company survive. DevOps done poorly can also be a reason companies die. If a company is not able to move fast enough because security slows you down, or there’s too much human interaction, you can really kill your company.”

    Continue reading “DevOps Wall Street: Security, Scalability, Productivity: Embracing a DevOps Mindset at Coinbase with CircleCI ”


  • Waiting for Good Code

    waiting for good code Image Source

    Estragon
    Vladimir

    ACT I
    An open office. A circular dependency.
    Evening.

    Estragon, sitting on a low ball, is trying to reboot his computer. He pushes the power button with both hands, panting. He gives up, exhausted, rests, tries again. As before.

    Enter Vladimir.

    ESTRAGON:
    (giving up again)
    Nothing to be done.

    VLADIMIR:
    I’m beginning to come round to that opinion. All my life I’ve tried to debug it, saying Vladimir, be reasonable, you haven’t yet tried everything. And I resumed the struggle.

    (He broods, musing on the struggle. Turning to Estragon.)

    So there you are again.

    Continue reading “Waiting for Good Code”


  • Integrating Mobile App Security Testing Into CircleCI

    Mobile developers are tasked with writing code and publishing builds faster than ever before. You don’t need to go far to find stats that show developers are pushing code with increased frequency – measured in minutes, hours, and days rather than weeks and months. As a result, security can become an afterthought – or something handled by someone else on the other side of the office, on another floor, or elsewhere in the organization.

    But, a recent Ponemon study on IoT and mobile apps shows that mobile app security is top-of-mind for many organizations. Sixty percent of respondents reported a data breach resulting from an insecure mobile app, and 39 percent of organizations wait until production to test, driving up the cost to fix flaws considerably.

    Continue reading “Integrating Mobile App Security Testing Into CircleCI”


  • Using Machine Learning and Clojure to Chart the English Language

    Machine Learning. You may have heard of it.

    It’ll be the end of times. It’ll be the start of humanity. It’ll know when I want to buy more dog food. These are comments you’ve heard from your relatives or even comments you’ve asked yourself. If you’re in an IT role, it may have usurped your other favorite question: “Can you setup my WiFi?”

    Yes, machine learning is a big topic and is contested by folks like Stephen Hawking and Ray Kurzweil. But it isn’t all gloom/doom, eternal life, and confused grandparents. No, most of the time, machine learning techniques are just used to get a handle on datasets that are more massive than malicious.

    Continue reading “Using Machine Learning and Clojure to Chart the English Language”


Get New Posts Delivered

Sign up to receive fortnightly blog highlights

Thank You for Submitting Your Info


You should receive an automated response notifying you that we received your info. Someone from our Enterprise team will be reaching out to you shortly.


CircleCI Success Logo