Enable GitHub Commit Status Echo Notifications
Configure GitHub Commit Status Echo notifications
Echo is the microservice in Spinnaker which (among other functionalities) manages notifications for Spinnaker pipelines and stages.
Using the GitHub Integration plugin you can configure Echo to create GitHub Commit Statuses in a repository by authenticating using the GitHub App accounts configured in the plugin.
By using the GitHub Integration’s plugin GitHub Commit Status notifications, you can link the deployment pipeline statuses to GitHub status checks. This feature provides clear and immediate feedback to developers about the deployment pipeline status.
How this feature works
GitHub Integration plugin offers an enhanced Echo notification type which can be configured to send notifications for pipelines and/or stages statuses with custom context and description linking to the Spinnaker UI as a target URL.
How to enable
GitHub Commit Status notifications can be enabled per GitHub App account by enabling the feature in Echo and Deck services in the github-integration-plugin.yml
file.
|
|
Migrating from Echo’s default implementation
Migrating from the default implementation to the GitHub Integration plugin’s implementation does not require any changes in your pipelines. The GitHub Integration plugin’s implementation is used automatically when the feature is enabled in Echo and Deck services and the default implementation is disabled. To ensure a smooth migration, follow these steps:
-
Disable the default implementation by disabling the
github-status
feature in Echo and Deck services1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
spec: spinnakerConfig: profiles: echo: github-status: enabled: false token: <PAT> endpoint: https://api.github.com deck: settings-local.js: | window.spinnakerSettings = { ... (content omitted for brevity) notifications.githubStatus.enabled = false; ... (content omitted for brevity) }
-
Enable the GitHub Integration plugin. See the Get Started section for instructions.
-
Ensure that you have configured the appropriate GitHub App accounts for every GitHub organization that you want to send notifications to.
-
Verify that the Deck UI is showing the plugin’s Commit Status notification type in the notification settings for your pipelines and the Commit Statuses are being created in GitHub.
Feedback
Was this page helpful?
Thank you for letting us know!
Sorry to hear that. Please tell us how we can improve.
Last modified December 13, 2023: (56f2762a)