[PATCH] gitlab: custom-runners: preserve more artifacts for debugging

Paolo Bonzini posted 1 patch 11 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230518065206.951902-1-pbonzini@redhat.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>
.gitlab-ci.d/custom-runners.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
[PATCH] gitlab: custom-runners: preserve more artifacts for debugging
Posted by Paolo Bonzini 11 months, 3 weeks ago
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
Re: [PATCH] gitlab: custom-runners: preserve more artifacts for debugging
Posted by Richard Henderson 11 months, 3 weeks ago
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~