Skip to content

feat(gitops-deploy): cross-repo support for v2.0 src/IaC split#2

Merged
winggundamth merged 3 commits into
mainfrom
feat/v2.0-cross-repo-gitops-deploy
Jun 21, 2026
Merged

feat(gitops-deploy): cross-repo support for v2.0 src/IaC split#2
winggundamth merged 3 commits into
mainfrom
feat/v2.0-cross-repo-gitops-deploy

Conversation

@jirayut-opsta

Copy link
Copy Markdown
Contributor

Adds gitops_repo input + gitops_token secret to the gitops-deploy reusable so a Service's src-CI can bump the image tag in a separate <service>-iac GitOps 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

…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>
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

… 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>
@winggundamth winggundamth merged commit f4ad66b into main Jun 21, 2026
@winggundamth winggundamth deleted the feat/v2.0-cross-repo-gitops-deploy branch June 21, 2026 10:34
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.

2 participants