8 Commits

Author SHA1 Message Date
Stephan Kulow
227e3ad0a8 Simplify travis setup even more: deploy in gocd
Fixes https://github.com/openSUSE/openSUSE-release-tools/pull/2000
2019-05-11 11:01:40 +02:00
Jimmy Berry
944a7720f7 dist/ci/obs-deploy: replace osc request list with osc api call.
Even after trying to workaround requests sourced from target package
(ex. Factory -> Leap) by using -U the query still behaves incorrectly
since both -U and -M do not return request created by user as documentation
suggests, but rather those who are last user in state. This works as
expected directly after a request is created, but not once another user
modifies it.

At this point just avoid the mess entirely and issue query for exactly
what is desired which avoids user altogether.
2018-01-25 09:56:10 -06:00
Jimmy Berry
6326c60990 dist/ci/obs-deploy: only commit if new source revision. 2018-01-25 08:59:52 -06:00
Jimmy Berry
02f11fa66e dist/ci/obs-deploy: require greater than six lines changed to create request. 2018-01-25 07:54:55 -06:00
Jimmy Berry
d05b591a01 dist/ci/obs-deploy: only bother making request if diff. 2018-01-19 15:26:12 -06:00
Jimmy Berry
88add9aefa dist/ci/obs-deploy: limit request list by user to avoid source requests.
Otherwise, requests from Factory to Leap will prevent request to Factory
from being generated.
2018-01-19 15:24:26 -06:00
Jimmy Berry
a777ec97da dist/ci: extract common osc setup as osc-init and provide in /usr/bin. 2017-10-19 21:58:29 -05:00
Jimmy Berry
6387768211 dist/ci: rename deploy.obs.sh to obs-deploy. 2017-10-19 21:58:29 -05:00