aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Chang <oliverchang@users.noreply.github.com>2021-03-24 08:59:33 +1100
committerGitHub <noreply@github.com>2021-03-24 08:59:33 +1100
commit1ee46825bfffcfe403670c0b9c2d1f370b10c43c (patch)
treedfcfad1094381ead4fc18545336b7544e0a19e16
parent0ee8d5ba7b4e1f040389f1cdc5db165a1f5a7343 (diff)
downloadoss-fuzz-1ee46825bfffcfe403670c0b9c2d1f370b10c43c.tar.gz
build_specified_commit: Add call to fetch_all_remotes on cleanup. (#5485)
We need to redo fetch_all_remotes as we re-copy the repo from the docker container.
-rw-r--r--infra/build_specified_commit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/infra/build_specified_commit.py b/infra/build_specified_commit.py
index 9f29e420e..b2130ea85 100644
--- a/infra/build_specified_commit.py
+++ b/infra/build_specified_commit.py
@@ -200,6 +200,7 @@ def build_fuzzers_from_commit(commit,
# Re-copy /src for a clean checkout every time.
copy_src_from_docker(build_data.project_name,
os.path.dirname(host_src_path))
+ build_repo_manager.fetch_all_remotes()
projects_dir = os.path.join('projects', build_data.project_name)
dockerfile_path = os.path.join(projects_dir, 'Dockerfile')