On Wed, Jan 11, 2023 at 4:32 AM Dany Marcoux <dmarcoux@suse.de> wrote:
On 2022-12-31 06 h 15, Neal Gompa wrote:
Hey all,
I was trying to get a tag-release workflow working with the new OBS workflows feature for one of my projects: obsctl[1], but the tag-push hook returns errors and GitLab winds up disabling the hook. When it *does* run, it branches the package and doesn't put anything in there, making it kind of useless.
The workflow definition is here: https://gitlab.com/datto/engineering/DevOps/obsctl/-/blob/main/.obs/workflow...
I don't understand what I'm doing wrong, and the documentation is no help. :(
Can someone please help?
[1]: https://gitlab.com/datto/engineering/DevOps/obsctl
-- 真実はいつも一つ!/ Always, there's only one truth!
Hey Neal,
I am leading the development of the SCM/CI integration feature on OBS. I'll do my best to help you out in solving this issue.
What is the error you are getting? Do you have logs of the CI runs? I cannot see them in your project somehow...
Well, it worked once, but there were several issues occurring: 1. OBS returns 400 errors whenever it's doing stuff (source services, etc.) 2. OBS doesn't handle the case where a tag is updated and throws a 400 error 3. OBS doesn't reliably populate branched packages for the tag-push workflow (the branched package is empty) The first two cases means that GitLab automatically disables the webhook because of "errors", which makes debugging issues really hard. There was also a period of time where it was returning errors saying things like "invalid name" and stuff when nothing had changed. Also, because these are webhooks and not CI runs, I don't have logs to give you. And finally, there's no status reporting back to GitLab. :( -- 真実はいつも一つ!/ Always, there's only one truth!