Am Donnerstag, 14. Mai 2020, 06:18:08 CEST schrieb Bernhard M. Wiedemann:
On 13/05/2020 20.14, Dan Čermák wrote:
Does your rabbit listener react on successful builds or publish events? Depending on the load on the publisher, there is a non-negligible time difference between those two events. In the worst case you'll test your previous build, because the new one hasn't hit the repos yet.
https://github.com/watologo1/rabbit_obs_client/blob/master/rabbit_obs_client .py#L63 says it listens on build-success, but then it does not need a publish, because it uses osc getbinaries
Correct, very well reviewed, thanks!
so it will also work with repos that have publishing disabled
Yes, publishing took sometimes several minutes up to half an hour or longer. Therefore I went the extra way of: osc get binaries One big disadvantage is, that this is the only reason you need a user with osc credentials (~/.config/osc/oscrc) the rabbit_obs_client systemd daemon can sudo (or su?) into. On the other hand side, this allows a rather rapid build and test workflow. Thomas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org