Skip to content

feat: add cloudsmith integration#3318

Open
samuel-asleep wants to merge 9 commits intosuperplanehq:mainfrom
samuel-asleep:add-cloudsmith
Open

feat: add cloudsmith integration#3318
samuel-asleep wants to merge 9 commits intosuperplanehq:mainfrom
samuel-asleep:add-cloudsmith

Conversation

@samuel-asleep
Copy link
Contributor

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:

  • Added a new cloudsmith integration with configuration, registration, and lifecycle methods in cloudsmith.go. This enables Superplane to connect to Cloudsmith using an API key and workspace, and exposes triggers and components for workflows.
  • Implemented the Client in client.go for Cloudsmith API operations, including credential validation, listing repositories, fetching package details, and managing webhooks.
  • Added resource listing logic in list_resources.go to enumerate Cloudsmith repositories as integration resources.

Component and Trigger Support:

  • Introduced the GetPackage component in get_package.go, allowing workflows to fetch and emit metadata for a specific Cloudsmith package by repository and identifier.
  • Provided example data and output for triggers and components in example.go and embedded JSON files, supporting documentation and UI previews. [1] [2] [3]

Documentation and Testing:

  • Added comprehensive documentation for Cloudsmith integration, triggers, and actions in Cloudsmith.mdx, including setup instructions, use cases, and example payloads.
  • Implemented unit tests for the client and the GetPackage component, ensuring correct configuration handling, API requests, and output emission. [1] [2]

DEMO VIDEO

2026-03-01.16-52-44.mp4

…th.onPackageEvent action and trigger componenets

Signed-off-by: Akinniranye Samuel Tomiwa <[email protected]>
Signed-off-by: Akinniranye Samuel Tomiwa <[email protected]>
@samuel-asleep samuel-asleep changed the title feat: add cloudsmith integration and cloudsmith.getPackage , cloudsmith.onPackageEvent action and trigger componenets feat: add cloudsmith integration Mar 1, 2026
@samuel-asleep
Copy link
Contributor Author

@forestileao @AleksandarCole please review !?

@samuel-asleep
Copy link
Contributor Author

@shiroyasha ?

@AleksandarCole
Copy link
Collaborator

/sp start

@superplanehq-integration
Copy link

✅ Ready.

Web: https://pr-3318.ephemeral.superplane.com
SSH: ssh -o StrictHostKeyChecking=no [email protected]
Logs: ssh -o StrictHostKeyChecking=no [email protected] 'cd superplane && make dev.logs.app'

@AleksandarCole
Copy link
Collaborator

/sp stop

@superplanehq-integration
Copy link

✅ Ephemeral machine has been terminated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Cloudsmith] Base

2 participants