[WIP] DO NOT MERGE - testing haproxy rpm build version#801
Conversation
|
/test images |
|
Skipping CI for Draft Pull Request. |
WalkthroughA single ChangesIntentional Dockerfile build failure
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@images/router/haproxy/Dockerfile.ocp`:
- Line 20: The Dockerfile contains an unconditional build failure command `RUN
exit 1` that prevents any image builds from completing successfully. Remove this
`RUN exit 1` line from the Dockerfile entirely to allow the build pipeline to
proceed normally.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: bfab6d7f-fc99-4d42-92a5-31b6a12c12eb
📒 Files selected for processing (1)
images/router/haproxy/Dockerfile.ocp
| USER 1001 | ||
| EXPOSE 80 443 | ||
| WORKDIR /var/lib/haproxy/conf | ||
| RUN exit 1 |
There was a problem hiding this comment.
🩺 Stability & Availability | 🔴 Critical | ⚡ Quick win
Remove the unconditional build breaker before merge.
Line 20 (RUN exit 1) guarantees a non-zero exit, so every build that consumes this Dockerfile fails. Given the Makefile target builds from images/router/*/Dockerfile.ocp, this blocks the OCP router image pipeline entirely.
Suggested fix
WORKDIR /var/lib/haproxy/conf
-RUN exit 1
ENV TEMPLATE_FILE=/var/lib/haproxy/conf/haproxy-config.template \
RELOAD_SCRIPT=/var/lib/haproxy/reload-haproxy🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@images/router/haproxy/Dockerfile.ocp` at line 20, The Dockerfile contains an
unconditional build failure command `RUN exit 1` that prevents any image builds
from completing successfully. Remove this `RUN exit 1` line from the Dockerfile
entirely to allow the build pipeline to proceed normally.
|
@gcs278: The following test failed, say
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. |
a quick PR to fail the images job so we can see what RPM is getting installed quickly.
Summary by CodeRabbit