Automate releases and more with the new Sentry Release GitHub Action

Automate releases and more with the new Sentry Release GitHub Action


This is a visitor put up by Rahul Chhabria, Director of Product Marketing at Sentry.

At Sentry, we imagine that code is the heart of each expertise and when code works, prospects are comfortable. For shoppers immediately, there’s not only one app for that—there are a number of. Given this, shoppers select functions not solely for services or products, but in addition for expertise.

That’s why firms like GitHub use Sentry. They see software monitoring for what it’s: not simply one other neat instrument, however a significant aggressive benefit.

Maintaining the benefit

Remember that point you spent hours chasing a heisenbug? If you’d solely identified which commit induced the error, you possibly can have fastened the downside with out the throbbing headache. Sentry’s new (and official) GitHub Action is the ache aid you’ve been in search of. It automates all the heavy lifting when deploying modifications to manufacturing.

The Sentry Release GitHub Action will

  • Notify Sentry of new releases
  • Enable Sentry’s Suspect Commits function
  • Automatically add supply maps to Sentry (JavaScript builders, you understand you’re keen on this)
  • Send e mail notifications when code is deployed

If/when one thing breaks after the deploy, Sentry will inform you which commit induced the error and the developer that may assist repair it. (Sidenote: We ought to most likely strike “heisenbug” from our vocabulary, nothing escapes Sentry.)

Screenshot showing suspect commits

Get began

Modify and add the following block to your workflow:

- title: Create Sentry launch
  makes use of: getsentry/action-release@v1.0.0
  env:
    SENTRY_AUTH_TOKEN: ${{ secrets and techniques.SENTRY_AUTH_TOKEN }}
    SENTRY_ORG: ${{ secrets and techniques.SENTRY_ORG }}
    SENTRY_PROJECT: ${{ secrets and techniques.SENTRY_PROJECT }}
  with:
    setting: manufacturing

The robots will create a new Sentry launch and inform Sentry that you’re deploying to the manufacturing setting.

An entire new world with GitHub + Sentry

In case you made it this far and are scratching your head saying, “What is Sentry?”, be happy to check out this throwback or hold studying for a contemporary take.

Let’s take a look at what occurs to groups who don’t use an software monitoring platform like Sentry. In this state of affairs, a easy 500 error falls between 4 individuals the identical method a easy pop fly falls between 4 baseball gamers — every anticipating one other to catch it:

Diagram showing a simple 500 error falls between four people

With GitHub and Sentry, your response course of to buyer points seems to be like this:

Diagram showing Sentry in action

  • Sentry catches exceptions/errors in manufacturing code
  • Sentry surfaces stack traces and the precise commit that induced the error
  • The proper builders repair the damaged code in GitHub whereas following the workforce’s evaluate processes
  • Kick off any automated checks earlier than — lastly — scheduling a launch
  • Sentry Release GitHub Action uploads supply maps, configures suspect commits and notifies Sentry of the new launch
  • Bask in the success of comfortable prospects and freed up dev cycles

Sign up for Sentry or seize the newest model of the motion right here. Move quick, break issues, repair quick, fastly, shortly. You get the level.

Stack symbiosis

The engineering groups at GitHub and Sentry use GitHub and Sentry to construct our respective merchandise. This is how we construct our software program. Together, we wish to assist you to write higher code, handle chaos, and hold prospects comfortable.

Leave a Reply