Draft: fix failing pipeline

Summary

The pipeline was failing because the check-readme job detected a difference in README.md. The merge request had manually added 2 trailing blank lines to the end of README.md, but since this file is auto-generated by make docs from .gitlab/README.md.template, the generation script does not preserve trailing blank lines. When the CI job ran make docs, it regenerated README.md without the trailing blank lines, causing git diff --exit-code to fail.

Changes

  • Removed 2 trailing blank lines from the end of README.md (after line 1158: "See the CONTRIBUTING.md guide.")
  • File now ends with a single newline character as expected by the auto-generation script
  • File reduced from 1162 lines to 1160 lines

Verification

The fix has been verified by:

  • Confirmed the file now ends with "See the CONTRIBUTING.md guide.\n" (single newline)
  • Git diff shows exactly 2 blank lines removed (matching the CI failure pattern)
  • File now has 1160 lines (previously had 1162 with the blank lines)
  • The change matches what the CI pipeline expects from make docs

Note: Full verification with make docs requires yq which could not be installed in the current environment due to network restrictions and read-only filesystem. However, the fix is correct based on the git diff analysis and the CI failure logs, which show that the generation script produces README.md without trailing blank lines.

Expected Outcome

When the CI pipeline runs:

  • make docs will regenerate README.md (which will be identical to the current version)
  • git diff --exit-code will find no differences
  • The check-readme job will pass
  • The pipeline will succeed

Fixes failing pipeline on !512 (closed)

Session 3011783

Edited by Duo Fix CI/CD Pipeline

Merge request reports

Loading