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

testing: Import reusable workflows from kernel-patches/vmtests tp tes… #141

Merged
merged 5 commits into from
Sep 11, 2024

Conversation

chantra
Copy link
Collaborator

@chantra chantra commented Sep 10, 2024

…t libbpf/ci changes

@chantra chantra force-pushed the libbpf_ci_tests branch 5 times, most recently from 6a4da96 to 9a2d856 Compare September 11, 2024 02:34
…t libbpf/ci changes

This is mostly a copy of the reusable workflows from kernel-patches/vmtest with
some modifications.
1. .github/scripts need to be copied until the kern wrapped into an action that uses them
1. ci/vmtest needed to be copied for the same reasons.
1. `.github/scripts/tar-artifact.sh` was modified to take an option argument to dictate whether or not to copy helper files (thing we do when we don't have a local copy of the kernel in order to be able to run `make image_name` for instance.
1. kernel-build.yml was modified to not run veristat and got rid of veristat secret.
1. test.yml was modified to not need the matrix.py script.

Signed-off-by: Manu Bretelle <[email protected]>
Shipping the patches with the action itself will allow to use the action directly from a re-usable workflow and work across multiple repositories

Signed-off-by: Manu Bretelle <[email protected]>
I can't think of a good way to make this work. But currently, it would make tests fail
when running the action on libbpf/ci.
We need to rethink how we deal with "deployment", but for now, this is essentially considering
all deployments rc (and denylisitng more tests, including for kernel-patches/vmtest), but at least
we can have some coverage of libbpf/ci itself.

Signed-off-by: Manu Bretelle <[email protected]>
@chantra
Copy link
Collaborator Author

chantra commented Sep 11, 2024

cc @theihor

@chantra chantra marked this pull request as ready for review September 11, 2024 22:13
@chantra
Copy link
Collaborator Author

chantra commented Sep 11, 2024

I will land this so Cupertino can make progress with GCC integration.

@chantra chantra merged commit f1bc702 into libbpf:main Sep 11, 2024
14 checks passed
@chantra chantra deleted the libbpf_ci_tests branch September 11, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant