diff options
author | EuAndreh <eu@euandre.org> | 2021-07-23 11:01:44 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-07-23 11:01:44 -0300 |
commit | 2a822e7553986c2c3ccd45e14af896da793bda07 (patch) | |
tree | c965238aafb286c04855e4e66f65d74dcc3ba264 /aux | |
parent | aux/workflow/commonmark.sh: Read from stdin, write to stdout (diff) | |
download | git-permalink-2a822e7553986c2c3ccd45e14af896da793bda07.tar.gz git-permalink-2a822e7553986c2c3ccd45e14af896da793bda07.tar.xz |
aux/ci/report.sh: Stop fetching by default
Diffstat (limited to 'aux')
-rwxr-xr-x | aux/ci/ci-build.sh | 2 | ||||
-rwxr-xr-x | aux/ci/report.sh | 5 |
2 files changed, 1 insertions, 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)" |