-
Notifications
You must be signed in to change notification settings - Fork 28
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.1.5] Repo webhook on GHES side : 404 page not found #332
Comments
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 |
... I feel stupid now 😅 |
no worries! I spent many hours debugging due to typos. Happens to all of us! |
I know where it came from : https://github.com/mercedes-benz/garm-operator/blob/main/config/samples/garm-operator_v1beta1_garmserverconfig.yaml |
Are you interested by an helm chart once I completed my lab ? I didn't found any for garm :) |
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. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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,
The text was updated successfully, but these errors were encountered: