Commit Graph

7 Commits

Author SHA1 Message Date
Paulo Gomes 998e83199d
fluxcd: Fix go.sum issues and improve CI support (#9217)
Main changes:
- Fixes issues caused by go-118-fuzz-build's dependencies causing
`go.sum` to become out of sync, which results in broken build.
- Auto detects when a single project is being targeted (e.g. CI).
- Remove libgit2 dependencies that are no longer needed.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2022-12-15 07:40:15 -08:00
Paulo Gomes 254890e90f
fluxcd: Add auto discovery for Go Native fuzz targets (#9064)
Add support for auto discovery and build for all Go Native fuzz targets
that exist within the range of Flux org repos defined.

Support for faster CI checks by only targeting the specific project when
running against PRs.

(cc: @stefanprodan @hiddeco)

---
Would there be interest on having `loop_through_org_repositories` as
part of infra?
This would enable Go Native projects to have auto discovery of fuzzers
without the need of calling `compile_native_go_fuzzer` for each fuzzer
they add into their repos.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2022-11-25 17:58:57 +00:00
Paulo Gomes 4714950e17
fluxcd: Revert to base-builder-go to fix build (#8397)
fluxcd: Revert to base-builder-go
The project recently started moving into Go fuzz native, and using
the codeintelligencetesting variant is causing the error below:
ERROR: no interesting inputs were found

This PR reverts https://github.com/google/oss-fuzz/pull/7683 for fluxcd
which fixes the issue.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2022-09-02 18:47:02 +01:00
Roman Wagner e71e320709
add base-builder-go-codeintelligencetesting for next 13 projects (#7683) 2022-05-10 10:29:29 +10:00
Paulo Gomes 1b04483c48
[fluxcd] Add outstanding repositories (#7277)
Flux is made of multiple repositories, this PR extends the Fuzz coverage to:
- pkg
- notification-controller
- kustomize-controller
- helm-controller
- image-reflector-controller
- source-controller
- image-automation-controller

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-02-16 12:55:28 +00:00
Paulo Gomes 8fd7c0f49f
[fluxcd] Update setup and contact details (#7131)
Changes target the official fluxcd repository now that the
fuzzing implementation has been merged. It also delegates to each repository
the responsibility of its own build/setup via a file called oss_fuzz_build.sh.

The primary contact is now the official security contact via cncf.io.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-01-13 21:05:52 +00:00
AdamKorcz 42934572e8
[fluxcd] Initial integration (#6539) 2021-10-28 08:31:47 -04:00