Skip to content

APIE-812: Add GCP support in connect artifact commands#3255

Open
Himanshu Singla (hisingla12) wants to merge 4 commits intomainfrom
connect-artifact-gcp-support
Open

APIE-812: Add GCP support in connect artifact commands#3255
Himanshu Singla (hisingla12) wants to merge 4 commits intomainfrom
connect-artifact-gcp-support

Conversation

@hisingla12
Copy link
Member

@hisingla12 Himanshu Singla (hisingla12) commented Feb 6, 2026

Release Notes

New Features

  • Add GCP Cloud support to Connect Artifact Commands.

Checklist

  • I have successfully built and used a custom CLI binary, without linter issues from this PR.
  • I have clearly specified in the What section below whether this PR applies to Confluent Cloud, Confluent Platform, or both.
  • I have verified this PR in Confluent Cloud pre-prod or production environment, if applicable.
  • I have verified this PR in Confluent Platform on-premises environment, if applicable.
  • I have attached manual CLI verification results or screenshots in the Test & Review section below.
  • I have added appropriate CLI integration or unit tests for any new or updated commands and functionality.
  • I confirm that this PR introduces no breaking changes or backward compatibility issues.
  • I have indicated the potential customer impact if something goes wrong in the Blast Radius section below.
  • I have put checkmarks below confirming that the feature associated with this PR is enabled in:
    • Confluent Cloud prod
    • Confluent Cloud stag
    • Confluent Platform
    • Check this box if the feature is enabled for certain organizations only

What

Cli support for connect artifact upload for csmt connectors was already enabled for AWS and Azure, with this PR we are enabling/supporting it for GCP

Blast Radius

Changes affect Upload artifact flow for connect artifacts

References

https://confluentinc.atlassian.net/browse/APIE-812

Test & Review

This PR has been tested by building the binary, and testing against stag environment (stag.cpdev.cloud). Testing has been done for all CSPs - AWS, Azure and GCP

List artifact AWS ✅
Screenshot 2026-02-25 at 6 59 58 PM

List artifact Azure ✅
Screenshot 2026-02-25 at 7 01 15 PM

List artifact GCP ✅
Screenshot 2026-02-25 at 7 03 00 PM

Create artifact AWS ✅
Screenshot 2026-02-25 at 7 03 30 PM

Create artifact Azure ✅
Screenshot 2026-02-25 at 7 03 48 PM

Create artifact GCP ✅
Screenshot 2026-02-25 at 7 04 15 PM

Describe Artifact AWS ✅
Screenshot 2026-02-25 at 7 05 44 PM

Describe Artifact Azure ✅
Screenshot 2026-02-25 at 7 10 51 PM

Describe Artifact GCP ✅
Screenshot 2026-02-25 at 7 10 31 PM

Delete Artifact AWS ✅
Screenshot 2026-02-25 at 7 07 08 PM

Delete Artifact Azure ✅
Screenshot 2026-02-25 at 7 07 32 PM

Delete Artifact GCP ✅
Screenshot 2026-02-25 at 7 12 00 PM

@hisingla12 Himanshu Singla (hisingla12) requested a review from a team as a code owner February 6, 2026 08:36
Copilot AI review requested due to automatic review settings February 6, 2026 08:36
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for Google Cloud Platform (GCP) in the connect artifact commands, expanding the CLI's cloud provider capabilities beyond AWS and Azure.

Changes:

  • Updated connect artifact commands (create, list, describe, delete) to support GCP cloud provider
  • Added comprehensive test coverage for GCP artifact operations including JAR and ZIP formats
  • Updated validation logic and error messages to include GCP as a supported cloud provider

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
internal/connect/command_artifact_create.go Added GCP to supported clouds list, updated error message, and implemented GCP-specific upload logic
internal/connect/command_artifact_list.go Changed flag from AWS/Azure-specific to generic cloud flag
internal/connect/command_artifact_describe.go Changed flag from AWS/Azure-specific to generic cloud flag
internal/connect/command_artifact_delete.go Changed flag from AWS/Azure-specific to generic cloud flag
test/connect_test.go Added comprehensive test cases for GCP artifact operations (create, list, describe, delete)
test/test-server/connect_handler.go Added GCP test artifacts and updated handlers to recognize GCP artifact IDs
test/fixtures/output/connect/artifact/*.golden Added golden files for GCP artifact operation outputs in various formats (table, JSON, YAML)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hisingla12 Himanshu Singla (hisingla12) changed the title Add GCP support in connect artifact commands PIE-812: Add GCP support in connect artifact commands Feb 18, 2026
@hisingla12 Himanshu Singla (hisingla12) changed the title PIE-812: Add GCP support in connect artifact commands APIE-812: Add GCP support in connect artifact commands Feb 18, 2026
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking for any issues with this PR implementation...

Copy link
Member

@danielayaz Daniel Ayaz (danielayaz) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there are some failing tests in the PR pipeline

@sonarqube-confluent
Copy link

@hisingla12
Copy link
Member Author

Daniel Ayaz (@danielayaz) I have fixed the test.

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.

3 participants