aquasecurity / btfhub

BTFhub, in collaboration with the BTFhub Archive repository, supplies BTF files for all published kernels that lack native support for embedded BTF. This joint effort ensures that even kernels without built-in BTF support can effectively leverage the benefits of eBPF programs, promoting compatibility across various kernel versions.
Apache License 2.0
387 stars 45 forks source link

Add job to update amazon 2 in cron workflow #118

Closed geyslan closed 5 months ago

geyslan commented 5 months ago

Adds a job that uses the amazonlinux:2023 container to automatically update Amazon 2 kernels.

@brycekahle figured out and added support to search both architectures from a single arch machine. He basically adds the cross-arch repo on container setup and then search for packages using repoquery which supports --archlist.

This also adds sparse checkout of btfhub-archive to improve clone speeds.

geyslan commented 5 months ago

@brycekahle Thanks as always. 🙏🏼

geyslan commented 5 months ago

Merging it as https://github.com/aquasecurity/btfhub/actions/runs/9386303684 just passed.