DBT cloud - git clone with private gitlab repo.

The problem i am having

i use dbt cloud with private gitlab repo. during project setup i use git clone for my gitlab repo and added the deploy keys into my gitlab ssh keys and it connect successfully. now when i try to commit and changes into the dbt project, it is not commiting those changes in my gitlab repo. please guide me

Hi @mtayyab.mansoor, what error messages (if any) are you seeing?

–Failed to clone repository.

git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I can clone the repo in my local repo, but cant do it in dbt cloud.

Have you considered using the native GitLab integration instead of SSH? I don’t think it’s mandatory to solve your problem, but it will provide a higher-quality experience across the board so is worth doing if possible.

i used linked account to connect to Gitlab. All the repo’s are showing, but it is not connecting.

OK I’d suggest you reach out to the dbt Cloud support team using the in-app messaging, as they will have access to the logs and be able to see what’s happening in more detail

ok. thanks. Can you please tell me one more thing. i am using managed repo for now. i want to know, if i have to use same schema that is already build and i have to make some changes in model. what are the changes require to use same schema so table will be remodeled.

models:
Redshift-dbt:
# Applies to all files under models/example/
Lookup:
+materialized: table
+schema: dbt_staging

Hi! Is there any relevant update/solution for this one? I’m having the exact same issue here.