qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gitlab: custom-runners: preserve more artifacts for debugging
@ 2023-05-18  6:52 Paolo Bonzini
  2023-05-18 12:57 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2023-05-18  6:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: philmd

Since custom runners are not generally available, make it possible to
debug the differences between a successful and a failing build by
comparing the logs and the build.ninja rules.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 .gitlab-ci.d/custom-runners.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.d/custom-runners.yml b/.gitlab-ci.d/custom-runners.yml
index 34a1e6f32735..8e5b9500f401 100644
--- a/.gitlab-ci.d/custom-runners.yml
+++ b/.gitlab-ci.d/custom-runners.yml
@@ -20,8 +20,10 @@ variables:
   artifacts:
     name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
     expire_in: 7 days
+    when: always
     paths:
-      - build/meson-logs/testlog.txt
+      - build/build.ninja
+      - build/meson-logs
     reports:
       junit: build/meson-logs/testlog.junit.xml
 
-- 
2.40.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gitlab: custom-runners: preserve more artifacts for debugging
  2023-05-18  6:52 [PATCH] gitlab: custom-runners: preserve more artifacts for debugging Paolo Bonzini
@ 2023-05-18 12:57 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2023-05-18 12:57 UTC (permalink / raw)
  To: Paolo Bonzini, qemu-devel; +Cc: philmd

On 5/17/23 23:52, Paolo Bonzini wrote:
> Since custom runners are not generally available, make it possible to
> debug the differences between a successful and a failing build by
> comparing the logs and the build.ninja rules.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>   .gitlab-ci.d/custom-runners.yml | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/.gitlab-ci.d/custom-runners.yml b/.gitlab-ci.d/custom-runners.yml
> index 34a1e6f32735..8e5b9500f401 100644
> --- a/.gitlab-ci.d/custom-runners.yml
> +++ b/.gitlab-ci.d/custom-runners.yml
> @@ -20,8 +20,10 @@ variables:
>     artifacts:
>       name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
>       expire_in: 7 days
> +    when: always
>       paths:
> -      - build/meson-logs/testlog.txt
> +      - build/build.ninja
> +      - build/meson-logs
>       reports:
>         junit: build/meson-logs/testlog.junit.xml
>   

Acked-by: Richard Henderson <richard.henderson@linaro.org>

r~


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-18 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-18  6:52 [PATCH] gitlab: custom-runners: preserve more artifacts for debugging Paolo Bonzini
2023-05-18 12:57 ` Richard Henderson

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).