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

Hook up migrated static checks to GHA #8595

Closed
cmaf opened this issue Dec 6, 2023 · 0 comments · Fixed by #8635
Closed

Hook up migrated static checks to GHA #8595

cmaf opened this issue Dec 6, 2023 · 0 comments · Fixed by #8635
Assignees
Labels
enhancement Improvement to an existing feature

Comments

@cmaf
Copy link
Contributor

cmaf commented Dec 6, 2023

In #8288, static checks and dependencies were copied to the main repo and modified to run from that repo (tested locally). The next step is to add it to GHA. After this static checks in the tests repo will be obsolete.

@cmaf cmaf added enhancement Improvement to an existing feature needs-review Needs to be assessed by the team. and removed needs-review Needs to be assessed by the team. labels Dec 6, 2023
@cmaf cmaf self-assigned this Dec 6, 2023
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 12, 2023
Fix paths for yqdir (where the install_yq.sh script currently is) so
that static checks can run without error.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 12, 2023
Direct the Makefile to use the static checks script in the tests
directory of the main Kata Containers repo so that when GHA runs make
static-checks the new migrated script is used.

Remove the old static checks script and the function in lib.sh that
uses the test repo.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 12, 2023
Change directory for running make due to local errors when building with
make -C.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
@katacontainersbot katacontainersbot moved this from To do to In progress in Issue backlog Dec 12, 2023
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 12, 2023
Fix paths for yqdir (where the install_yq.sh script currently is) so
that static checks can run without error.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 12, 2023
Direct the Makefile to use the static checks script in the tests
directory of the main Kata Containers repo so that when GHA runs make
static-checks the new migrated script is used.

Remove the old static checks script and the function in lib.sh that
uses the test repo.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 12, 2023
Change directory for running make due to local errors when building with
make -C.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 12, 2023
Some copyright dates were not updated with the most recent changes to
code; update them.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 13, 2023
Change directory for running make due to local errors when building with
make -C.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 13, 2023
Some copyright dates were not updated with the most recent changes to
code; update them.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf added a commit to cmaf/kata-containers that referenced this issue Dec 13, 2023
Direct the Makefile to use the static checks script in the tests
directory of the main Kata Containers repo so it is run in GHA.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Fix paths for yqdir (where the install_yq.sh script currently is) so
that static checks can run without error.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Change directory for running make due to local errors when building with
make -C.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Some copyright dates were not updated with the most recent changes to
code; update them.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Direct the Makefile to use the static checks script in the tests
directory of the main Kata Containers repo so it is run in GHA.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Fix paths for yqdir (where the install_yq.sh script currently is) so
that static checks can run without error.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Change directory for running make due to local errors when building with
make -C.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Some copyright dates were not updated with the most recent changes to
code; update them.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Direct the Makefile to use the static checks script in the tests
directory of the main Kata Containers repo so it is run in GHA.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Fix paths for yqdir (where the install_yq.sh script currently is) so
that static checks can run without error.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Change directory for running make due to local errors when building with
make -C.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Some copyright dates were not updated with the most recent changes to
code; update them.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Direct the Makefile to use the static checks script in the tests
directory of the main Kata Containers repo so it is run in GHA.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Fix paths for yqdir (where the install_yq.sh script currently is) so
that static checks can run without error.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Change directory for running make due to local errors when building with
make -C.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Some copyright dates were not updated with the most recent changes to
code; update them.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
sprt pushed a commit to microsoft/kata-containers that referenced this issue Dec 20, 2023
Direct the Makefile to use the static checks script in the tests
directory of the main Kata Containers repo so it is run in GHA.

Fixes kata-containers#8595

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to an existing feature
Projects
Issue backlog
  
In progress
Development

Successfully merging a pull request may close this issue.

1 participant