Harness Your Deployment Superpowers With Honeybadger's Orb For CircleCI

Using Honeybadger’s orb allows your team to easily track deployments as part of your workflow. Our orb will automatically include the SHA of the revision that was deployed, which we link in the Honeybadger UI to GitHub, GitLab, or Bitbucket, so you can see at a glance what got deployed and when.

Palantir orbs, the Globe of Peace, Thief Raid, Trine, Prophecy Records, Ood Translators — the list of important orbs throughout history is quite long. However, the Honeybadger orb for CircleCI gives you deployment super powers. Do those other “important” orbs offer this feature? I didn’t think so!

The Honeybadger Orb

Using Honeybadger’s orb allows your team to easily track deployments as part of your workflow. Keeping track of deployments in Honeybadger gives you a heads-up when code changes cause problems, helping you avoid situations where you "fire and forget" on a Friday afternoon... and cause an outage that lasts all weekend. Once added to your workflow, our orb will automatically include the SHA of the revision that was deployed, which we link in the Honeybadger UI to GitHub, GitLab, or Bitbucket, so you can see at a glance what got deployed and when.

Easy Integration

To use this orb in your project, you need to enable two settings:

  • Settings -> Security -> Allow uncertified orbs
  • Settings -> Advanced Settings -> Enable build processing (preview)

Complete installation and configuration instructions can be found here.

Deployment Notifications

Sending deployment notifications to Honeybadger allows your team to associate spikes in errors to changes that were deployed.

You can add a job definition to circle.yml that invokes the notify_deploy command from this orb:

jobs:
  test:
    ...

  deploy:
    docker:
       - image: circleci/ruby:2.5.3-node-browsers
    steps:
      - run:
          ...
      - honeybadger/notify_deploy:
          api_key: YOUR_HONEYBADGER_API_KEY

Then include that job in your workflow:

workflows:
  test:
    jobs:
      - test
      - deploy:
          requires:
            - test

This will invoke the deploy job after the test job is completed.

Source Map Uploads

If you are tracking your Javascript errors with Honeybadger, our orb can also upload your source maps to our API every time your assets are compiled. Having those source maps uploaded as your app is deployed is incredibly helpful when you get a Javascript error in your app. Instead of getting a backtrace with minified, obfuscated code references, you'll get a backtrace with the original code as you wrote it. You'll be able to find and fix those Javascript bugs in no time.

The upload_sourcemap command can be used in your workflow to send source maps to Honeybadger after they are generated by your build tools:

jobs:
  test:
    ...

  deploy:
    docker:
       - image: circleci/ruby:2.5.3-node-browsers
    steps:
      - run:
          ...
      - honeybadger/upload_sourcemap:
          api_key: YOUR_HONEYBADGER_API_KEY
          minified_url: https://example.com/assets/application.min.js
          minified_file: path/to/application.min.js
          source_map: path/to/application.js.map

Wrapping Up

Take your CircleCI deployments to the next level with the Honeybadger orb (A.K.A. The Most Important Orb Ever). Give it a try and let us know what you think!

What to do next:
  1. Try Honeybadger for FREE
    Honeybadger helps you find and fix errors before your users can even report them. Get set up in minutes and check monitoring off your to-do list.
    Start free trial
    Easy 5-minute setup — No credit card required
  2. Get the Honeybadger newsletter
    Each month we share news, best practices, and stories from the DevOps & monitoring community—exclusively for developers like you.
    Stop wasting time manually checking logs for errors!

    Try the only application health monitoring tool that allows you to track application errors, uptime, and cron jobs in one simple platform.

    • Know when critical errors occur, and which customers are affected.
    • Respond instantly when your systems go down.
    • Improve the health of your systems over time.
    • Fix problems before your customers can report them!

    As developers ourselves, we hated wasting time tracking down errors—so we built the system we always wanted.

    Honeybadger tracks everything you need and nothing you don't, creating one simple solution to keep your application running and error free so you can do what you do best—release new code. Try it free and see for yourself.

    Start free trial
    Simple 5-minute setup — No credit card required

    Learn more

    "We've looked at a lot of error management systems. Honeybadger is head and shoulders above the rest and somehow gets better with every new release."
    — Michael Smith, Cofounder & CTO of YvesBlue

    Honeybadger is trusted by top companies like:

    “Everyone is in love with Honeybadger ... the UI is spot on.”
    Molly Struve, Sr. Site Reliability Engineer, Netflix
    Start free trial