From 2a822e7553986c2c3ccd45e14af896da793bda07 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 23 Jul 2021 11:01:44 -0300 Subject: aux/ci/report.sh: Stop fetching by default --- aux/ci/ci-build.sh | 2 +- aux/ci/report.sh | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh index f766d6a..17e9e37 100755 --- a/aux/ci/ci-build.sh +++ b/aux/ci/ci-build.sh @@ -33,6 +33,7 @@ EOF git notes append -m "$NOTE" cd - + git fetch origin refs/notes/*:refs/notes/* sh aux/ci/report.sh -n "$PROJECT" -o public rsync -av public/ "/srv/http/$PROJECT/" --delete @@ -46,7 +47,6 @@ EOF git clone "$REMOTE" . git config --global user.email git@euandre.org git config --global user.name 'EuAndreh CI' - git fetch origin refs/notes/*:refs/notes/* git annex get ||: if [ -f aux/guix/with-container.sh ]; then diff --git a/aux/ci/report.sh b/aux/ci/report.sh index a90d10a..1aa41a0 100755 --- a/aux/ci/report.sh +++ b/aux/ci/report.sh @@ -37,11 +37,6 @@ mkdir -p "$OUTDIR/ci-logs" "$OUTDIR/ci-data" OUT="$(mkstemp)" chmod 644 "$OUT" -git fetch origin refs/notes/ci-data:refs/notes/ci-data ||: & -git fetch origin refs/notes/ci-logs:refs/notes/ci-logs ||: & -git fetch origin refs/notes/commits:refs/notes/commits ||: & -wait - for c in $(git notes list | cut -d\ -f2); do DATA="$(git notes --ref=refs/notes/ci-data show "$c")" FILENAME="$(echo "$DATA" | cut -d\ -f2)" -- cgit v1.2.3