Continuous integration with OBS and GitHub/GitLab
Hey everyone,
we've been hard at work on extending the integration between OBS and
GitHub/GitLab. We're looking forward to hear from you on the subject.
Have a look at our latest blog post for details:
https://openbuildservice.org/2021/05/31/scm-integration/
Best regards
Dany from the Build Solutions team
--
Dany Marcoux
Hello Dany, Am Montag, 31. Mai 2021, 17:44:39 CEST schrieb Dany Marcoux:
we've been hard at work on extending the integration between OBS and GitHub/GitLab. We're looking forward to hear from you on the subject. Have a look at our latest blog post for details: https://openbuildservice.org/2021/05/31/scm-integration/
Thats a great summary of what has to be done for continuous integration, thank you! However, not in every case it is desired to have an immediate rebuild triggered. A periodic rebuild, e.g. a nightly build, is sufficient in many cases. For a nightly build the webhook must be triggered via a cron job from a remote location. It would be really useful if one can trigger the job from inside OBS, so no dependency on an external trigger is needed. Thanks Axel
On Montag, 31. Mai 2021, 22:48:13 CEST Axel Braun wrote:
Hello Dany,
Am Montag, 31. Mai 2021, 17:44:39 CEST schrieb Dany Marcoux:
we've been hard at work on extending the integration between OBS and GitHub/GitLab. We're looking forward to hear from you on the subject. Have a look at our latest blog post for details: https://openbuildservice.org/2021/05/31/scm-integration/
Thats a great summary of what has to be done for continuous integration, thank you!
However, not in every case it is desired to have an immediate rebuild triggered. A periodic rebuild, e.g. a nightly build, is sufficient in many cases. For a nightly build the webhook must be triggered via a cron job from a remote location.
It would be really useful if one can trigger the job from inside OBS, so no dependency on an external trigger is needed.
okay, but this is complete independend of this feature.
retriggering works already since a long time, you want a cronjob in OBS config.
But this feature is about to follow pull/merge requests in github/gitlab instances
in seperate test projects.
--
Adrian Schroeter
Hello Adrian, Am Dienstag, 1. Juni 2021, 08:13:03 CEST schrieb Adrian Schröter:
On Montag, 31. Mai 2021, 22:48:13 CEST Axel Braun wrote:
It would be really useful if one can trigger the job from inside OBS, so no dependency on an external trigger is needed.
okay, but this is complete independend of this feature.
retriggering works already since a long time, you want a cronjob in OBS config.
Can you point me to the documentation? (outside of cron-job.org) Thx Axel
On Dienstag, 1. Juni 2021, 09:26:52 CEST Axel Braun wrote:
Hello Adrian,
Am Dienstag, 1. Juni 2021, 08:13:03 CEST schrieb Adrian Schröter:
On Montag, 31. Mai 2021, 22:48:13 CEST Axel Braun wrote:
It would be really useful if one can trigger the job from inside OBS, so no dependency on an external trigger is needed.
okay, but this is complete independend of this feature.
retriggering works already since a long time, you want a cronjob in OBS config.
Can you point me to the documentation? (outside of cron-job.org)
okay, I was not clear here, I guess. You seem to want an OBS server side
config option that OBS automatically creates the trigger (cronjob like).
This is a not yet existing feature inside of OBS, but it would be complete
indepedent of any workflow/pull/merge request handling.
The only way atm that you setup the trigger on any other system indeed.
(but it is just a single http (curl) call)...
The api documentation for that is here:
https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.authorizati...
curl -H "Authorization: Token <TOKEN>" -X POST /trigger/runservice
--
Adrian Schroeter
participants (3)
-
Adrian Schröter
-
Axel Braun
-
Dany Marcoux