2016-10-07 18:39:33 +00:00
|
|
|
# infra
|
|
|
|
> OSS-Fuzz project infrastructure
|
2016-07-21 00:16:57 +00:00
|
|
|
|
2016-10-07 18:42:27 +00:00
|
|
|
Core infrastructure:
|
2016-11-30 16:51:20 +00:00
|
|
|
* [`base-images`](base-images/) - docker images for building fuzz targets & corresponding jenkins
|
2016-07-21 18:38:57 +00:00
|
|
|
pipeline.
|
2016-11-29 19:22:48 +00:00
|
|
|
|
2016-10-07 18:42:27 +00:00
|
|
|
Continuous Integration infrastracture:
|
|
|
|
|
2016-11-30 16:51:20 +00:00
|
|
|
* [`libfuzzer-pipeline.groovy`](libfuzzer-pipeline.groovy/) - jenkins pipeline that runs for each OSS-Fuzz
|
2016-10-07 18:42:27 +00:00
|
|
|
project.
|
|
|
|
* [`docker-cleanup`](docker-cleanup/) - jenkins pipeline to clean stale docker images & processes.
|
|
|
|
* [`push-images`](push-images/) - jenkins pipeline to push built base images.
|
2016-11-29 19:22:48 +00:00
|
|
|
* [`jenkins-cluster`](jenkins-cluster/) - kubernetes cluster definition for our jenkins-based build (not operational yet,
|
2016-11-04 20:30:44 +00:00
|
|
|
[#10](https://github.com/google/oss-fuzz/issues/10)).
|
2016-10-25 02:39:13 +00:00
|
|
|
|
|
|
|
## helper.py
|
|
|
|
> script to automate common docker operations
|
|
|
|
|
|
|
|
| Command | Description |
|
|
|
|
|---------|-------------
|
2016-11-29 19:22:48 +00:00
|
|
|
| `generate` | Generates skeleton files for a new project |
|
|
|
|
| `build_image` | Builds a docker image for a given project |
|
2016-11-30 16:51:20 +00:00
|
|
|
| `build_fuzzers` | Builds fuzz targets for a given project |
|
|
|
|
| `run_fuzzer` | Runs a fuzz target in a docker container |
|
|
|
|
| `coverage` | Runs a fuzz target in a docker container and computes a coverage report |
|
2017-02-03 02:45:39 +00:00
|
|
|
| `reproduce` | Runs a testcase to reproduce a crash |
|
2016-11-29 19:22:48 +00:00
|
|
|
| `shell` | Starts a shell inside the docker image for a project |
|