Habitat Builder for the People!

  • person iconreset
  • calendar iconMonday, October 9 2017

Today, the Habitat team is thrilled to announce the availability of Habitat Builder for all projects and origins.


Habitat enables you to build, deploy, and manage your application, and automate the relationship between those lifecycle events to keep your application healthy, secure, and up to date.

To get started with Habitat, you write a plan. If you have a web application that is using a language stack that we have a Scaffolding for (as of publication, Ruby, Node, or Gradle), you can use that Scaffolding to write a plan for you. A plan defines your application’s build and runtime dependencies, and tells Habitat where your application code lives.

With today’s launch you can connect your application’s GitHub repository to Builder and connect one or more Habitat plans in your repository to a package in your Builder origin. You then get several cool benefits:

  • Every time you push new code to your application’s GitHub repository, Builder will automatically build a new package for your application.
  • Every time a package is built and uploaded to Builder that your package depends upon, Builder will automatically rebuild your application’s package. This keeps your application up to date when packages are patched against security vulnerabilities without you needing to take any specific action.
  • You can set up your Habitat Supervisors in a development environment to automatically subscribe to a Habitat Builder release channel, and they will:
    • Follow the update strategy you have specified for that service group (none, rolling, all at once)
    • Detect a new package on the unstable release channel
    • Download and install the new package
    • Run any health checks, smoke tests, compliance tests, that you have specified in your application lifecycle hooks
  • Once your development environment has automatically updated to your latest build, you can check it out, see that everything is the way you want it, and then promote that new build to the stable channel. You can even create custom release channel such as pre-production, union, or staging to best match your organization’s continuous deployment strategy.
  • Habitat Builder allows you to do all of this for both public and private GitHub repos, and also allows you to make your origin’s packages public or private

Habitat Builder provides one unified build pipeline to power your builds for stateful and stateless applications and services. Habitat build artifacts are isolated, atomic, and immutable. This means you can export these artifacts to the right format for your application, service, and infrastructure, and the artifact remains exactly the same. Today, we are:

  • Adding a Cloud Foundry export type, in addition to the docker, aci, tar, and mesos types we already support. Read more about exports
  • Adding a “Publishing” phase to Habitat Builder, so you can publish your Habitat builds as docker containers to your Docker Hub every time Builder creates a new build for you.
  • We plan to add more formats and publishing locations over time! Tell us if there are some you are especially excited for.
  • Announcing the alpha release of the Habitat Operator for Kubernetes developed by our amazing partners at Kinvolk!

We are constantly shipping new features and enhancements to Habitat Builder, Supervisor, and Studio, and we love interacting with our community. Ways to keep in touch:

Want to get started? We have a bunch of resources for new and returning users!

Posted In

About the author

Jamie Winsor

Jamie Winsor is the lead engineer of Habitat. Jamie is a versatile programmer with an affinity for network programming and video games. Jamie is focused on enabling all software developers, regardless of their experience, to bring their ideas to life without investing heavily in the details of operationalizing an application.

Recommended Posts

  • Join us for the Community Summits

    The Chef Community Summit is a gathering of professionals interested in advancing the state of the art of Continuous Automation with Chef. We will be hosting three Community Summits this October. Summits will be held in Seattle on October 2 and 3...

    • person iconNathen Harvey
    • calendar iconAug 23, 2017
  • Habitat 0.59.0 Released!

    We are happy to announce the release of Habitat 0.59.0. This is a smaller release, but there are still some good new features and bug fixes, so please read on for all the details. If you just want the binaries, head on over to our downloads page. Thanks...

    • person iconJon Bauman
    • calendar iconJul 12, 2018
All articles