summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-07-15 19:18:22 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-07-15 19:28:15 +0000
commit09808a78b4703ac9cd5c097c8efb8d344c7f7306 (patch)
tree0e21689346ecf55c5d736c46f4b6e3a9de6561d1
parente2e53d0a25e84724526712bf9f98534932893820 (diff)
round-robin-bisect.sh: Use gerrit to push to repos
... so that we can push to refs/heads/master. Gitolite is configured to accept pushes only under refs/heads/linaro-local/. Change-Id: I70bf0c0407be488fe1b07caa93474c3221322e76
-rwxr-xr-xround-robin-bisect.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh
index fddaa295..839835fe 100755
--- a/round-robin-bisect.sh
+++ b/round-robin-bisect.sh
@@ -107,8 +107,8 @@ case "${rr[ci_project]}/${rr[ci_config]}" in
git -C gcc-compare-results add "$xfail_short"
git -C gcc-compare-results commit -m "From $BUILD_URL"
- git_init_linaro_local_remote gcc-compare-results baseline false
- git_push gcc-compare-results baseline master
+ git -C gcc-compare-results review -s
+ git -C gcc-compare-results push gerrit HEAD:refs/heads/master
) &
res=0 && wait $! || res=$?
# Ignore any failures in the above.
@@ -346,8 +346,8 @@ ${configs[*]}" &
local res=0 && wait $! || res=$?
if [ x"$res" = x"0" ]; then
- git_init_linaro_local_remote $interesting_commits baseline false
- git_push $interesting_commits baseline linaro-local/ci/${rr[ci_project]}
+ git -C $interesting_commits review -s
+ git -C $interesting_commits push gerrit HEAD:refs/heads/linaro-local/ci/${rr[ci_project]}
fi
) &
wait $! || push_interesting_commit_result=$?