Skip to content

Conversation

@zijchen
Copy link
Contributor

@zijchen zijchen commented Oct 6, 2022

Update go-sqlcmd to latest release for bug fixes

* Use tedious mssql library instead of sqlcmd

* Fix mssql connection

* Fix SqlUtils tests

* Use config instead of connection string

* Replace conn string builder with mssql config

* Connect to master db

* Restore connection string validation regex

* PR comments, fix error handling

* Update main.js

* Use try catch for error handling

* Fix typo
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 19:22 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 19:22 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 19:22 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 19:22 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 19:22 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 19:22 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 6, 2022 20:31 Inactive
@zijchen zijchen temporarily deployed to Automation test October 7, 2022 17:16 Inactive
@zijchen zijchen temporarily deployed to Automation test October 7, 2022 17:16 Inactive
@zijchen zijchen temporarily deployed to Automation test October 7, 2022 17:16 Inactive
@zijchen zijchen temporarily deployed to Automation test October 7, 2022 17:16 Inactive
@zijchen zijchen temporarily deployed to Automation test October 7, 2022 17:16 Inactive
@zijchen zijchen temporarily deployed to Automation test October 7, 2022 17:16 Inactive
connection-string: '${{ secrets[matrix.connection_string_secret] }}Initial Catalog=master;'
path: ${{ runner.temp }}/cleanup.sql
path: ./__testdata__/cleanup.sql
arguments: '-v DbName="${{ env.TEST_DB }}"'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version fixes microsoft/go-sqlcmd#114 which lets us use SQLCMD variables here again

@zijchen zijchen marked this pull request as ready for review October 7, 2022 17:43
@zijchen
Copy link
Contributor Author

zijchen commented Oct 7, 2022

Submitted microsoft/go-sqlcmd#145 to see if we can get a 'latest' tag from go-sqlcmd

@zijchen zijchen merged commit aacc6bc into master Oct 11, 2022
@zijchen zijchen deleted the zijchen/go-sqlcmd-0.9.1 branch October 11, 2022 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants