Access to both github and gitlab private repositories simultaneously

So, I got this error message.

unexpected error: 400 Bad Request - You don’t have any provider configured for GITLAB

My question is: how do I configure access to private gitlab repositories if my account is only linked to github?

I don’t see the option to connect both github and gitlab accounts with my same user.

Is there a way?

Hi @eduardo,

It is indeed possible, but it’s not as simple as it should be. In Qovery V3 (new version) it will be much simpler. You have two possibilities at the moment:

  1. Use the same email address for your GitLab and GitHub accounts. Then Qovery will propose you link both accounts.
  2. Sign in with your GitLab account and then go to your organization settings and install the GitHub app. (cf screenshot)

cc @a_carrano

Hi Romaric,

I do have a gitlab account that uses the same custom domain email I use in github. Also, my gitlab account is even connected to my github account and my gmail account as valid login options.

However, as you can see in my next screenshot, the qovery console does not recognize my gitlab account.

I even tried logging in to the qovery console in incognito mode using my gitlab account but then it starts the onboarding process as if it were a new account and asks me to create a new organization, and if I enter my organization name it says that it already exists.

image

Seems that in the scenario you proposed you first created the qovery account with gitlab and then linked github, but in my case, my qovery organization was created with my github account and now I seem to be unable to link my gitlab account.

Is this a bug? Or am I missing something?

1 Like

Hi Romeric,

Found a solution. I had to transfer ownership of the organization to someone else and then have them invite me so I could signup again using gitlab.

That way made my gitlab and github repositories appear on the settings.

Thanks!

1 Like