kubero-dev / kubero-dev/kubero

Git + Dockerfile build fails on fetch step

Open
#734 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.4k
Forks
213
PR merge metrics
No merged PRs in 30d

Description

### Which component(s) is affected?

Kubero UI, Operator

### Describe the bug

The build step fails at fetching the repository. I presume it's because it's defaulting to https clone instead of ssh clone which I would expect since the deploy key is copied over o the repository

### Steps to reproduce

1. Create a pipeline
2. Enable pipeline to build from source
3. Choose Github and input private repository
4. Save pipeline
5. Add an app
6. Use advanced app configuration
7. Strategy: Source code
8. Dockerfile
9. Input same repository as in the pipeline
10. Choose branch
11. Save app
12. Go under build -> all builds broken
13. Inspect Build log: Under clone repository step - 17:15:08 [1615-fwr9f/fetch] fatal: could not read Username for 'https://github.com': No such device or address

### Expected behavior

I would expect the repository to be fetched, and docker build to be ran on the Dockerfile

### Screenshots

Image

### Additional information

_No response_

### Debug information

_No response_

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. Start by tracing the Dockerfile build's repository-fetch step for private GitHub repositories, then reproduce the listed pipeline and app flow and inspect the clone log. Done means the private repository is fetched successfully and the Dockerfile build completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, git, github, kubernetes, typescript
Domain
build-system, ci-cd, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.