mirror of https://github.com/google/oss-fuzz.git
Make CIFuzz more debuggable by allowing one to run off a branch (#4666)
Make it possible to run CIFuzz from a non-master branch
This commit is contained in:
parent
9d183d9bb5
commit
a85de2b3a7
|
@ -0,0 +1 @@
|
|||
test_files
|
|
@ -13,12 +13,15 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
################################################################################
|
||||
# Docker image to run CIFuzz in.
|
||||
# Docker image to run the CIFuzz action build_fuzzers in.
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/cifuzz-base
|
||||
|
||||
# Copies your code file from action repository to the container
|
||||
COPY build_fuzzers_entrypoint.py /opt/build_fuzzers_entrypoint.py
|
||||
COPY cifuzz/actions/build_fuzzers/build_fuzzers_entrypoint.py /opt/build_fuzzers_entrypoint.py
|
||||
|
||||
# Python file to execute when the docker container starts up
|
||||
ENTRYPOINT ["python3", "/opt/build_fuzzers_entrypoint.py"]
|
||||
|
||||
# Update infra source code.
|
||||
ADD . ${OSS_FUZZ_ROOT}/infra
|
|
@ -16,7 +16,7 @@ inputs:
|
|||
default: 'address'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
image: '../../../build_fuzzers.Dockerfile'
|
||||
env:
|
||||
OSS_FUZZ_PROJECT_NAME: ${{ inputs.oss-fuzz-project-name }}
|
||||
DRY_RUN: ${{ inputs.dry-run}}
|
||||
|
|
|
@ -17,7 +17,7 @@ inputs:
|
|||
default: 'address'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
image: '../../../run_fuzzers.Dockerfile'
|
||||
env:
|
||||
OSS_FUZZ_PROJECT_NAME: ${{ inputs.oss-fuzz-project-name }}
|
||||
FUZZ_SECONDS: ${{ inputs.fuzz-seconds }}
|
||||
|
|
|
@ -35,3 +35,4 @@ RUN apt-get update && apt-get install docker-ce docker-ce-cli containerd.io -y
|
|||
|
||||
ENV OSS_FUZZ_ROOT=/opt/oss-fuzz
|
||||
ADD . ${OSS_FUZZ_ROOT}
|
||||
RUN rm -rf ${OSS_FUZZ_ROOT}/infra
|
||||
|
|
|
@ -13,12 +13,15 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
################################################################################
|
||||
# Docker image to run CIFuzz run fuzzers action in.
|
||||
# Docker image to run the CIFuzz action run_fuzzers in.
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/cifuzz-base
|
||||
|
||||
# Copies your code file from action repository to the container
|
||||
COPY run_fuzzers_entrypoint.py /opt/run_fuzzers_entrypoint.py
|
||||
COPY cifuzz/actions/run_fuzzers/run_fuzzers_entrypoint.py /opt/run_fuzzers_entrypoint.py
|
||||
|
||||
# Python file to execute when the docker container starts up
|
||||
ENTRYPOINT ["python3", "/opt/run_fuzzers_entrypoint.py"]
|
||||
|
||||
# Copy infra source code.
|
||||
ADD . ${OSS_FUZZ_ROOT}/infra
|
Loading…
Reference in New Issue