public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] CI: do not checkout submodules
Date: Tue, 25 Nov 2025 14:27:30 +0100	[thread overview]
Message-ID: <20251125132730.GA168252@pevik> (raw)
In-Reply-To: <20251125122210.11316-1-chrubis@suse.cz>

Hi Cyril,

> This was originally added so that kirk installation is tested. The
> problem is that this brings random failures when git.kernel.org timeouts
> when we are checking out submodules that are not needed for the build
> and neither for the installation.

> Unfortunatelly there is no support for selective submodule installation
> in github checkout action. There is an issue and pull request hanging:

> https://github.com/actions/checkout/pull/1866
> https://github.com/actions/checkout/issues/1969

> It looks like if we wanted to checkout only kirk submodule we would have
> to install git and run all the commands ourselves in the CI, which I
> would like to avoid. Hence this commit removes the submodules checkout
> from the CI, with that we sacrifice kirk installation testing but avoid
> random failures.

> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

I'm ok with it.
nit: I'd mention it is actually a revert of 9cde2740cc.

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr

> ---
>  .github/workflows/ci-docker-build.yml | 2 --
>  1 file changed, 2 deletions(-)

> diff --git a/.github/workflows/ci-docker-build.yml b/.github/workflows/ci-docker-build.yml
> index f7c779f63..09eb8bb6d 100644
> --- a/.github/workflows/ci-docker-build.yml
> +++ b/.github/workflows/ci-docker-build.yml
> @@ -125,8 +125,6 @@ jobs:

>      - name: Git checkout
>        uses: actions/checkout@v1
> -      with:
> -        submodules: 'true'

>      - name: Install additional packages
>        run: |

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2025-11-25 13:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-25 12:22 [LTP] [PATCH] CI: do not checkout submodules Cyril Hrubis
2025-11-25 13:27 ` Petr Vorel [this message]
2025-11-26 11:52   ` Cyril Hrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251125132730.GA168252@pevik \
    --to=pvorel@suse.cz \
    --cc=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox