Repository navigation
Conversation
The IDMS patching used mikefarah-only syntax (yq eval -i), which hard-fails under the python jq-wrapper yq, and its read guard silently fails there too (no eval subcommand), which would add duplicate mirror entries. Route writes through a local disconnected::yq_inplace helper (bare -i on mikefarah, --yaml-roundtrip --in-place on python yq) and drop eval from the read guards so bare yq '<expr>' works on both flavors. Verified against mikefarah v4.54.3 and python yq 3.4.3. Related Jira: RHIDP-9953 Assisted-By: paseo (pi + GLM 5.3 (EnMaaS), thinking: high) Signed-off-by: Nick Boldt <nboldt@redhat.com>
|
Pipeline controller notification This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration. Use |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5978 +/- ##
==========================================
- Coverage 82.04% 78.41% -3.64%
==========================================
Files 71 64 -7
Lines 908 755 -153
Branches 139 122 -17
==========================================
- Hits 745 592 -153
Misses 162 162
Partials 1 1
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|



Summary
.ci/pipelines/lib/disconnected/mirror.shused mikefarah-only syntax (yq eval -i), which hard-fails under the python jq-wrapper yq, while its read guard (yq eval '.spec.imageDigestMirrors[].source') silently fails there too (noevalsubcommand) — which would add duplicate mirror entries before the write fails.disconnected::yq_inplacehelper (bare-ion mikefarah,--yaml-roundtrip --in-placeon python yq), matching the flavor-bridging helper already used midstream inbuild/ci/sync-midstream.sh.evalfrom the read guards so bareyq '<expr>'works on both flavors.Related Jira: RHIDP-9953
Assisted-By: paseo (pi + GLM 5.3 (EnMaaS), thinking: high)