Skip to content

Latest commit

 

History

History
 
 

local

This directory contains scripts for running ClusterFuzz docker images locally.

Prerequisites

Running a local metadata server

To emulate a local GCE metadata server using your own account's credentials (through gcloud auth application-default login), run:

$ ./run_metadata.bash

Running bot locally

To run a bot image locally, run:

$ ./run_docker.bash gcr.io/clusterfuzz-images/base

By default this uses the latest deployed source, but you can also use your local checkout by doing:

$ LOCAL_SRC=1 ./run_docker.bash gcr.io/clusterfuzz-images/base

Running CI locally

To run the CI environment locally, run

$ ./run_ci.bash
# (inside container)
$ setup