mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
8df96426ef
* ensure build * moved third party to toplevel: Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
16 lines
959 B
Bash
Executable File
16 lines
959 B
Bash
Executable File
# Fuzzer bundle uploads
|
|
#
|
|
# This script builds the appropriate fuzzing bundles and uploads them to the google cloud bucket.
|
|
# Clusterfuzz will pick up the new fuzz bundles as fuzzing jobs are run.
|
|
|
|
# Build targets.
|
|
bazel build --config=fuzz \
|
|
//fuzz:block_fuzz_test_libfuzzer_bundle \
|
|
//fuzz:state_fuzz_test_libfuzzer_bundle \
|
|
//fuzz:ssz_encoder_attestations_test_libfuzzer_bundle
|
|
|
|
# Upload bundles with date timestamps in the filename.
|
|
gsutil cp bazel-bin/fuzz/block_fuzz_test_libfuzzer_bundle.zip gs://builds.prysmaticlabs.appspot.com/libfuzzer_asan_blocks/fuzzer-build-"$(date +%Y%m%d%H%M)".zip
|
|
gsutil cp bazel-bin/fuzz/state_fuzz_test_libfuzzer_bundle.zip gs://builds.prysmaticlabs.appspot.com/libfuzzer_asan_state/fuzzer-build-"$(date +%Y%m%d%H%M)".zip
|
|
gsutil cp bazel-bin/fuzz/ssz_encoder_attestations_test_libfuzzer_bundle.zip gs://builds.prysmaticlabs.appspot.com/libfuzzer_asan_ssz_encoder_attestations/fuzzer-build-"$(date +%Y%m%d%H%M)".zip
|