The 0.74.0 release introduces a new hook to package authors: the install hook. The install hook runs when a package is first installed. This hook is unique in that it runs outside of a service or census context. With all other hooks, like init and run just to name a couple, the owning package must […]
Read MoreTag: supervisor
Shelving Composites (for now)
A little over one year ago, Christopher Maier presented the ability to create composite packages, a special kind of Habitat package that includes other Habitat packages in order to be managed by a single Supervisor. The Habitat community had been finding all sorts of creative ways to use Habitat to incorporate their services under a […]
Read MoreChanges in the Forthcoming 0.56.0 Supervisor: What You Need To Know
The 0.56.0 release of Habitat brings with it one of the largest changes to the Supervisor that we’ve ever made. We’d like to share with you what these changes are, why we needed to make them, and what steps you as a Supervisor user need to take to deal with these changes. They’re big changes, […]
Read MoreHabitat Can Now Run in OpenShift
With the 0.53.0 release of Habitat, we’re happy to announce that users can now run their Habitat-exported Docker containers on the OpenShift platform! In this post we’ll show you what you need to do to run your own apps in OpenShift, as well as what prevented Habitat from running on OpenShift until now and how […]
Read MorePackaging a .Net Windows Service Application
This post will demonstrate how to package a .Net Windows service application using Habitat. A Windows service application provides some interesting challenges to Habitat packaging because the application process is ultimately controlled by the Windows Service Control Manager (SCM). It runs outside of the Habitat Supervisor process tree. It also requires some initial setup when […]
Read MoreIntroducing Runtime Environment Variables
Today, we’d like to introduce a new feature for Habitat packages that should make it easier to create packages that work the way you want automatically without a lot of extra work from plan authors. Lots of users have asked for this for a while, and we’re happy to say that you can now specify […]
Read MoreRunning Habitat as a Windows Service
You can now run Habitat on Windows as a Windows Service. This is the recommended way to run a Windows Habitat production environment. All of the Windows service functionality resides in a new package core/windows-service. This includes a small C# program that implements the service loop that starts and stops the Habitat service and redirects […]
Read MoreIntroducing Composites
We’re excited to talk about a new preview feature in Habitat that we feel will unlock some more interesting use cases that community members have been wanting for a while. In this post, we’ll talk about composite packages and how they might help you. What is a Composite Package? As the name might suggest, a […]
Read MoreRunning a Full Framework ASP.NET IIS application in Habitat
For the past several months we have been working hard to provide full feature parity accross all Habitat components on Windows. We often use an ASP.NET Core plan to test Windows functionality because building and running a .NET Core application is very similar to developing a Node application not to mention many other runtimes that […]
Read MoreMaking a Leader/Follower MySql Cluster with Habitat!
One of the most compelling pieces of Habitat is using the Supervisor to create self-organizing and self-healing topologies. Today we will, step by step, create a MySQL Leader/Follower cluster using Habitat. Setting up your infrastructure Create three virtual machines on the cloud provider of your choice (when creating this post, I used AWS EC2). Why […]
Read More