feat: Add CircleCI integration#2916
Conversation
|
@vikramships great start! 🎉 I left a few comments that need to be addressed before we can merge. |
|
@vikramships thank you for the PR.
|
Hi @forestileao, I'm working on these improvements based on the examples. Thanks. |
70338f4 to
8a3dad1
Compare
|
@forestileao @shiroyasha @lucaspin - All feedback addressed. Frontend mappers implemented. Ready for re-review when you get a chance. Thanks! |
|
@vikramships it seems that you have conflicts with the main branch, can you please address them 🙏 |
e27d1e3 to
fec1d18
Compare
Thanks for mentioning this @shiroyasha, I pushed new changes. |
|
@vikramships thanks for adding the mapper in the frontend. But please address the comments from @lucaspin and @shiroyasha and resolve them once done. |
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
8f120ca to
be17845
Compare
Signed-off-by: Igor Šarčević <igor@operately.com>
Signed-off-by: Igor Šarčević <igor@operately.com>
006546f to
0a9ab93
Compare
Signed-off-by: Igor Šarčević <igor@operately.com>
8a17d99 to
84f26ba
Compare
## What Changed Added CircleCI integration with API token authentication. This includes two components: a trigger that listens for pipeline completions and an action that starts pipelines and tracks them to completion. ## Why This integration enables SuperPlane users to orchestrate CircleCI pipelines within their workflows. Users can trigger builds, monitor pipeline status, and react to completion events without leaving SuperPlane. ## How **Base Integration:** - Uses CircleCI Personal API Token for authentication - Implements webhook provisioning for real-time events - Follows the Semaphore integration pattern **On Pipeline Completed (Trigger):** - Registers webhooks with CircleCI to receive workflow completion events - Verifies webhook signatures using HMAC SHA256 - Emits events when workflows finish (success/failed/canceled) **Trigger Pipeline (Action):** - Starts pipelines via CircleCI API with configurable parameters - Monitors completion using webhook + polling fallback (10s interval) - Routes to success/failed output channels based on final workflow status - Automatically injects SuperPlane execution context as pipeline parameters **Tests & Documentation:** - Unit tests for all components - Integration tests for webhook handling - Full documentation in `docs/components/CircleCI.mdx` ## Demo Video https://www.youtube.com/watch?v=PvzHGetsujk The video shows: 1. Integration setup with API token 2. On Pipeline Completed trigger detecting a pipeline completion 3. Trigger Pipeline action starting a pipeline and tracking it to success ## Related Issues Closes superplanehq#1957 ## Breaking Changes None --------- Signed-off-by: vikramships <zenohkai@gmail.com> Signed-off-by: Ramesh Kumar Voodi <voodirameshkumar@gmail.com> Signed-off-by: Igor Šarčević <igor@operately.com> Co-authored-by: Igor Šarčević <igor@operately.com> Signed-off-by: Aldo <aldo.abellto14@gmail.com>
## What Changed Added CircleCI integration with API token authentication. This includes two components: a trigger that listens for pipeline completions and an action that starts pipelines and tracks them to completion. ## Why This integration enables SuperPlane users to orchestrate CircleCI pipelines within their workflows. Users can trigger builds, monitor pipeline status, and react to completion events without leaving SuperPlane. ## How **Base Integration:** - Uses CircleCI Personal API Token for authentication - Implements webhook provisioning for real-time events - Follows the Semaphore integration pattern **On Pipeline Completed (Trigger):** - Registers webhooks with CircleCI to receive workflow completion events - Verifies webhook signatures using HMAC SHA256 - Emits events when workflows finish (success/failed/canceled) **Trigger Pipeline (Action):** - Starts pipelines via CircleCI API with configurable parameters - Monitors completion using webhook + polling fallback (10s interval) - Routes to success/failed output channels based on final workflow status - Automatically injects SuperPlane execution context as pipeline parameters **Tests & Documentation:** - Unit tests for all components - Integration tests for webhook handling - Full documentation in `docs/components/CircleCI.mdx` ## Demo Video https://www.youtube.com/watch?v=PvzHGetsujk The video shows: 1. Integration setup with API token 2. On Pipeline Completed trigger detecting a pipeline completion 3. Trigger Pipeline action starting a pipeline and tracking it to success ## Related Issues Closes superplanehq#1957 ## Breaking Changes None --------- Signed-off-by: vikramships <zenohkai@gmail.com> Signed-off-by: Ramesh Kumar Voodi <voodirameshkumar@gmail.com> Signed-off-by: Igor Šarčević <igor@operately.com> Co-authored-by: Igor Šarčević <igor@operately.com>
## What Changed Added CircleCI integration with API token authentication. This includes two components: a trigger that listens for pipeline completions and an action that starts pipelines and tracks them to completion. ## Why This integration enables SuperPlane users to orchestrate CircleCI pipelines within their workflows. Users can trigger builds, monitor pipeline status, and react to completion events without leaving SuperPlane. ## How **Base Integration:** - Uses CircleCI Personal API Token for authentication - Implements webhook provisioning for real-time events - Follows the Semaphore integration pattern **On Pipeline Completed (Trigger):** - Registers webhooks with CircleCI to receive workflow completion events - Verifies webhook signatures using HMAC SHA256 - Emits events when workflows finish (success/failed/canceled) **Trigger Pipeline (Action):** - Starts pipelines via CircleCI API with configurable parameters - Monitors completion using webhook + polling fallback (10s interval) - Routes to success/failed output channels based on final workflow status - Automatically injects SuperPlane execution context as pipeline parameters **Tests & Documentation:** - Unit tests for all components - Integration tests for webhook handling - Full documentation in `docs/components/CircleCI.mdx` ## Demo Video https://www.youtube.com/watch?v=PvzHGetsujk The video shows: 1. Integration setup with API token 2. On Pipeline Completed trigger detecting a pipeline completion 3. Trigger Pipeline action starting a pipeline and tracking it to success ## Related Issues Closes superplanehq#1957 ## Breaking Changes None --------- Signed-off-by: vikramships <zenohkai@gmail.com> Signed-off-by: Ramesh Kumar Voodi <voodirameshkumar@gmail.com> Signed-off-by: Igor Šarčević <igor@operately.com> Co-authored-by: Igor Šarčević <igor@operately.com> Signed-off-by: Muhammad Fuzail Zubari <mfuzail.zubari@gmail.com>
## What Changed Added CircleCI integration with API token authentication. This includes two components: a trigger that listens for pipeline completions and an action that starts pipelines and tracks them to completion. ## Why This integration enables SuperPlane users to orchestrate CircleCI pipelines within their workflows. Users can trigger builds, monitor pipeline status, and react to completion events without leaving SuperPlane. ## How **Base Integration:** - Uses CircleCI Personal API Token for authentication - Implements webhook provisioning for real-time events - Follows the Semaphore integration pattern **On Pipeline Completed (Trigger):** - Registers webhooks with CircleCI to receive workflow completion events - Verifies webhook signatures using HMAC SHA256 - Emits events when workflows finish (success/failed/canceled) **Trigger Pipeline (Action):** - Starts pipelines via CircleCI API with configurable parameters - Monitors completion using webhook + polling fallback (10s interval) - Routes to success/failed output channels based on final workflow status - Automatically injects SuperPlane execution context as pipeline parameters **Tests & Documentation:** - Unit tests for all components - Integration tests for webhook handling - Full documentation in `docs/components/CircleCI.mdx` ## Demo Video https://www.youtube.com/watch?v=PvzHGetsujk The video shows: 1. Integration setup with API token 2. On Pipeline Completed trigger detecting a pipeline completion 3. Trigger Pipeline action starting a pipeline and tracking it to success ## Related Issues Closes superplanehq#1957 ## Breaking Changes None --------- Signed-off-by: vikramships <zenohkai@gmail.com> Signed-off-by: Ramesh Kumar Voodi <voodirameshkumar@gmail.com> Signed-off-by: Igor Šarčević <igor@operately.com> Co-authored-by: Igor Šarčević <igor@operately.com> Signed-off-by: Muhammad Fuzail Zubari <mfuzail.zubari@gmail.com>
What Changed
Added CircleCI integration with API token authentication. This includes two components: a trigger that listens for pipeline completions and an action that starts pipelines and tracks them to completion.
Why
This integration enables SuperPlane users to orchestrate CircleCI pipelines within their workflows. Users can trigger builds, monitor pipeline status, and react to completion events without leaving SuperPlane.
How
Base Integration:
On Pipeline Completed (Trigger):
Trigger Pipeline (Action):
Tests & Documentation:
docs/components/CircleCI.mdxDemo Video
https://www.youtube.com/watch?v=PvzHGetsujk
The video shows:
Related Issues
Closes #1957
Breaking Changes
None