SEI CircleCI integration
CircleCI lets teams build fully-automated pipelines, from testing to deployment.
Use the SEI CircleCI integration to integrate SEI with CircleCI.
Requirements
To use the SEI CircleCI integration, you need a CircleCI personal API token. Copy the token somewhere that you can retrieve it when you configure the integration. For instructions, go to the CircleCI documentation on Creating a personal API token.
Configure the integration
- Cloud
- Satellite
-
In your Harness project, go to the SEI module, and select Account.
-
Select Integrations under Data Settings.
-
Select Available Integrations, locate the CircleCI integration, and select Install.
-
Configure and save the integration.
- URL: Enter the URL for your CircleCI platform.
- Authorization Token: Enter your CircleCI personal API token.
- Repositories: You can specify repositories to associate with the integration. If unspecified, the integration associates all available repositories.
- Fetch Action Logs: Select this option if you want SEI to ingest action logs from CircleCI.
- Name: Enter a name for the integration.
- Description, Tags, and Timezone are optional.
The steps for configuring the integration using Satellite is similar to configuring the integration on cloud, with the exception of using satellite to communicate with the Circle CI server.
Make sure to select the satellite integration checkbox while configuring the integration. Once you save the integration a satellite.yml
file will be automatically generated and downloaded to your system. Update it following the instructions here.
Here’s a sample satellite.yml
file:
satellite:
tenant: <ACCOUNT_ID>
api_key: <ACCOUNT_API_KEY>
url: 'https://app.harness.io/gratis/sei/api' # Note that this URL is relative to the environment you are using.
integrations:
- id: '<INTEGRATION_ID>'
application: circleci
url: '<CIRCLECI_URL>' # https://app.circleci.com/pipelines/github/codewdhruv
apikey: <CIRCLECI_API_KEY>
metadata:
repos: <REPOSITORY>
fetch_action_logs: true
timezone: 'GMT-12:00'
is_push_based: false
If you encounter any issues during the integration process, go to the Satellite integration Troubleshooting and FAQs.