[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/experimental] gitlab-ci: Run autopkgtests

Guido Günther gitlab at salsa.debian.org
Sat Jan 18 23:07:20 GMT 2020



Guido Günther pushed to branch debian/experimental at Libvirt Packaging Team / libvirt


Commits:
c9f82beb by Guido Günther at 2020-01-18T21:51:58+01:00
gitlab-ci: Run autopkgtests

- - - - -


1 changed file:

- debian/salsa-ci.yml


Changes:

=====================================
debian/salsa-ci.yml
=====================================
@@ -44,6 +44,7 @@ build-debian-package:
 
 lint-debian-package:
   image: ${LV_DOCKER_IMAGE}
+  stage: test
   dependencies:
     - build-debian-package
   before_script:
@@ -54,3 +55,20 @@ lint-debian-package:
   script:
     - ls "${LV_WORKING_DIR}"
     - lintian ${LV_LINTIAN_OPTS} ${LV_WORKING_DIR}/*.changes
+
+autopkgtest-debian-package:
+  image: ${LV_DOCKER_IMAGE}
+  stage: test
+  dependencies:
+    - build-debian-package
+  before_script:
+    - echo "man-db man-db/auto-update boolean false" | debconf-set-selections
+    - export DEBIAN_FRONTEND=noninteractive
+    - apt-get -y update
+    - apt-get -y install autopkgtest
+  script:
+    - ls "${LV_WORKING_DIR}"
+    - RET=0;
+      autopkgtest -U ${LV_WORKING_DIR}/*.changes -- autopkgtest-virt-null || RET=$?;
+      echo "Autopkgtest exited with ${RET}";
+      [ "${RET}" -eq 8 ] && exit 0 || exit "${RET}"



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/commit/c9f82beb1f365a4f770ebbfdb096b6947a07b841

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/commit/c9f82beb1f365a4f770ebbfdb096b6947a07b841
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20200118/e9bf6615/attachment-0001.html>


More information about the Pkg-libvirt-commits mailing list