-
Notifications
You must be signed in to change notification settings - Fork 244
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
Exclude the 'dist' folder in 'check-gofmt.sh' script #6252
Exclude the 'dist' folder in 'check-gofmt.sh' script #6252
Conversation
The 'dist' folder is created when generating an RPM Package using the `rpm-prepare.sh` and `rpm-local-build.sh` scripts, and might contain Go files in `dist/rpmbuild/BUILD/**/vendor`.
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
Kudos, SonarCloud Quality Gate passed! |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feloy 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 |
/override ci/prow/v4.11-integration-e2e |
@feloy: Overrode contexts on behalf of feloy: ci/prow/v4.11-integration-e2e 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/test-infra repository. |
What type of PR is this:
/kind bug
What does this PR do / why we need it:
make validate
does not pass if run right after generating a local RPM Package using therpm-prepare.sh
andrpm-local-build.sh
scripts.The problem is that
check-gofmt.sh
picks Go files from thedist/rpmbuild/BUILD/**/vendor
folder, e.g.:Which issue(s) this PR fixes:
—
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: