Skip to content

Comments

feat(cloudrun): implement DetermineVersions for v1 plugin architectur…#6536

Open
moghit-eou wants to merge 1 commit intopipe-cd:masterfrom
moghit-eou:feat/cloudrun-v1-determine-versions
Open

feat(cloudrun): implement DetermineVersions for v1 plugin architectur…#6536
moghit-eou wants to merge 1 commit intopipe-cd:masterfrom
moghit-eou:feat/cloudrun-v1-determine-versions

Conversation

@moghit-eou
Copy link

@moghit-eou moghit-eou commented Feb 18, 2026

What this PR does:

  • Implements the DetermineVersions lifecycle method for the new Cloud Run v1 plugin.
  • Adds a robust ImageVersionExtraction helper function to handle diverse container image formats environments.
  • Updates the CloudRunDeploymentInput struct in application.go to include the image field required for version determination.
  • Includes comprehensive unit tests in plugin_test.go to verify the extraction logic against various real-world image strings.

Why we need it:
The v1 plugin architecture requires explicit logic to identify artifact versions for the Control Plane. This implementation allows PipeCD to correctly populate the "Version" column in the Deployment UI, which is a core requirement for the Cloud Run v1 migration.

Which issue(s) this PR fixes:
Fixes #6114

Does this PR introduce a user-facing change?:
Yes.

  • How are users affected by this change: Users must now specify the image field within the input section of their Cloud Run application configuration. This enables PipeCD to track and display the specific container version being deployed.
  • Is this breaking change: No, as this is part of the initial migration to the v1 plugin architecture.
  • How to migrate (if breaking change): N/A.

@moghit-eou moghit-eou force-pushed the feat/cloudrun-v1-determine-versions branch from 4601466 to e6a10b0 Compare February 18, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Cloud Run services Plugin

1 participant