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

Microsoft SQL Server Support #160

Closed
bwiggs opened this issue Jan 28, 2019 · 12 comments
Closed

Microsoft SQL Server Support #160

bwiggs opened this issue Jan 28, 2019 · 12 comments

Comments

@bwiggs
Copy link
Contributor

bwiggs commented Jan 28, 2019

I may take a stab at adding database support for MSSQL Server.

So far the only issue I've had is it seems the dktest package doesn't currently support non dockerhub repositories. Microsoft hosts their SQL Server images on their own repo @ mcr.microsoft.com/mssql/server:latest. I'll follow up with the dktest team on adding support this, hopefully I'm misinterpreting their documentation.

Would this be a welcome PR? Anything else I should know before heading down this path?

@dhui
Copy link
Member

dhui commented Jan 29, 2019

Adding support for MSSQL would be appreciated!

There's a public developer MSSQL docker image here, which is free to use for testing/development purposes.
I used it in satomic. Make sure you add similar comments regarding the licensing that I did in satomic.

@bwiggs
Copy link
Contributor Author

bwiggs commented Jan 29, 2019

Thanks @dhui! I'll check this out and see where I get.

From hub.docker.com/r/microsoft/mssql-server-linux:

We are moving to mcr.microsoft.com where you can pull SQL Server 2017 on Linux containers as well as SQL Server 2019 preview containers. SQL Server 2019 preview containers will only be available on mcr.microsoft.com. Overtime we will only publish to mcr.microsoft.com/mssql/server and eventually deprecate microsoft/mssql-server-linux.

So for now I'll get this working with the images they still have on Dockerhub, but this might break in the future. I've added dhui/dktest#1: to track being able to specify alternate repository locations in tests. I'll switch to the Microsoft's MCR depending on how that issue goes .

@maxekman
Copy link

maxekman commented Mar 7, 2019

Would love to get support for MSSQL!

@nathan-c
Copy link
Contributor

nathan-c commented Apr 24, 2019

@bwiggs how was progress on this? Would also love to see SQL Server support!

@bwiggs
Copy link
Contributor Author

bwiggs commented Apr 24, 2019

Hey all,

I've got a working mssql migration over on https://github.com/EvoSure/migrate/tree/mssql but i haven't written any tests for it.

I've had to jump on some other things before I can get back to this. The current version we have has been working for us until we can jump back over to it and fill out tests and edge cases. At this time it isn't ready for a PR back to origin or for your production needs.

If anyone would like to help contribute to this in the mean time, I'm open to PRs. I could use some help bringing in the latest changes from origin and filling in tests.

@nathan-c
Copy link
Contributor

Had a bit of time to take a look. Pull request submitted #222

@bwiggs
Copy link
Contributor Author

bwiggs commented May 20, 2019

Fantastic! Thanks @nathan-c

@dhui
Copy link
Member

dhui commented Jun 5, 2019

MS SQL Server is officially supported in v4.4.0

@dhui dhui closed this as completed Jun 5, 2019
@dhui
Copy link
Member

dhui commented Aug 19, 2019

We will be removing official support for MS SQL Server since the docker images are breaking builds and I don't have the expertise or time to fix the issue.

If you'd like MS SQL Server to be supported again, please try to get the builds passing again.

@dhui dhui reopened this Aug 19, 2019
@dhui dhui mentioned this issue Aug 19, 2019
@dhui
Copy link
Member

dhui commented Aug 19, 2019

Builds are currently failing due to the MS SQLServer Docker container not starting up...
It seems that there are a few open issues related to what we're experiencing. I have a branch with extra container logging enabled (for debugging) and failed attempts to fix the issue if anyone wants to help fix the issue.

@dhui
Copy link
Member

dhui commented Aug 19, 2019

Turns out CTP3.2 is the version that broke tests, so I'm pinning tests against CTP3.1 and we'll retain MS SQL Server support!

@dhui
Copy link
Member

dhui commented Aug 19, 2019

@dhui dhui closed this as completed Aug 19, 2019
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

No branches or pull requests

4 participants