Skip to content

Commit

Permalink
Use Sql server on Ubuntu 22.04 - the other one doesn't seem to work
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbra committed Jul 23, 2024
1 parent c44c0a8 commit eae9f4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,12 @@ jobs:
fail-fast: false
matrix:
database:
- name: "SqlServer 2022"
# - name: "SqlServer 2022"
# type: SqlServer
# image: "mcr.microsoft.com/mssql/server:2022-latest"
- name: "SqlServer 2022 (Ubuntu)"
type: SqlServer
image: "mcr.microsoft.com/mssql/server:2022-latest"
image: "mcr.microsoft.com/mssql/server:2022-preview-ubuntu-22.04"
- name: "SqlServer 2019"
type: SqlServer
image: "mcr.microsoft.com/mssql/server:2019-latest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public record SqlServerTestContainerDatabase(
: TestContainerDatabase(GrateTestConfig)
{
// Run with linux/amd86 on ARM architectures too, the docker emulation is good enough
public override string DockerImage => GrateTestConfig.DockerImage ?? "mcr.microsoft.com/mssql/server:2022-latest";
public override string DockerImage => GrateTestConfig.DockerImage ?? "mcr.microsoft.com/mssql/server:2022-preview-ubuntu-22.04";
protected override int InternalPort => MsSqlBuilder.MsSqlPort;
protected override string NetworkAlias => "sqlserver-test-container";

Expand Down

0 comments on commit eae9f4f

Please sign in to comment.