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

Daniel Vetter
2018-11-29T15:24:12Z

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@intel.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@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