Fix approved-image option in manifests target & fix GHA artifact name - #337
Merged
Jakob-Naucke merged 2 commits intoAug 17, 2026
Merged
Conversation
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR fixes the must-gather artifact naming in the integration test GitHub workflow and corrects the approved-image argument passed from the Makefile to the manifests generation script to include the required coreos prefix. Flow diagram for manifests target approved-image argument changeflowchart LR
Dev[Developer runs make manifests] --> M[Makefile manifests target]
M --> G[generate target]
G --> S[manifests generation script]
S --> A["approved-image coreos,$(APPROVED_IMAGE)"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- In the GitHub workflow, consider using
${{ github.head_ref }}directly in the artifact name rather than${{ env.GITHUB_HEAD_REF }}unless there’s a specific need for the indirection, which simplifies the configuration. - In the
manifeststarget, addingcoreos,directly before$(APPROVED_IMAGE)could produce a trailing comma whenAPPROVED_IMAGEis empty; consider guarding against empty values or constructing the list dynamically. - If
coreosis intended to be a configurable approved image rather than always included, consider making this prefix parameterized (e.g., via a variable) instead of hardcoding it into the Makefile target.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- In the GitHub workflow, consider using `${{ github.head_ref }}` directly in the artifact name rather than `${{ env.GITHUB_HEAD_REF }}` unless there’s a specific need for the indirection, which simplifies the configuration.
- In the `manifests` target, adding `coreos,` directly before `$(APPROVED_IMAGE)` could produce a trailing comma when `APPROVED_IMAGE` is empty; consider guarding against empty values or constructing the list dynamically.
- If `coreos` is intended to be a configurable approved image rather than always included, consider making this prefix parameterized (e.g., via a variable) instead of hardcoding it into the Makefile target.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Jakob-Naucke
force-pushed
the
manifests-option
branch
from
August 14, 2026 10:49
9c8ee6e to
e05a037
Compare
Member
|
lgtm |
SpaceFace02
approved these changes
Aug 17, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Jakob-Naucke, SpaceFace02 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 |
Jakob-Naucke
merged commit Aug 17, 2026
b31be0d
into
trusted-execution-clusters:main
14 of 15 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
Ensure integration test artifacts are named correctly in GitHub Actions and update the manifests target to pass the approved image with the required prefix.
Build:
CI: