Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

CI: Ignore vendor files harder#1893

Merged
chavafg merged 1 commit intokata-containers:masterfrom
jodh-intel:static-checks-ignore-vendor-files-harder
Aug 2, 2019
Merged

CI: Ignore vendor files harder#1893
chavafg merged 1 commit intokata-containers:masterfrom
jodh-intel:static-checks-ignore-vendor-files-harder

Conversation

@jodh-intel
Copy link
Copy Markdown

We recently switched from using find(1) to git-ls-files(1) to determine which files run static checks for [1]. Unfortunately, the formats of these commands are slightly different so update the code to ignore vendor files as previously, vendor files were being checked.

[1] - #1868

Fixes: #1892.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com

We recently switched from using `find(1)` to `git-ls-files(1)` to
determine which files run static checks for [1]. Unfortunately, the formats
of these commands are slightly different so update the code to ignore
vendor files as previously, vendor files were being checked.

[1] - kata-containers#1868

Fixes: kata-containers#1892.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
@jodh-intel
Copy link
Copy Markdown
Author

/test

Copy link
Copy Markdown
Contributor

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chavafg chavafg merged commit bca4582 into kata-containers:master Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

static checks should not check vendor files

3 participants