Skip to content
Snippets Groups Projects
Verified Commit 54d5f1cd authored by Tomas Krizek's avatar Tomas Krizek Committed by Vladimír Čunát
Browse files

gitlabci: support OBS build in knot-resolver-latest on tags

parent beaed323
Branches
Tags
1 merge request!824distrotests: automate packaging tests in GitLab CI
......@@ -445,7 +445,7 @@ resperf:iter.udp-asan:
# }}}
# deploy {{{
obs:trigger:
obs:trigger: &obs_trigger
stage: deploy
only:
variables:
......@@ -457,10 +457,19 @@ obs:trigger:
url: https://build.opensuse.org/package/show/home:CZ-NIC:$OBS_REPO/knot-resolver
tags:
- respdiff
allow_failure: false
script:
- scripts/make-distrofiles.sh
- scripts/build-in-obs.sh $OBS_REPO
obs:release:
<<: *obs_trigger
only:
- tags
variables:
OBS_REPO: knot-resolver-latest
when: manual
# copy snapshot of current master to nightly branch for further processing
# (this is workaround for missing complex conditions for job limits in Gitlab)
nightly:copy:
......@@ -485,7 +494,10 @@ nightly:copy:
stage: deploy-test
only:
variables:
- $OBS_REPO
- $OBS_REPO =~ /^knot-resolver-devel|knot-resolver-testing$/
- $CI_COMMIT_TAG
variables:
OBS_REPO: knot-resolver-latest
when: delayed
start_in: 3 minutes # give OBS build some time
tags:
......
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