Merge pull request #7067 from kzys/fuzz-optional

Make CI Fuzz optional
This commit is contained in:
Maksym Pavlenko 2022-06-15 21:19:26 -07:00 committed by GitHub
commit 9c6154bff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,15 +12,17 @@ jobs:
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with: with:
oss-fuzz-project-name: 'containerd' oss-fuzz-project-name: 'containerd'
dry-run: false dry-run: true
language: go language: go
continue-on-error: true
- name: Run Fuzzers - name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with: with:
oss-fuzz-project-name: 'containerd' oss-fuzz-project-name: 'containerd'
fuzz-seconds: 300 fuzz-seconds: 300
dry-run: false dry-run: true
language: go language: go
continue-on-error: true
- name: Upload Crash - name: Upload Crash
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
if: failure() && steps.build.outcome == 'success' if: failure() && steps.build.outcome == 'success'