diff options
-rw-r--r-- | round-robin.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/round-robin.sh b/round-robin.sh index e2e9bc90..3adea87d 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -780,6 +780,17 @@ push_baseline () local c for c in $(print_updated_components); do + if ! git -C $c remote show -n baseline >/dev/null 2>&1; then + # It appears we failed before component $c had a chance to build. + # Initialize baseline repo so that we can push to it. + # Note that this can, potentially, skip regressions in components + # down in build pipeline (glibc, qemu) when earlier components + # fail to build (binutils, gcc). This is not a big problem + # because these regressions will be skipped in CI configs where we + # only "build" components, but will be caught in CI configs where + # we run testsuites, benchmarks, etc. + clone_baseline_repo $c empty false + fi git_push $c baseline ${rr[baseline_branch]} done ) |