diff options
author | Oliver Chang <oliverchang@users.noreply.github.com> | 2021-10-06 06:56:20 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 06:56:20 +1100 |
commit | c63ca4b8cd66eefa342e7dfbde3e453be58f8c99 (patch) | |
tree | c31a20856281ccfcd4e9229114aac1b76503c557 | |
parent | 6d23f29f29349a13bcc846fb14dac4a4ad99d066 (diff) | |
download | oss-fuzz-c63ca4b8cd66eefa342e7dfbde3e453be58f8c99.tar.gz |
Fix CIFuzz coverage generation. (#6523)
Also clean up the external action definitions:
- Set default values for the storage repo branches.
- Remove storage repo options from build_fuzzers.
-rw-r--r-- | infra/cifuzz/cifuzz-base/Dockerfile | 6 | ||||
-rw-r--r-- | infra/cifuzz/external-actions/run_fuzzers/action.yml | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/infra/cifuzz/cifuzz-base/Dockerfile b/infra/cifuzz/cifuzz-base/Dockerfile index 67b4436a4..bb1431dd8 100644 --- a/infra/cifuzz/cifuzz-base/Dockerfile +++ b/infra/cifuzz/cifuzz-base/Dockerfile @@ -22,12 +22,6 @@ RUN apt-get update && \ wget https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/docker-ce-cli_20.10.8~3-0~ubuntu-focal_amd64.deb -O /tmp/docker-ce.deb && \ dpkg -i /tmp/docker-ce.deb && rm /tmp/docker-ce.deb -# Install newer Python from base-builder. -COPY --from=gcr.io/oss-fuzz-base/base-builder /usr/local/bin/python3 /usr/local/bin/python3 -COPY --from=gcr.io/oss-fuzz-base/base-builder /usr/local/lib/libpython3* /usr/local/lib/ -COPY --from=gcr.io/oss-fuzz-base/base-builder /usr/local/lib/python3.8 /usr/local/lib/python3.8 -RUN ldconfig - ENV OSS_FUZZ_ROOT=/opt/oss-fuzz ADD . ${OSS_FUZZ_ROOT} RUN python3 -m pip install -r ${OSS_FUZZ_ROOT}/infra/cifuzz/requirements.txt diff --git a/infra/cifuzz/external-actions/run_fuzzers/action.yml b/infra/cifuzz/external-actions/run_fuzzers/action.yml index 11bf72aa1..cdefb5675 100644 --- a/infra/cifuzz/external-actions/run_fuzzers/action.yml +++ b/infra/cifuzz/external-actions/run_fuzzers/action.yml @@ -40,10 +40,12 @@ inputs: description: | The branch of the git repo to use for storing certain artifacts from fuzzing. + default: main required: false storage-repo-branch-coverage: description: | The branch of the git repo to use for storing coverage reports. + default: gh-pages required: false report-unreproducible-crashes: description: 'If True, then unreproducible crashes will be reported by CIFuzz.' |