-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Which component(s) is affected?
Kubero UI
Describe the bug
When attempting to add a repository that is hosted on Forgejo, creation of the webook fails due to what I think is an inconsistency between Gitea and Forgejo's API. Specifically, the insecure_ssl
value is undefined. Probably null coalescing to false
will fix it.
Stack trace:
TypeError: Cannot read properties of undefined (reading 'insecure_ssl')
at GiteaApi.addWebhook (/app/server/git/gitea.js:145:47)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async GiteaApi.connectRepo (/app/server/git/repo.js:109:23)
at async /app/server/routes/repo.js:29:15
Steps to reproduce
- Go to create new pipeline.
- Enable build from source.
- Pick a gitea repo.
- Press connect.
Expected behavior
No error. Repo connects.
Screenshots
No response
Additional information
No response
Debug information
Can't run due to login issue (which is fixed in a very recent draft PR).
mms-gianni
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working