-
Notifications
You must be signed in to change notification settings - Fork 101
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
Ci cd take2 #62
Ci cd take2 #62
Conversation
…nto ci_for_sqlserver
The new settings for connections breaks old way of setting up profile. Needs to be fixed before merge. Otherwise the tests are actually running quite good! Thanks @swanderz |
@@ -49,7 +49,8 @@ class SQLServerCredentials(Credentials): | |||
# "sql", "ActiveDirectoryPassword" or "ActiveDirectoryInteractive", or | |||
# "ServicePrincipal" | |||
authentication: Optional[str] = "sql" | |||
encrypt: Optional[str] = "yes" | |||
encrypt: Optional[bool] = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikaelene by "breaks old way of setting up profile" do you mean that I've toggled Encrypt to now be False
by default instead of True
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like that. I removed the cert settings stuff from my profile and it stopped working. Just have to make sure the pr doesn’t break the adapter for all users 😀
Ci for sqlserver
@swanderz I managed to isolate the problem with standard connections to on-prem SQL Server. Looks like when adding Authentcation=SqlPassword to the connections string, some settings around encryption and certificate are changed to a value that doesn't work out of the box. By removing that setting it all works. The question is if it still works with Azure sql with user pass? |
EUREKA! You're incredible @mikaelene for finding this. At first glace, I thought "there's no way that can be it", but you're totally right. Finally my lifelong dream to become an expert in Microsoft ODBC Connection String Keywords has been fulfilled. 😝 This docs page has some juicy snippets that I'll paste here for posterity.
also this farther down the page
|
@mikaelene everything's good on our end! whenever you're ready |
This looks great! I imagine that snapshot-check did work before. Can it be that it do work but the test have some issues verifying it? Anyway, lets merge this this to master, do some test runs on actual dbt-projects and then publish to pip :-) |
Releasing 1.5 for dbt cloud integration
Add the adapter tests