capabilities.work

Habitat Audit an Origin's Package Releases and Channels

A 3-step recipe with Chef. We can help you get access.

Recipe · 3 steps

Habitat Audit an Origin's Package Releases and Channels

with Chef

Inventory a Habitat origin's packages, releases, and promotion channels.

  1. List every package published under the origin, establishing what this origin actually ships before drilling into one of them.
  2. Fetch the named package to enumerate its versions and releases, which is what a promotion or a pin needs to reference.
  3. List the origin's channels so a promotion targets a channel that exists rather than silently creating drift between environments.
What you'll need to have ready
  • origin: The Habitat origin to audit (e.g. core).
  • pkg: The package name within the origin to resolve releases for (e.g. redis).
For your developer

Arazzo workflow chef:audit-origin-releases, 3 operations: listOriginPackages → getPackage → listChannels. Specs on APIs.io.