Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the initial set up for fuzzing of the source-controller.
It is currently work in progress that is being shared to allow for any feedback, comments or suggestions that anyone should have along the way. The files in this pull request will be modified.
There are 5 fuzzers available at this moment, and these are all built in the Dockerfile. They can be run when building the image, or they can be run in a Docker shell.
The 5 fuzzers are:
1: FuzzRandomGitFiles
Creates a git repository with pseudo-random files and dirs and instructs the git controller to reconcile.
2: FuzzGitResourceObject
Creates a GitRepository object with pseudo-random values and instructs the git controller to reconcile.
3: FuzzHelmchartController
Creates pseudo-random helm charts and instructs the controller to reconcile.
4: FuzzStorageArchive
Tests the storage archive util api.
5: FuzzStorageCopy
Tests the storage copy util api.
To run the fuzzers without a docker shell:
The fuzzers will now build and the selected fuzzer will run.
To run the fuzzers in a docker shell:
The fuzzer will now run.