docs: drop-in compatibility lane template for Inspektor Gadget#98
Merged
Conversation
Gadgets ship as OCI images, so the IG-shaped lane is simpler than the falcosecurity/libs one: no build step and no manifest -- pull the gadget by reference, extract the eBPF layer, load it on real vendor kernels. Runtime-sized maps (ig_build_id ships with max_entries=0) are auto-sized. Kept as a template under docs/ rather than .github/workflows/ so it is copyable by a consumer without running here. Signed-off-by: ErenAri <erenari27@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A copy-paste workflow for any repository publishing eBPF gadgets as OCI images.
Because gadgets ship as OCI artifacts, this lane is simpler than the falcosecurity/libs one — there is no build step and no manifest. It pulls each gadget by reference, extracts the eBPF layer, and loads it on unmodified vendor cloud images. Runtime-sized maps are auto-sized (a gadget's
ig_build_idships withmax_entries=0, sized by IG's loader at runtime).Uses the built-in
quirk-librarymatrix, so it exercises the kernels where version numbers stop predicting behaviour —trace_openpasses on AlmaLinux 8 (4.18, ring buffer backported) while failing on Ubuntu's newer vanilla 5.4.Kept under
docs/integrations/rather than.github/workflows/so it is copyable by a consumer without executing in this repo. YAML validated, and the barematrix: quirk-libraryinput verified against the action's built-in-matrix resolution.