-
Notifications
You must be signed in to change notification settings - Fork 58
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
v2 - Add support for AAD password, AAD default, and AAD service principal auth #100
Merged
Merged
Changes from 34 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
8f5773a
Use tedious mssql library instead of sqlcmd
zijchen ad0198a
Fix mssql connection
zijchen 499ffe5
Fix SqlUtils tests
zijchen deb020e
Use config instead of connection string
zijchen fceb850
Replace conn string builder with mssql config
zijchen 01f886e
Connect to master db
zijchen 203615f
Restore connection string validation regex
zijchen 5ed7191
AAD auth
zijchen 8f7e533
Add support for client and tenant IDs
zijchen 6160da5
Add more debug messaging
zijchen 3687029
Fix connection string find array
zijchen f3754ce
Make client-id and tenant-id action inputs
zijchen ed579aa
Fix error handling
zijchen d5def40
More fixes
zijchen 42984b4
Use try catch instead
zijchen f0257b0
Merge remote-tracking branch 'origin/v2' into zijchen/aad
zijchen 45ef62a
Add tests to pr-check.yml
zijchen c4b876c
Change script action from sqlcmd to mssql query
zijchen 123e0b7
Update action.yml
zijchen ae18e5e
Fully qualify Table1 in sql script
zijchen a10e6a3
Add more debug logging
zijchen 191dd56
Clone config before changing db to master
zijchen ec36260
Cleanup
zijchen 7853d01
Set TEST_DB name before cleanup
zijchen da83f88
Use runner.temp
zijchen ef3752a
Always cleanup
zijchen 704bb4e
Merge branch 'zijchen/sqlcmd' into zijchen/aad
zijchen 5d76466
Add tests for different auth types
zijchen c12cba5
Merge branch 'v2' into zijchen/aad
zijchen 416417e
Mask tenant and client IDs
zijchen f1bbe17
Add AAD password test to pr-check.yml
zijchen 19bfc52
Merge branch 'zijchen/aad' of https://github.com/Azure/sql-action int…
zijchen e9f3012
Fix yaml
zijchen 1f18a04
Limit max-parallel to 2
zijchen 4a6c162
Add test for service principal
zijchen 6ce3efd
Merge branch 'v2' into zijchen/aad
zijchen f910523
PR comments
zijchen 68aa3d6
Fix typo
zijchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think in a future PR I'll rework this so each part of the connection string is its own secret and we build the connection string at runtime. Right now you'll just have to trust that I didn't specify the same connection string 3 times 😆