mirror of https://github.com/google/oss-fuzz.git
[infra] Remove srcmap related commands from gcb script (follow-up #1839).
This commit is contained in:
parent
c49f46fa0c
commit
f132eaf19c
|
@ -166,15 +166,6 @@ def get_build_steps(project_dir):
|
||||||
],
|
],
|
||||||
'dir': 'oss-fuzz/projects/' + name,
|
'dir': 'oss-fuzz/projects/' + name,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'name':
|
|
||||||
image,
|
|
||||||
'args': [
|
|
||||||
'bash', '-c',
|
|
||||||
'srcmap > /workspace/srcmap.json && cat /workspace/srcmap.json'
|
|
||||||
],
|
|
||||||
'env': ['OSSFUZZ_REVISION=$REVISION_ID'],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'name': 'gcr.io/oss-fuzz-base/msan-builder',
|
'name': 'gcr.io/oss-fuzz-base/msan-builder',
|
||||||
'args': [
|
'args': [
|
||||||
|
@ -195,12 +186,9 @@ def get_build_steps(project_dir):
|
||||||
out = '/workspace/out/' + sanitizer
|
out = '/workspace/out/' + sanitizer
|
||||||
stamped_name = name + '-' + sanitizer + '-' + ts
|
stamped_name = name + '-' + sanitizer + '-' + ts
|
||||||
zip_file = stamped_name + '.zip'
|
zip_file = stamped_name + '.zip'
|
||||||
stamped_srcmap_file = stamped_name + '.srcmap.json'
|
|
||||||
bucket = ENGINE_INFO[fuzzing_engine].upload_bucket
|
bucket = ENGINE_INFO[fuzzing_engine].upload_bucket
|
||||||
upload_url = get_signed_url(UPLOAD_URL_FORMAT.format(bucket, name,
|
upload_url = get_signed_url(UPLOAD_URL_FORMAT.format(bucket, name,
|
||||||
zip_file))
|
zip_file))
|
||||||
srcmap_url = get_signed_url(UPLOAD_URL_FORMAT.format(bucket, name,
|
|
||||||
stamped_srcmap_file))
|
|
||||||
targets_list_filename = get_targets_list_filename(sanitizer)
|
targets_list_filename = get_targets_list_filename(sanitizer)
|
||||||
targets_list_url = get_signed_url(
|
targets_list_url = get_signed_url(
|
||||||
get_targets_list_url(bucket, name, sanitizer))
|
get_targets_list_url(bucket, name, sanitizer))
|
||||||
|
@ -275,14 +263,6 @@ def get_build_steps(project_dir):
|
||||||
'bash', '-c', 'cd {0} && zip -r {1} *'.format(out, zip_file)
|
'bash', '-c', 'cd {0} && zip -r {1} *'.format(out, zip_file)
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
# upload srcmap
|
|
||||||
{
|
|
||||||
'name': 'gcr.io/oss-fuzz-base/uploader',
|
|
||||||
'args': [
|
|
||||||
'/workspace/srcmap.json',
|
|
||||||
srcmap_url,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
# upload binaries
|
# upload binaries
|
||||||
{
|
{
|
||||||
'name': 'gcr.io/oss-fuzz-base/uploader',
|
'name': 'gcr.io/oss-fuzz-base/uploader',
|
||||||
|
|
Loading…
Reference in New Issue