-
Notifications
You must be signed in to change notification settings - Fork 55
Minor fixes #652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel
Are you sure you want to change the base?
Minor fixes #652
Conversation
Skipping CI for Draft Pull Request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances secret variable checks in various cloud image handler scripts by temporarily disabling shell debug tracing and updates Docker ignore patterns to exclude generated output directories.
- Suppress
set -x
tracing around sensitive environment variable validations in libvirt, GCP, Azure, and AWS handlers. - Remove initial unconditional debug tracing lines in GCP, Azure, and AWS handlers.
- Add
output/
andbootc/output/
directories to.dockerignore
files to prevent generated artifacts from being included in images.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
config/peerpods/podvm/libvirt-podvm-image-handler.sh | Wrap secret checks in trace suppression blocks |
config/peerpods/podvm/gcp-podvm-image-handler.sh | Add trace suppression around GCP_CREDENTIALS check |
config/peerpods/podvm/azure-podvm-image-handler.sh | Suppress and restore debug tracing around Azure secret checks |
config/peerpods/podvm/aws-podvm-image-handler.sh | Introduce trace suppression for AWS credential checks |
config/peerpods/podvm/bootc/.dockerignore | Ignore output/ directory |
config/peerpods/podvm/.dockerignore | Ignore bootc/output/ directory |
.dockerignore | Add config/peerpods/podvm/bootc/output/ to root ignore file |
Comments suppressed due to low confidence (1)
config/peerpods/podvm/gcp-podvm-image-handler.sh:32
- [nitpick] Rather than a standalone check, add
GCP_CREDENTIALS
back into therequired_vars
array to centralize validation and simplify the loop.
- "GCP_CREDENTIALS"
Signed-off-by: Snir Sheriber <[email protected]>
I changed the pr to disable completely the DEBUG option, as suppressing the tracing only when needed can be very easily missed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@snir911: all tests passed! Full PR test history. Your PR dashboard. Instructions 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks @snir911
@littlejawa konflux failures are unrelated? |
I don't think so. |
@littlejawa: GitHub didn't allow me to request PR reviews from the following users: for, confirmation. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions 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. |
No description provided.