Skip to content
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

ci: Use static checks from kata repo for lib functions #8682

Merged
merged 2 commits into from Dec 18, 2023

Conversation

cmaf
Copy link
Contributor

@cmaf cmaf commented Dec 16, 2023

Change the two functions in lib.sh to use the static checks script from
the kata containers repo instead of tests. Remove cloning the repo from
these functions since we don't need it anymore. Leave these two
functions because the document checking one may be used locally and the
static checks one is called from the virtcontainers Makefile.

Fixes #8681

Signed-off-by: Chelsea Mafrica chelsea.e.mafrica@intel.com

Change the two functions in lib.sh to use the static checks script from
the kata containers repo instead of tests. Remove cloning the repo from
these functions since we don't need it anymore. Leave these two
functions because the document checking one may be used locally and the
static checks one is called from the virtcontainers Makefile.

Fixes kata-containers#8681

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
We now use the static checks script from the main kata containers repo
and not the tests repo; update documentation to reflect this.

Fixes kata-containers#8681

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
@cmaf cmaf requested a review from a team as a code owner December 16, 2023 01:15
@katacontainersbot katacontainersbot added the size/small Small and simple task label Dec 16, 2023
@cmaf cmaf added ok-to-test no-backport-needed and removed size/small Small and simple task labels Dec 16, 2023
Copy link
Member

@gkurz gkurz left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @cmaf !

@gkurz
Copy link
Member

gkurz commented Dec 18, 2023

/test

@cmaf cmaf merged commit 3124755 into kata-containers:main Dec 18, 2023
175 of 255 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change all instances of static-checks.sh to main repo
4 participants