From: Tomas Krizek Date: Tue, 4 Jun 2019 12:34:43 +0000 (+0200) Subject: gitlabci: add OBS build check (all archs+distros) X-Git-Tag: v4.1.0~22^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beaed3234f9ecd32ab7dfab64327f905c9d894c2;p=thirdparty%2Fknot-resolver.git gitlabci: add OBS build check (all archs+distros) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1eda54ec4..6b6bf80b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -561,4 +561,19 @@ obs:ubuntu1904:x86_64: variables: DISTROTEST_NAME: ubuntu1904 DISTROTEST_REPO: xUbuntu_19.04 + +obs:build:all: + stage: deploy-test + only: + variables: + - $OBS_REPO + when: delayed + start_in: 3 minutes # give OBS build some time + tags: + - respdiff + script: + - "osc results home:CZ-NIC:$OBS_REPO knot-resolver -w" + - > + osc results home:CZ-NIC:$OBS_REPO knot-resolver --csv | grep 'succeeded|$' -q || \ + (echo "ERROR: build(s) failed"; exit 1) # }}}