ci: adjust schedules

With Gitlab 10.7 variable support in pipeline only/except, it's now
possible to execute OBS builds with a nightly schedule, while keeping
the docker image builds on a weekly schedule.

https://docs.gitlab.com/ee/ci/variables/#variables-expressions
parent c9794112
......@@ -24,8 +24,8 @@ stages:
tags:
- dind
only:
- triggers
- schedules
variables:
- $SCHEDULE_TYPE == "weekly"
docker:knot-dns:debian:
<<: *image
......@@ -281,7 +281,8 @@ obs:devel:
<<: *debian_stable
stage: deploy
only:
- schedules
variables:
- $SCHEDULE_TYPE == "nightly"
except: []
dependencies:
- build:archive
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment