Rate this page:
In Compass, there are two main methods for getting events from tools to show on the activity feed. One way is by sending events using the Compass REST API. The other is connecting event sources when you add a relevant link to the component details page from a configured integration.
Here, we’ll show you how to connect to event sources to show events from those sources on the activity feed.
We currently support the Bitbucket Cloud integration to get deployment events from a component’s connected Bitbucket repositories. More tools are coming soon!
You can get events from tools to show on the activity feed by connecting event sources to a component in Compass.
To connect to an event source:
If you’ve not already done so, follow the steps outlined in our documentation to integrate with your chosen tool, such as Bitbucket Cloud: Integrate Compass with Bitbucket Cloud.
Some tools may require additional configuration to show events on the activity feed. Configure your chosen tool, if needed.
Add a link to the event source in your component’s details in Compass. For example, to get deployment events from a Bitbucket repository, you would:
Once you connect to the event source, events from that source start to appear on the activity feed in Compass.
If you’re connecting to a Bitbucket repository to get deployment events to show on the activity feed, take a note of these additional points:
A component's deployment activity appears in Compass only if you've connected the event source to the component and there is at least one deployment in your component’s production-type environment.
The activity feed also shows deployment events from a component's upstream dependencies if you've connected event sources to those components. The deployment events from your component’s dependencies appear alongside the deployment events from your component.
You can add links to any repositories from the Bitbucket workspace connected to your Compass site. The activity feed shows deployment events from all those repositories when you set up and configure Bitbucket Pipelines. The activity feed does not show deployment events from any repositories that are not in the connected Bitbucket workspace.
Suppose you integrate Compass with Bitbucket Cloud after adding a repository link to the component’s details page. In that case, the activity feed gets the deployment events from the connected repository once your app integration completes. The activity feed also backfills historical deployment events from the connected repository.
Bitbucket Pipelines is an integrated CI/CD service built into Bitbucket that allows you to automatically build, test, and deploy your code based on a configuration file in your repository. Setting up and configuring a pipeline enables you to view a component’s deployment activity in Compass.
To set up and configure a pipeline for activity feed:
- step: name: 'Deploy to production' deployment: production trigger: 'manual' script: - echo "Deployed to production." - step: name: 'Deploy to prod-east' deployment: prod-east trigger: 'manual' script: - echo "Deployed to prod-east."
Rate this page: