OSAC-1282: sync helm values image tags with submodule commits - #227
omer-vishlitzky merged 2 commits into
Conversation
|
@omer-vishlitzky: This pull request references OSAC-1282 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Warning Review limit reached
More reviews will be available in 54 minutes and 48 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository: osac-project/coderabbit/.coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (2)
WalkthroughThe PR improves submodule automation by adding an early-exit guard to prevent unnecessary commits when the branch is already up-to-date, updates PR handling to edit existing PRs in-place, and extends tag synchronization to validate and fix Helm chart values files using submodule-derived SHA tags with component-specific update logic. ChangesSubmodule Automation and Values Sync
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 10 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/retest |
Extend sync-image-tags.sh to also update image SHAs in values/*.yaml files. Covers both the operator's separate tag: field and the inline image:tag format used by fulfillment-service and osac-aap. Skips files using :latest (development.yaml). The bump-submodules workflow already calls this script with --fix, so helm values will stay in sync automatically. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
288bd58 to
432cb87
Compare
| for pair in \ | ||
| "osac-operator:tag ${operator_tag}" \ | ||
| "fulfillment-service:inline ${fulfillment_tag}" \ | ||
| "osac-aap:inline ${aap_tag}"; do |
There was a problem hiding this comment.
I think that this works because the overlay section runs first, but relying on that global ${aap_tag} is fragile. We might want to define it locally alongside operator_tag to keep this block self-contained.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
432cb87 to
60f68b3
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eliorerz, omer-vishlitzky The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
sync-image-tags.shonly syncedbase/kustomization.yamland overlay env vars — helmvalues/*.yamlfiles were pinned independently and had driftedvalues/*.yaml, covering both the operator'stag:field and the inlineimage:tagformat (fulfillment-service, osac-aap):latest(e.g.development.yaml)sync-image-tags.sh --fix, so helm values will stay in sync automatically going forwardJira: OSAC-1282
Test plan
sync-image-tags.shdetects all mismatches in check modesync-image-tags.sh --fixupdates all values files correctlydevelopment.yaml(uses:latest) is skippedSummary by CodeRabbit