]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: archive Deckard artifacts for 1 week
authorPetr Špaček <petr.spacek@nic.cz>
Mon, 6 Aug 2018 13:18:20 +0000 (15:18 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Tue, 7 Aug 2018 12:56:10 +0000 (14:56 +0200)
This helps with debugging.

.gitlab-ci.yml

index b79d310232f80d2893759d2808ff1db2274c4f6f..fe8b0e6c1f8157604475168a1ea785f2ced871ef 100644 (file)
@@ -145,6 +145,8 @@ doc:
 
 deckard:linux:amd64:
   stage: test
+  variables:
+    TMPDIR: $CI_PROJECT_DIR
   except:
     - schedules  # prevent unstable test from cancelling nightly OBS build
   script:
@@ -153,9 +155,11 @@ deckard:linux:amd64:
   dependencies:
     - build:linux:amd64
   artifacts:
-    expire_in: 1 hour
+    when: always
     paths:
       - ./*.info
+      - tmpdeckard*
+    expire_in: 1 week
   tags:
     - docker
     - linux
@@ -203,12 +207,6 @@ test:linux:amd64:valgrind:
     - docker
     - linux
     - amd64
-  artifacts:
-    when: on_failure
-    expire_in: 1 week
-    paths:
-      - tmpdeckard*
-
 
 .respdiff:  &respdiff
   stage: respdiff