feat(gitops-deploy): cross-repo support for v2.0 src/IaC split#2
Merged
Conversation
…for v2.0 src/IaC split Adds optional gitops_repo input + gitops_token secret so a Service's src-CI can bump the image tag in a SEPARATE <service>-iac GitOps repo (the v2.0 src/IaC split). Back-compat: both default to the caller's own repo + GITHUB_TOKEN, so existing single-repo apps are unchanged. Cross-repo writes use a GitHub App installation token (contents:write). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
This was referenced Jun 21, 2026
… image tag Optional space/comma-separated yq paths in the same values file set to the same unique image_tag_value (e.g. .vars.APP_VERSION → onechart ConfigMap env). Surfaces the deployed tag to the app so a version-aware acceptance gate (pull-wait) can confirm the new image is live, not the old pod. Back-compat: empty → only image_tag_path bumped. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The push-retry loop ended silently after 5 failed attempts → the step exited 0, reporting a green deploy that never committed the tag bump. Track success and exit 1 if every attempt failed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Adds
gitops_repoinput +gitops_tokensecret to thegitops-deployreusable so a Service's src-CI can bump the image tag in a separate<service>-iacGitOps repo (the opsta-ai-pe v2.0 src/IaC split).Back-compat: both default to the caller's own repo +
GITHUB_TOKEN→ existing single-repo apps unchanged. Cross-repo writes pass a GitHub App installation token (contents:write on the target).Part of the opsta-ai-pe v2.0 multi-cluster milestone. Follow-up: cross-registry crane bridge (cross-provider promote) + pull-wait acceptance (edge ArgoCD).
🤖 Generated with Claude Code