Thanks Axel for the pointer. This is a github project in heavy development, so rebuild on commit is not practical. I looked at the token documentation, but I think I'll just add on my dev machine a cron job running 'osc service remoterun' on the project, which will trigger the rebuild. On 7/13/22 13:24, Axel Braun wrote:
Hello Michael,
Am Mittwoch, 13. Juli 2022, 12:55:34 CEST schrieb Michael Pujos:
In my home repo, I have a package that is build from git source, using a service. I'd like to have it rebuilt automatically server-side every few days. The equivalent of 'osc rebuild --all` but triggered server-side at a given schedule.
Is it possible and if so how ? you should be able to achieve this by creating a webhook/token and connect this with git (rebuild after every commit), or to trigger the token from a cron-job (e.g. nightly builds or 'every few days')
https://openbuildservice.org/help/manuals/obs-user-guide/ cha.obs.source_service.html#sec.obs.sserv.token_usage
HTH Axel