qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>
Subject: Re: [PATCH] gitlab: split deprecated job into build/check stages
Date: Fri, 2 Oct 2020 12:06:16 +0200	[thread overview]
Message-ID: <d5799eff-7760-b74f-9f43-167201d90460@redhat.com> (raw)
In-Reply-To: <20201002091538.3017-1-alex.bennee@linaro.org>

On 02/10/2020 11.15, Alex Bennée wrote:
> While the job is pretty fast for only a few targets we still want to
> catch breakage of the build. By splitting the test step we can
> allow_failures for that while still ensuring we don't miss the build
> breaking.

Is there already something broken?

Otherwise, I'd rather simply remove the "allow_failure: true" tag
instead ... these jobs otherwise tend to get ignored.

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .gitlab-ci.yml | 17 ++++++++++++++++-
>  1 file changed, 16 insertions(+), 1 deletion(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 346f23acf7..a51c89554f 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -270,9 +270,24 @@ build-deprecated:
>    variables:
>      IMAGE: debian-all-test-cross
>      CONFIGURE_ARGS: --disable-docs --disable-tools
> -    MAKE_CHECK_ARGS: check-tcg
> +    MAKE_CHECK_ARGS: build-tcg
>      TARGETS: ppc64abi32-linux-user tilegx-linux-user lm32-softmmu
>        unicore32-softmmu
> +  artifacts:
> +    expire_in: 2 days
> +    paths:
> +      - build
> +
> +# We split the check-tcg step as test failures are expected but we still
> +# want to catch the build breaking.
> +check-deprecated:
> +  <<: *native_test_job_definition
> +  needs:
> +    - job: build-deprecated
> +      artifacts: true
> +  variables:
> +    IMAGE: debian-all-test-cross
> +    MAKE_CHECK_ARGS: check-tcg

Anyway, that's better than before, so:

Reviewed-by: Thomas Huth <thuth@redhat.com>



  reply	other threads:[~2020-10-02 10:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-02  9:15 [PATCH] gitlab: split deprecated job into build/check stages Alex Bennée
2020-10-02 10:06 ` Thomas Huth [this message]
2020-10-02 11:26   ` Alex Bennée

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=d5799eff-7760-b74f-9f43-167201d90460@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=wainersm@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).