]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
CI: run respdiff using docker image in Gitlab CI
authorJan Holusa <jan.holusa@nic.cz>
Thu, 13 Apr 2017 12:03:24 +0000 (14:03 +0200)
committerJan Holusa <jan.holusa@nic.cz>
Thu, 13 Apr 2017 12:03:24 +0000 (14:03 +0200)
.gitlab-ci.yml

index 1538bea93d189fe6e65db6d210be76af4da1c1b1..99e32bc8eb0117ae46210cb7e61a4d7aed0588b6 100644 (file)
@@ -39,6 +39,25 @@ deckard:linux:amd64:
     - linux
     - amd64
 
+respdiff:linux:amd64:
+  image: cznic/ubuntu-respdif:16.04
+  stage: test
+  script:
+    - LD_LIBRARY_PATH=$(pwd)/.local/lib /home/kresdbench/run.sh $(pwd)/.local/sbin/kresd
+    - /home/kresdbench/resolver-benchmarking/response_differences/nightly.sh
+    - cp -r /home/kresdbench/resolver-benchmarking/response_differences/results $(pwd)
+  artifacts:
+    when: always
+    expire_in: '1 week'
+    paths:
+      - results/*.json
+      - results/*.out
+      - results/*.log
+  tags:
+    - docker
+    - linux
+    - amd64
+
 #arm_build:
 #  image: cznic/armhf-ubuntu:16.04
 #  stage: build