Skip to contentSkip to conversation

gitlab: custom-runners: preserve more artifacts for debugging

PATCH In review Paolo Bonzini 2 participants 2 messages May 18, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitlab: custom-runners: preserve more artifacts for debugging

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.

---
 .gitlab-ci.d/custom-runners.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
.gitlab-ci.d/custom-runners.yml +3 -1
index 34a1e6f32735..8e5b9500f401 100644
@@ -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
 
Signature · 1 line
2.40.1
Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · Paolo Bonzini

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.

---
  .gitlab-ci.d/custom-runners.yml | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
.gitlab-ci.d/custom-runners.yml +0 -0
index 34a1e6f32735..8e5b9500f401 100644
@@ -20,8 +20,10 @@ variables:
    artifacts:

.gitlab-ci.d/custom-runners.yml variables: · line 29

Quoted 10 lines
.gitlab-ci.d/custom-runners.yml +3 -1
      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
 

r~