feat: add cloudsmith integration#3318
Open
samuel-asleep wants to merge 9 commits intosuperplanehq:mainfrom
Open
feat: add cloudsmith integration#3318samuel-asleep wants to merge 9 commits intosuperplanehq:mainfrom
samuel-asleep wants to merge 9 commits intosuperplanehq:mainfrom
Conversation
…th.onPackageEvent action and trigger componenets Signed-off-by: Akinniranye Samuel Tomiwa <[email protected]>
Signed-off-by: Akinniranye Samuel Tomiwa <[email protected]>
Contributor
Author
|
@forestileao @AleksandarCole please review !? |
Contributor
Author
Collaborator
|
/sp start |
|
✅ Ready. Web: https://pr-3318.ephemeral.superplane.com |
Collaborator
|
/sp stop |
|
✅ Ephemeral machine has been terminated. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces first-class support for Cloudsmith package repositories, including a new integration, component, documentation, and tests. The main changes add the ability to connect to Cloudsmith, fetch package details, list repositories, and trigger workflows on package events. The implementation includes robust configuration, example data, and full test coverage.
Cloudsmith Integration Implementation:
cloudsmithintegration with configuration, registration, and lifecycle methods incloudsmith.go. This enables Superplane to connect to Cloudsmith using an API key and workspace, and exposes triggers and components for workflows.Clientinclient.gofor Cloudsmith API operations, including credential validation, listing repositories, fetching package details, and managing webhooks.list_resources.goto enumerate Cloudsmith repositories as integration resources.Component and Trigger Support:
GetPackagecomponent inget_package.go, allowing workflows to fetch and emit metadata for a specific Cloudsmith package by repository and identifier.example.goand embedded JSON files, supporting documentation and UI previews. [1] [2] [3]Documentation and Testing:
Cloudsmith.mdx, including setup instructions, use cases, and example payloads.GetPackagecomponent, ensuring correct configuration handling, API requests, and output emission. [1] [2]DEMO VIDEO
2026-03-01.16-52-44.mp4