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
377 stars 43 forks source link

ddeb leftovers in the daily runs #74

Closed rafaeldtinoco closed 1 year ago

rafaeldtinoco commented 1 year ago

The new golang update app seems to be leaving .ddeb leftovers:

https://github.com/aquasecurity/btfhub/actions/runs/4349701197/jobs/7599658679

image

This could be mitigated by not syncing the ddebs or checking why the leftovers were there in the first place.

rafaeldtinoco commented 1 year ago

This only seems to happen when btfhub binary exists with unfinished extraction jobs. It is okay but then rsync should ignore other files (than .tar.gz BTF ones).

brycekahle commented 1 year ago

I think we could update the .gitignore in btfhub-archive to ignore .ddeb files and others

brycekahle commented 1 year ago

I took at pass at this in https://github.com/aquasecurity/btfhub-archive/pull/37