]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Archive the full bin/tests/ directory and bin/named/named binary on build/test failure.
authorOndřej Surý <ondrej@sury.org>
Tue, 13 Feb 2018 15:20:32 +0000 (16:20 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 14 Feb 2018 11:01:06 +0000 (12:01 +0100)
.gitlab-ci.yml

index 13cda0232b53bc05cd6198476eaf223fc261f759..b84d0b940173a5ea7915296d767dc9d3ac282b36 100644 (file)
@@ -91,14 +91,12 @@ stages:
     - ./configure
     - make -k all V=1
     - make -k check V=1
-#  artifacts:
-#    untracked: true
-#    expire_in: '1 hour'
-
-.test: &test_job
-  stage: test
-  before_script:
-  script:
+  artifacts:
+    paths:
+    - bin/named/named
+    - bin/tests/
+    expire_in: '1 day'
+    when: on_failure
 
 build:debian:jessie:amd64:
   <<: *debian_jessie_amd64_image