Acked-by: Alin Gabriel Serdean <aserd...@ovn.org>

On Fri, Mar 7, 2025 at 5:23 PM Ilya Maximets <i.maxim...@ovn.org> wrote:

> We had a few issues lately with GitHub Actions being unable to checkout
> sparse from the git.kernel.org:
>
>   git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git
>   Cloning into 'sparse'...
>   fatal: unable to connect to git.kernel.org:
>   git.kernel.org[0: 172.105.4.254]: errno=Connection timed out
>   git.kernel.org[1: 2600:3c04::f03c:95ff:fe5e:7468]: errno=Network is
> unreachable
>
> Let's try and use the official mirror of the project hosted on GitHub
> itself.  This mirror is maintained by the main maintainer of the
> project and mentioned in the documentation as one of the ways of
> getting sparse:
>   https://sparse.docs.kernel.org/en/latest/#getting-sparse
>
> It may also be better to not create extra load on kernel.org servers,
> they should not be used for CI purposes.
>
> Signed-off-by: Ilya Maximets <i.maxim...@ovn.org>
> ---
>  utilities/containers/prepare.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/utilities/containers/prepare.sh
> b/utilities/containers/prepare.sh
> index 6922d8c6b..68d7d9dd6 100755
> --- a/utilities/containers/prepare.sh
> +++ b/utilities/containers/prepare.sh
> @@ -5,8 +5,8 @@ DPDK_VER=24.11
>
>  function compile_sparse()
>  {
> -    git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git \
> -        /workspace/sparse
> +    # Official mirror of the
> git.kernel.org/pub/scm/devel/sparse/sparse.git.
> +    git clone https://github.com/lucvoo/sparse /workspace/sparse
>
>      pushd sparse
>      make -j4 PREFIX=/usr HAVE_LLVM= HAVE_SQLITE= install
> --
> 2.47.0
>
> _______________________________________________
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to