Replies: 15 comments
-
FYI the docs are in markdown format in this repo, e.g. https://github.com/whitesource/renovate/blob/master/docs/advanced.md It was never possible to run the webhook instance separately - it's part of a monolithic Node.js application. |
Beta Was this translation helpful? Give feedback.
-
In the docs mentioned this
What does this mean by the webhook server? |
Beta Was this translation helpful? Give feedback.
-
@rarkins I think the question was whether we could use the workaround mentioned here: |
Beta Was this translation helpful? Give feedback.
-
OK, I understand the confusion. The webhook and worker logic are bound together, but the idea was:
|
Beta Was this translation helpful? Give feedback.
-
@rarkins yep -- that was our goal! Sorry about any confusion. We had found the cached version of the docs, but hadn't found the updated link, so thanks for pointing that out. Do you think it matters whether they're two containers in a single Kubernetes deployment, or two separate deployments? |
Beta Was this translation helpful? Give feedback.
-
I can't think of any problem with it being in the same deployment |
Beta Was this translation helpful? Give feedback.
-
Great, thanks! |
Beta Was this translation helpful? Give feedback.
-
I wasn't able to find documentation on how to disable scheduling of the cron job. If I want to run one instance as webhook only (scheduling disabled), how would I do that? As mentioned, I have a fake autodiscoverFilter to prevent any match but it seems that the webhook doesn't trigger at all when using this:
I could use an hacky way and prevent the cronjob from running, like executing only on the 31st of February:
|
Beta Was this translation helpful? Give feedback.
-
That was the type of thing I had in mind.
So the Pro server receives webhooks but ignores them? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure about the logic. From what I observed, requests from Github to the Renovate webhook are successful but I only see the following logs with no repositories added to the queue, which I think are part of the scheduler:
Which make me wonder if the |
Beta Was this translation helpful? Give feedback.
-
Always try to run in debug log mode if you're experimenting. From what I see of the INFO mode, it's what I had expected. i.e. it has access to 123 repositories but the filter (deliberately) means none get enqueued for "scheduled" jobs. I thought what you were aiming for was that when a webhook is received, it processes a job then, right? |
Beta Was this translation helpful? Give feedback.
-
Yes that's correct, below is what I'm seeing with debug on and after pushing a commit with an old Terraform module version referenced. I would expect Renovate to pick up the change and run.
|
Beta Was this translation helpful? Give feedback.
-
Seems like the filename wasn't recognized as a package file. The list of patterns for the webhooks is currently static and not as complete as in the main code. If you update a file like a |
Beta Was this translation helpful? Give feedback.
-
It works as expected when updating the renovate.json file. Terraform files |
Beta Was this translation helpful? Give feedback.
-
Just adding a bit of interest to being able to get the Webhook instance running separately. We're running a single instance for ~2000 repositories which are fairly noisy in terms of Webhook traffic, and are finding that the app is sometimes getting killed by our ECS healthchecking, as the healthcheck endpoint appears to be deprioritised when the scheduled run is occuring. Being able to split the two out would be ideal. In the meantime, we're considering running the Webhook-exposing app as one instance, and then a slightly more bulky instance for the scheduled runs. |
Beta Was this translation helpful? Give feedback.
-
We want to run an instance of renovate-pro webhook to only process github webhook request for renovate alongside with our current renovate server based on this documentation. https://webcache.googleusercontent.com/search?q=cache:-kIJZDUFF_4J:https://docs.renovatebot.com/pro/advanced/+&cd=1&hl=en&ct=clnk&gl=us
Is it still possible do do this ? and If it is, then is there an official documentation on this? ( We keep getting 404 for the official docs page)
Beta Was this translation helpful? Give feedback.
All reactions