-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[wip] fix shellcheck errors higher than warnings #13971
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: upodroid 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 |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #13971 +/- ##
==========================================
- Coverage 86.25% 86.21% -0.05%
==========================================
Files 199 199
Lines 14749 14759 +10
==========================================
+ Hits 12722 12724 +2
- Misses 1726 1733 +7
- Partials 301 302 +1 ☔ View full report in Codecov by Sentry. |
test/e2e-common.sh
Outdated
echo building "${file/$REPO_ROOT_DIR/}" | ||
ko resolve $(ko_flags) -f "${file}" > "${ko_target}" || fail_test "failed to build test resource" | ||
ko resolve "$(ko_flags)" -f "${file}" > "${ko_target}" || fail_test "failed to build test 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.
this can't be quoted
- see the errors in the prow job
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.
Fixed
@upodroid: The following tests failed, say
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. |
seems like we want some variables to not be quoted so that the args are expanded in some command invocations |
Yeah, it is whack a mole, for example I adjusted the net-istio fetch script to work with the variables being quoted. I'll dig around and make changes |
PR needs rebase. 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. |
marking as WIP |
Got distracted, will get this ready by the end of the week |
@upodroid are you still working on this? Otherwise I'll close this and maybe open a good first issue |
I'll work on it after the deprecate kntest PR is merged |
You should be unblocked now |
Going to close this out - feel free to re-open when you get a chance to pick up the work again |
As part of enabling the shell style checks, we need to ensure that all shellcheck warnings have been addressed:
Most of them have been fixed except one: