mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-20 21:58:16 -04:00
Update google/oss-fuzz/infra/cifuzz actions from cafd7a0e to 537c8005. Prior to this PR, the OSS-Fuzz builder environment was updated and now produces binaries that require GLIBC 2.32 or newer. However, the fuzzing runtime was based on Ubuntu 20.04 (GLIBC 2.31), while the builder itself runs in a more recent environment. This mismatch caused compatibility issues that this PR solves. Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
30 lines
1 KiB
YAML
30 lines
1 KiB
YAML
name: CIFuzz
|
|
on:
|
|
workflow_call:
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
Fuzzing:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Build Fuzzers
|
|
id: build
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@537c8005ba4c9de026b2fa3550663280d25d6175 # master
|
|
with:
|
|
oss-fuzz-project-name: "prometheus"
|
|
dry-run: false
|
|
- name: Run Fuzzers
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@537c8005ba4c9de026b2fa3550663280d25d6175 # master
|
|
# Note: Regularly check for updates to the pinned commit hash at:
|
|
# https://github.com/google/oss-fuzz/tree/master/infra/cifuzz/actions/run_fuzzers
|
|
with:
|
|
oss-fuzz-project-name: "prometheus"
|
|
fuzz-seconds: 600
|
|
dry-run: false
|
|
- name: Upload Crash
|
|
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
|
if: failure() && steps.build.outcome == 'success'
|
|
with:
|
|
name: artifacts
|
|
path: ./out/artifacts
|