feat(ISV-7220): switch pipelines to rh-direct-sign-image#2320
Conversation
PR Reviewer Guide 🔍Warning
Here are some key observations to aid the review process:
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
28 rules 1. Mock script missing pipefail
|
| #!/usr/bin/env bash | ||
| set -eux |
There was a problem hiding this comment.
2. Mock script missing pipefail 📘 Rule violation ☼ Reliability
The newly added mock script uses set -eux and does not enable pipefail, violating the strict-mode requirement for standalone shell scripts. Missing pipefail can hide failures in piped commands during tests.
Agent Prompt
## Issue description
The standalone bash script does not enable required strict-mode flags (`-euo pipefail`).
## Issue Context
This file is an executable mock used by tests; strict mode reduces flakiness and prevents silent failures.
## Fix Focus Areas
- tasks/managed/rh-direct-sign-image/tests/mocks/rh_direct_sign_image.py[1-4]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
New task for signing images using the direct signing method, which will replace rh-sign-image that goes through Radas. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Ales Raszka <araszka@redhat.com>
Replace rh-sign-image with rh-direct-sign-image in rh-advisories, rh-push-to-registry-redhat-io, and rh-push-helm-chart-to-registry-redhat-io pipelines. Remove the releasePlanAdmissionPath param not used by the new task and update references in tests, READMEs, and task description. JIRA: ISV-7220, ISV-7219 Signed-off-by: Ales Raszka <araszka@redhat.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
PR Reviewer Guide 🔍Warning
Here are some key observations to aid the review process:
|
|
Code review by qodo was updated up to the latest commit 6140581 |
|
/retest |
1 similar comment
|
/retest |
Replaces rh-sign-image with rh-direct-sign-image across the three managed release pipelines:
The new task calls the signing script directly as a command (it is now on PATH) instead of going through RADAS. The releasePlanAdmissionPath parameter, which
is not used by rh-direct-sign-image, has been removed from all three pipeline task invocations.
References in integration test assertions, READMEs, and task description prose have been updated to match the new task name.
This PR depends on ISV-7115 which introduces the rh-direct-sign-image task.
JIRA: ISV-7220, ISV-7219
Test plan
Relevant Jira
Checklist before requesting a review
do not mergelabel if there's a dependency PRrelease-service-maintainershandle if you are unsure who to tagSigned-off-by: My name <email>.github/scripts/readme_generator.shand verified the results using.github/scripts/check_readme.shAssisted-By: Cursor