Skip to content
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

Flux bootstrap for a project hosted on gitlab.com #4640

Open
1 task done
pau-campana opened this issue Feb 29, 2024 · 0 comments
Open
1 task done

Flux bootstrap for a project hosted on gitlab.com #4640

pau-campana opened this issue Feb 29, 2024 · 0 comments

Comments

@pau-campana
Copy link

Describe the bug

If I try to bootstrap a cluster with an existing gitlab repository, I'm getting the following error:

flux bootstrap gitlab --owner xxx  --repository yyy 
► connecting to https://gitlab.com
✗ failed to create new Git repository "https://gitlab.com/xxx/yyy": multiple errors occurred:
- POST https://gitlab.com/api/v4/projects: 400 {message: {path: [has already been taken]}}
- POST https://gitlab.com/api/v4/projects: 400 {message: {path: [has already been taken]}}

I'm using flux version 2.2.3. Gitlab version is 16.10.0-pre [22f5ea293cd](https://gitlab.com/gitlab-org/gitlab/-/commits/22f5ea293cd)

Steps to reproduce

  1. Create a repository in Gitlab under xxx/yyy
  2. Launch the bootstrap command flux bootstrap gitlab --owner xxx --repository yyy

Expected behavior

From the documentation I understand that if repo already exists, flux skips the creation: The bootstrap gitlab command creates the GitLab repository if it doesn’t exists

Screenshots and recordings

No response

OS / Distro

N/A

Flux version

2.2.3

Flux check

N/A

Git provider

No response

Container Registry provider

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant