shiftstack/liveliness: fix yq syntax for mikefarah yq in scripts image - #84153
shiftstack/liveliness: fix yq syntax for mikefarah yq in scripts image#84153IlanZuckerman wants to merge 1 commit into
Conversation
openshift#83891 used kislyuk yq flags (--yaml-output) but this step runs in shiftstack-scripts-image, which ships mikefarah yq via dnf. This cause the `yq` to fail with: `Error: unknown flag: --yaml-output`
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. WalkthroughThe ShiftStack liveliness command now uses ChangesShiftStack liveliness command
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This one-line script change corrects the yq command syntax for the image’s installed implementation; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. Full details: Stable And Deterministic Test NamesExplanation PASS. The pull request changes only one shell command in Full details: Test Structure And QualityExplanation PASS: The pull request changes only Full details: Microshift Test CompatibilityExplanation The pull request changes only one shell command in Full details: Single Node Openshift (Sno) Test CompatibilityExplanation PASS: The pull request changes only Full details: Topology-Aware Scheduling CompatibilityExplanation PASS: The pull request changes only one shell command in Full details: Ote Binary Stdout ContractExplanation PASS: The pull request changes only one shell command in Full details: Ipv6 And Disconnected Network Test CompatibilityExplanation PASS: The pull request changes only one shell command in Full details: No-Weak-CryptoExplanation The pull request changes only the Full details: Container-PrivilegesExplanation PASS: The pull request changes only the Full details: No-Sensitive-Data-In-LogsExplanation PASS: The pull request changes only the ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: IlanZuckerman The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse periodic-ci-shiftstack-ci-main-liveliness-mecha-central |
|
@IlanZuckerman: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse ack |
1 similar comment
|
/pj-rehearse ack |
|
@IlanZuckerman: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@IlanZuckerman: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Closing as not needed. See #84164 |
#83891 used kislyuk yq flags (--yaml-output) but this step runs in shiftstack-scripts-image, which ships mikefarah yq via dnf. This cause the
yqto fail with:Error: unknown flag: --yaml-outputHere is an example of the failure in the most recent CI runs: https://storage.googleapis.com/test-platform-results/logs/periodic-ci-shiftstack-ci-main-liveliness-mecha-central/2092718191812808704/build-log.txt
Here is the proof that this PR fixes the issue:
Before the fix (when using the
--yaml-output):After the fix (when using the
-i):