Skip to content

Commit

Permalink
buildbot: work around failing git clones
Browse files Browse the repository at this point in the history
Some weird curl and HTTP/2 interaction, I don't know.

+ ./scripts/feeds update -a
Updating feed 'base' from 'https://github.com/openwrt/openwrt.git;main' ...
Cloning into './feeds/base'...
Updating feed 'packages' from 'https://github.com/openwrt/packages.git' ...
Cloning into './feeds/packages'...
Updating feed 'luci' from 'https://github.com/openwrt/luci.git' ...
Cloning into './feeds/luci'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 868 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
failed.
  • Loading branch information
pktpls committed Nov 28, 2024
1 parent be3bcae commit d4363a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/buildbot/files/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ def packagesArchFactory(f, wwwPrefix, wwwURL, alpineVersion):
podman run -i --rm --log-driver=none docker.io/library/alpine:%(kw:alpineVersion)s sh -c '\
( \
apk add git bash wget zstd xz gzip unzip grep diffutils findutils coreutils build-base gcc abuild binutils ncurses-dev gawk bzip2 perl python3 rsync argp-standalone musl-fts-dev musl-obstack-dev musl-libintl \
&& git config --global http.version HTTP/1.1 \
&& git config --global core.compression 0 \
&& git clone %(prop:repository)s /root/falter-packages \
&& cd /root/falter-packages/ \
&& git checkout %(prop:got_revision)s \
Expand Down

0 comments on commit d4363a9

Please sign in to comment.