]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: execute OBS build nightly instead of after every change
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 22 Mar 2018 15:59:48 +0000 (16:59 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 22 Mar 2018 15:59:48 +0000 (16:59 +0100)
There are couple reasons to prefer nightly builds:
- to conserve hw resources
- automated builds at predictable times make it easier to use the devel
repo for manual testing builds

.gitlab-ci.yml

index ab992430b04b76948700a5ce69ef7f3a2b6ece71..a76d824636cb835880e5d1a5e1bab1423c822ffb 100644 (file)
@@ -131,6 +131,8 @@ doc:
 
 deckard:linux:amd64:
   stage: test
+  except:
+    - schedules  # prevent unstable test from cancelling nightly OBS build
   script:
     - PREFIX=$(pwd)/.local MAKEFLAGS="--jobs $(nproc) --keep-going" make check-integration
     - PREFIX=$(pwd)/.local MAKEFLAGS="--jobs $(nproc)" make coverage-c coverage-lua COVERAGE_STAGE=gcov-deckard
@@ -356,7 +358,7 @@ pages:
 obs:devel:
   stage: deploy
   only:
-    - master
+    - schedules
   dependencies: []
   script:
     - scripts/make-archive.sh