[igt-dev] [PATCH i-g-t] gitlab-CI: Keep build artifacts when arm64-test fails

Daniel Vetter daniel.vetter at ffwll.ch
Thu Nov 29 15:24:04 UTC 2018


There's something very funky going on with the occasional commit
consistently failing, e.g.

https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/jobs/51208

We need to catch it to understand what happens.

v2: Also dump the environment (Petri)

Cc: Petri Latvala <petri.latvala at intel.com>
Acked-by: Petri Latvala <petri.latvala at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
 .gitlab-ci.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e55e3157a69..bcc32cd9c71f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -97,7 +97,13 @@ test:ninja-test-arm64:
   dependencies:
     - build:tests-debian-meson-arm64
   stage: test
-  script: ninja -C build test
+  script:
+    - env > build/envdump.txt
+    - ninja -C build test
+  artifacts:
+    paths:
+      - build
+    when: on_failure
 
 test:test-list-diff:
   dependencies:
-- 
2.19.1



More information about the igt-dev mailing list