[0.1.5] Repo webhook on GHES side : 404 page not found #334
Replies: 6 comments 3 replies
-
I think you have a typo in your webhooks URL. The correct path should be If you run: curl -I https://stg-garm.my.dns.zone/webhooks/ID Does it work? Once you determine the correct webhook URL for your instance, make sure to first uninstall the webhook from your repo/org by running: garm-cli repository webhook uninstall repo_id or garm-cli org webhook uninstall repo_id Update the controller URL: garm-cli controller update --webhook-url https://stg-garm.my.dns.zone/webhooks Then you can install the webhook again: garm-cli org webhook install repo_id Also make sure that the callback and metadata URLs work. Use curl to test them. They should return a |
Beta Was this translation helpful? Give feedback.
-
... I feel stupid now 😅 |
Beta Was this translation helpful? Give feedback.
-
no worries! I spent many hours debugging due to typos. Happens to all of us! |
Beta Was this translation helpful? Give feedback.
-
I know where it came from : https://github.com/mercedes-benz/garm-operator/blob/main/config/samples/garm-operator_v1beta1_garmserverconfig.yaml |
Beta Was this translation helpful? Give feedback.
-
Are you interested by an helm chart once I completed my lab ? I didn't found any for garm :) |
Beta Was this translation helpful? Give feedback.
-
I think the nice folks at mercedes-benz have that in mind via: You can follow/ping that thread. I think a potential helm chart should be part of the operator repo. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We're running GHES 3.12 and we're trying to setup repo webhook.
Garm-server is in kubernetes running the ghcr.io/cloudbase/garm:v0.1.5 image :
The volumes are correctly mounted : GARM is up and running, and GCE VMs are correctly created/deleted and can reach GHES and Garm.
I used this command to create the repository on GARM :
On GHES side the webhook exists and seems to be configured, although all events get a 404 and workflow hangs forever :
The job_count in logs stays at 0 despite me triggering redeliver on the webhook failed event.
Am I missing something ?
WIth a minidlerunners at 2, I have runners on GHES side and in garm via the
garm-cli runner list --all
command but since the webhook doesn't work it doesn't scale :/Note : I'm using GARM operator but I created the repo and pool manually to exclude an issue from it.
I also confirmed that network flow GHES => GARM is correct :
Log is attached to issue. Let me know if I can help to troubleshoot further.
garm.log
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions