Harness Introduces PagerDuty Support for Real-Time Deployment Notifications

Want to be notified of all deployment successes or failures? Now you can integrate Harness with PagerDuty in minutes for complete visibility.

By Steve Burton
May 21, 2019

Over the past decade, PagerDuty has become the defacto standard for waking up notifying developers and DevOps teams of incidents relating to their applications or services.

Just over a month ago the company went public and cited 11,000 customers as part of their filing.

At Harness, we’re empowering developers with self-service deployment capabilities so Continuous Delivery and change is the new norm.

In addition to email, HipChat, and Slack notifications, PagerDuty was one of the most requested integrations by our customers. Today, all these notification channels are now supported.

Real-Time Deployment Notifications

A Harness deployment workflow is constructed of many steps and strategies. One of which is a notification strategy that allows users to notify based on specific execution conditions and scope.

For example, a Harness user can notify if a deployment workflow or canary phase succeeds, fails, or is paused.

Let’s create a new notification strategy and use our new PagerDuty integration as the channel.

Creating a Notification Strategy

To get started, let’s edit an existing deployment workflow in Harness.

In the top right of the below screenshot, we have a section called “Notification Strategy.”

Let’s click “+ Add Notification Strategy” to define our strategy.

The above strategy will now notify our User Group Dev Team when our workflow fails.

The last thing we need to do is integrate PagerDuty to our Dev Team User Group.

Integrating PagerDuty With Harness

Good news – it takes 30 seconds to integrate PagerDuty with Harness.

Let’s go and edit our Dev Team User Group by going to:

Harness > Continuous Security > Access Management > User Groups

harness_pd1

After opening our Dev Team User Group, we can edit its “Notification Settings”:

Then, all we need to do is paste in the PagerDuty Integration Key from the Account/Service that you wish to map.

You can copy your Service Integration Key from PagerDuty:

Configuration > Services > Service Details > Integrations

pager1

That’s it! Our PagerDuty notification is now ready to go.  We just need a failed deployment now….so let me go kill a canary or something.

Example: A Failed Deployment

Below is a screenshot showing an instance of our deployment workflow (Prod GCP Docker Workflow) that happened to fail.

A few seconds later, all hell breaks loose on my phone:

Logging into PagerDuty also confirms our failed deployment incident:

Feel free to test our new PagerDuty support with a 15-day trial of Harness.

Cheers,
Steve.

 

➞ Back to Blog

Leave a Reply

avatar
  Subscribe  
Notify of