Skip to content

Commit

Permalink
Update client libs for test_runner/pg_clients to their latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bayandin committed Mar 5, 2024
1 parent 752bf5a commit ca8f412
Show file tree
Hide file tree
Showing 20 changed files with 290 additions and 222 deletions.
4 changes: 2 additions & 2 deletions test_runner/pg_clients/csharp/npgsql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /source

COPY *.csproj .
Expand All @@ -7,7 +7,7 @@ RUN dotnet restore
COPY . .
RUN dotnet publish -c release -o /app --no-restore

FROM mcr.microsoft.com/dotnet/runtime:7.0
FROM mcr.microsoft.com/dotnet/runtime:8.0
WORKDIR /app
COPY --from=build /app .

Expand Down
4 changes: 2 additions & 2 deletions test_runner/pg_clients/csharp/npgsql/csharp-npgsql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Npgsql" Version="7.0.4" />
<PackageReference Include="Npgsql" Version="8.0.2" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions test_runner/pg_clients/java/jdbc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM openjdk:20
FROM openjdk:21
WORKDIR /source

COPY . .

WORKDIR /app
RUN curl --output postgresql.jar https://jdbc.postgresql.org/download/postgresql-42.6.0.jar && \
RUN curl --output postgresql.jar https://jdbc.postgresql.org/download/postgresql-42.7.2.jar && \
javac -d /app /source/Example.java

CMD ["java", "-cp", "/app/postgresql.jar:.", "Example"]
2 changes: 1 addition & 1 deletion test_runner/pg_clients/python/asyncpg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11
FROM python:3.12
WORKDIR /source

COPY . .
Expand Down
2 changes: 1 addition & 1 deletion test_runner/pg_clients/python/asyncpg/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
asyncpg==0.27.0
asyncpg==0.29.0
2 changes: 1 addition & 1 deletion test_runner/pg_clients/python/pg8000/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11
FROM python:3.12
WORKDIR /source

COPY . .
Expand Down
2 changes: 1 addition & 1 deletion test_runner/pg_clients/python/pg8000/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pg8000==1.29.8
pg8000==1.30.5
scramp>=1.4.3
Loading

0 comments on commit ca8f412

Please sign in to comment.