Documentation forSolarWinds Incident Response

CircleCI

CircleCI Actions

CircleCI is a modern continuous integration and continuous delivery (CI/CD) platform. CircleCI automates build, test, and deployment of software.

Incident Response’s Extension with CircleCI enables you to rebuild projects from within the Incident Response platform.

This is primarily helpful in a situation where you want to quickly mitigate a customer experience issue by rolling back to an older successful build.

Prerequisites

  • Only the Account Owner and Users with the Manage Extensions permission will be able to enable, disable and manage Extensions in Incident Response

Enabling CircleCI Extension

  1. Navigate to Settings and select the Extensions tab from the left navigation sidebar

  2. Move over to the CircleCI extension and click on Integrate

  3. Enable CircleCI extensions

  4. In your CircleCI dashboard, move over to User Settings

  5. User setting in circleCI dashboard

  6. Click on Personal API Tokens and then, Create New Token to create a new API token for Incident Response

  7. Create new API token for Squadcast

  8. Use a meaningful name for the token like “Incident Response” or “Incident Response Incidents”. Click on Add API Token to save and view the API Token

  9. Give a name to API token

    Create a new API token

  10. Copy the API Token shown in the CircleCI screen

  11. Click to copy the API token

  12. Paste the copied API Token in the Incident Response CircleCI extension screen and click on Save to enable your CircleCI integration

Paste the copied API Token in the Squadcast CircleCI extension

Your CircleCI integration is good to go and you will be able to perform CircleCI actions directly for any incident.

Perform CircleCI actions directly for any incident

Using CircleCI Actions

Now that the CircleCI extension is enabled, follow the steps below to understand how to take CircleCI actions from within Incident Response.

  1. Navigate to the Incident Details page of an incident for which you want to take the CircleCI action. In this example, we're choosing the incident below to demonstrate.

  2. Click on Actions to see a list of allowed/enabled actions for your Organization

  3. List of allowed/enabled CirlceCI actions within Squadcast

  4. Select CircleCI from the list of allowed/enabled actions

  5. Select CircleCI from the list of allowed/enabled actions

    Select CircleCI from the list of allowed/enabled actions

  6. Click on Rebuild from the Actions to see a list of projects you can take this action on

  7. Rebuild from the Actions to see a list of projects

  8. Click on a Project of your choice and the Build you want to rollback to

  9. Select the project to build via CircleCI

    Build the project and rollback via CircleCI

  10. Click the Rebuild button to trigger the build again and you can see the link to the CircleCI build in the resulting screen\

Click the Rebuild button to trigger the build again

Check the link to the CircleCI build

You will also be able to see the actions performed in the Incident Activity Timeline on the right.

Actions performed in the incident activity timeline in CircleCI

The link will take you straight to the CircleCI Jobs View screen showing the result of the triggered build action.

CircleCI job view dashboard