kubero-dev / kubero-dev/kubero
When using Gitea repository, Kubero calls Github
- Dominant language
- TypeScript
- Stars
- 4.4k
- Forks
- 213
- PR merge metrics
- No merged PRs in 30d
Description
### Which component(s) is affected?
_No response_
### Describe the bug
On Kubero v2.4.6. I setup a Gitea repository for Continous Deployment. I can see in the pod logs that:
1) Even with GitHub disabled (PAT not set), Kubero is still making calls to GitHub APIs and failing
2) Kubero is also making HTTP calls to the GitHub APIs with my Gitea paths
### Steps to reproduce
1. Setup Kubero with Gitea only, no GitHub
2. Setup a pipeline with "Enable Pipeline to build from Source"
3. GitHub should be greyed out, but notice in the logs Kubero still tries to make HTTP calls to github.com
4. Enter a valid Gitea repository and connect
5. Create a production app and deploy, the logs will show requests made to github.com
### Expected behavior
Kubero should only make calls to Gitea, not to GitHub
### Screenshots
_No response_
### Additional information
_No response_
### Debug information
_No response_
Contributor guide
Research direction
Start by tracing the source-build pipeline's repository provider selection and the API requests it makes when configured with Gitea only. Reproduce the setup from the issue and inspect the pod logs; done means the deployment makes no requests to github.com and continues to connect to and deploy from Gitea.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- api, backend, ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100