CircleCI Agent Setup
- Updated On 27 Jan 2021
- 1 Minute To Read
-
DarkLight
Sending Events from CircleCI
Pre-Requisits
- Install the CTO.ai CLI
- Get a Secret Key and ClientID
- While we are in Beta Contact Us and we'll send you your new credentials
- Generate the Token
Setup
If your CI/CD runs on CircleCI, you can use the CTO.ai CircleCI Orb to instrument your CICD with Workflow Events.
The Orb can be accessed with this stanza in your CircleCI configuration yaml:
orbs:
cto-ai: cto-ai/[email protected]
Use the Orb to send Events to CTO.ai by calling it from your steps
:
steps:
- cto-ai/event:
token: ${CTOAI_EVENTS_API_TOKEN}
team_id: ${CTOAI_EVENTS_API_TEAM_ID}
event_name: deployment
event_action: succeeded
branch: main
commit: abc123
repo: www
image: def657
name: user
origin: shell
More information can be found at the CTO.ai Events Orb Example.
For more information on the types of Events you can send and track check out our Delivery Events and Lifecycle Events
🚀 What's next?
- Check out more infomration on Insights
- Integrate with other Systems to capture Events
- Dig into our Delivery and Lifecycle Events
📞 Need help? No problem!
-
📧 If you have questions, we are happy to help, please contact support
-
👉 Join our Slack Community to get help or share your ideas.