Closed FedeDP closed 10 months ago
/cc @leogr @maxgio92 @zuc
:heart_eyes: +1 from me
count me in if you need help maintaining the project
count me in if you need help maintaining the project
Yes, thanks!
Terrific @FedeDP! ❤️ Count me in too :)
+1
I have seen this today. This is HUGE. +1 and count me in. The more Bash+Make we can get rid of the happier I am <3 :rocket:
Wow, amazing work @FedeDP I'm looking forward to seeing it in action! Big +1 for me!
Delightful as always! +1 from me.
Hey @FedeDP
I believe nobody disagrees, so let's transfer the repo! :partying_face:
Let's do it once Falco 0.36.0 is out ;) Thanks everyone!
https://github.com/falcosecurity/dbg-go! We can close this one! The repo has also been setup on test-infra!
/close
@FedeDP: Closing this issue.
Repository:
https://github.com/FedeDP/dbg-go
Motivation
dbg-go
is a swiss army knife tool to work with test-infra drivers build grid. It will allow us to completely drop driverkit folder Makefile and scripts (i already opened such a PR: https://github.com/falcosecurity/test-infra/pull/1204 that needs to fixup thefededp
github user once it gets donated) replacing it with a well tested, maintained go tool.Moreover, the go tool is also much quicker; from my benchmarks, configs generation with current bash scripts takes ~40min on my laptop for a single driver version. The dbg-go tool has a benchmark that takes ~1s to run, meaning that generating configs now takes 1s.
Also, the
build
command is now capable of publishing drivers while building, in an async manner. This spots 2 big benefits:Finally, note that driverkit is now used as a library from within
dbg-go
; this should also speed up drivers build a bit because we avoid the overhead of spawning a new process for each driverkit config to be built, spawning a single process (dbg-go) that builds everything.dbg-go
supports same filters as old Makefile's scripts (per-target, per-kernelrelease and per-kernelversion); to glance at how it works inside test-infra, please refer to https://github.com/falcosecurity/test-infra/pull/1204