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

Issue when linking GitLab using Service Tokens #192

Open
b-per opened this issue Sep 18, 2023 · 5 comments
Open

Issue when linking GitLab using Service Tokens #192

b-per opened this issue Sep 18, 2023 · 5 comments
Labels

Comments

@b-per
Copy link
Collaborator

b-per commented Sep 18, 2023

When using service tokens to call the API to link a GitLab repo natively with dbt Cloud the connection is not set up correctly and require manually reconnecting the repo.

The same config works when using a user token.

This has been raised to the engineering team and should be automatically fixed without any action on this repo once the changes are done in dbt Cloud.

@b-per b-per added the blocked label Sep 18, 2023
@b-per b-per added blocked and removed blocked labels Nov 7, 2023
Copy link

github-actions bot commented Feb 6, 2024

This issue has been marked as Stale because it has been open for 90 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

Copy link

github-actions bot commented May 7, 2024

This issue has been marked as Stale because it has been open for 90 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

@github-actions github-actions bot added the stale label May 7, 2024
@b-per b-per removed the stale label May 7, 2024
@kcd83
Copy link

kcd83 commented May 22, 2024

Thanks for reporting. This is still an issue.

When diagnosing it I found the API for projects and/or repositories seems to show a little evidence of the problem

        "remote_backend": "gitlab",
        "git_clone_strategy": "deploy_token",
        "deploy_key_id": null,
        "repository_credentials_id": null,

Will not work, however setting this up as user in the UI I do see repository_credentials_id is set.

        "remote_backend": "gitlab",
        "git_clone_strategy": "deploy_token",
        "deploy_key_id": null,
        "repository_credentials_id": 6760,

The latter works fine

@b-per
Copy link
Collaborator Author

b-per commented May 22, 2024

Hi @kcd83

Yes, this is still a problem, and the dbt Cloud team is aware of it, but there is nothing we can do just on the Terraform side for now. So, I keep this one as "blocked".

Copy link

This issue has been marked as Stale because it has been open for 90 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

@github-actions github-actions bot added the stale label Aug 21, 2024
@b-per b-per removed the stale label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants