Automation : Uploading job on clusterfuzz
@Dor1s I want to upload libfuzzer job on cluster fuzz through python script(without using clusterfuzz UI).
- Is there any fixed google bucket location, such that I can upload my binary there and cluster fuzz will detect that revision?
- Or is there any API exposed(other than UI) to upload the job on clusterfuzz?
@Dor1s doesn't work on CF anymore (sadly). What do you mean you "want to upload libfuzzer job"? In ClusterFuzz, a job is a configuration that tells ClusterFuzz where to download builds and how to fuzz them. If you mean upload a build, you can do so manually when creating a job (using custom builds) or you can upload it to a gcs bucket and point the job at that bucket.
Is it possible to create a new job using "REST API"/CF_client (there is no such component I know) or something similar? Maybe you exposed the endpoint for that :). Example: We would like to create 2 hundred jobs (all pointed to different buckets/projects), and manually creating them is unacceptable.
Sorry for the late reply. Maybe do something like this: https://github.com/google/clusterfuzz/blob/55ea0f534bcfda95b98195af9c46eb88f12d4140/src/appengine/handlers/cron/project_setup.py