Commit Graph

17 Commits

Author SHA1 Message Date
Stefan Prodan 709b76a022
Update to Kubernetes 1.33.0 and Go 1.24.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-04-29 15:51:11 +03:00
Stefan Prodan 73dd4d8172
Build with Go 1.23
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-08-15 12:10:30 +03:00
Stefan Prodan aa202e76cd
Build with Go 1.22
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-02 13:53:40 +03:00
Stefan Prodan d442ea336b
Update Go to 1.21
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-01-22 18:03:20 +02:00
Stefan Prodan baf3150a6c
Align go.mod version with Kubernetes (Go 1.20)
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-06-27 10:18:25 +03:00
Paulo Gomes 0f1784a08e
fuzz: Use build script from upstream
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-14 21:45:45 +00:00
Paulo Gomes 9f3150756d
build: Improve fuzz tests' reliability
Establish conventions which aligns with what is supported upstream
today, whilst expanding on documentation to ensure folks have
pointers on how to debug/check for issues going forwards.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-23 14:57:23 +00:00
Paulo Gomes 5b371de9ea
fuzz: Fix upstream build
The upstream build is failing with:
/usr/local/bin/compile_native_go_fuzzer: line 35: addimport: command
not found

The changes uses the upstream approach to install the missing commands.
Note that one of the reasons of the unilateral failure upstream is due
to the base image changed in:
e71e320709

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-09-02 15:59:53 +01:00
Paulo Gomes cce0deb64b
fuzz: Ensure latest base images are used
Latest base image should contain Go 1.18, removing
the need of updating that ourselves, apart from
benefiting from latest changes upstream.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-09-02 13:37:08 +01:00
Paulo Gomes 2b7f1ea986
fuzz: Temporary fix to oss-fuzz func
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-08-22 16:38:46 +01:00
Paulo Gomes 5ce596c2dc
fuzz: Refactor Fuzz tests based on Go native fuzzing.
Moving into Go Native, the adhoc changes and on-demand build is no
longer necessary.

Previously calls to r.EventRecorder.AnnotatedEventf resulted in panic.
The new dummy recorder resolves the problem without impacting
resource consumption.

A new make target `fuzz-native` was introduced, to loop through all
fuzz tests for the duration of time specified via the environment
variable `FUZZ_TIME`.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-08-22 16:16:28 +01:00
Paulo Gomes c945cd6ed1
build: Upgrade to Go 1.18
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-07-06 17:06:39 +01:00
Ilan 54ad8b664b align fuzzing deps as per task 5 flux2 issue 2552
Signed-off-by: Ilan <ilan.pillemer@gmail.com>
2022-03-28 11:42:39 +01:00
Sunny 6bd29a729d Use new standardized runtime and meta package
This includes an update of the source-controller to v0.22.0, to pull in
the v1beta2 API which makes use of the same packages.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-03-18 13:10:32 +01:00
Hidde Beydals ac1eeb9122 Overwrite fuzz dependencies to use current
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-03-15 12:21:42 +01:00
Paulo Gomes 8f1a4c5ad8
Rename fuzzScheme
oss-fuzz integration breaks as some of the execution merges with tests code
leading to duplicated symbols.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-02-15 12:44:27 +00:00
Paulo Gomes 5572b8a553
Refactor fuzzing
Structure the fuzz implementation to be closer to what go native will support.
Add Makefile target to enable smoketesting fuzzers.
Add smoketest as CI workflow.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-01-17 20:45:16 +00:00