-
Notifications
You must be signed in to change notification settings - Fork 183
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
threading mg execution and ensuring that we alway exit 0 (true) #88
Conversation
/hold |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sferich888 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
In 'gather', do we really want to make the same directory in a loop? It seems we'd make it once and have it. for resource in ${resources[@]}; do |
collection-scripts/gather
Outdated
/usr/bin/openshift-must-gather inspect ${resource} | ||
LOG_DIR="${BASE_COLLECTION_PATH}/must-gather-resource-logs" | ||
mkdir -p ${LOG_DIR} | ||
/usr/bin/openshift-must-gather inspect ${resource} 2> ${LOG_DIR}/${resource/\//_}.log & |
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.
/usr/bin/openshift-must-gather inspect ${resource} 2> ${LOG_DIR}/${resource/\//_}.log & | |
/usr/bin/openshift-must-gather inspect ${resource} 2> ${LOG_DIR}/${resource//[^A-Za-z0-9._-]/_}.log & |
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.
I don't understand the sugestion, my code converts resources with '/' in them like ns/default
to resources names with '_' in them like ns_default
, what is yours doing?
This avoid bash path issues when I go to save the resource.
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.
@sanchezl can you followup here?
@RickJWagner I fixed the log directory creation, happening in a loop. |
@sferich888: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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/test-infra repository. I understand the commands that are listed here. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Obsolete |
@RickJWagner @coreydaley PTAL
@sanchezl you may want to review as well.