Bump dotnet

This commit is contained in:
nicolas.dorier 2024-12-03 14:27:20 +09:00
parent 6e2f355aa6
commit 43f159cd81
No known key found for this signature in database
GPG key ID: 6618763EF09186FE
6 changed files with 11 additions and 12 deletions

View file

@ -2,7 +2,7 @@ version: 2
jobs: jobs:
fast_tests: fast_tests:
machine: machine:
image: ubuntu-2004:202111-02 image: ubuntu-2004:2024.11.1
steps: steps:
- checkout - checkout
- run: - run:
@ -10,7 +10,7 @@ jobs:
cd .circleci && ./run-tests.sh "Fast=Fast|ThirdParty=ThirdParty" && ./can-build.sh cd .circleci && ./run-tests.sh "Fast=Fast|ThirdParty=ThirdParty" && ./can-build.sh
selenium_tests: selenium_tests:
machine: machine:
image: ubuntu-2004:202111-02 image: ubuntu-2004:2024.11.1
steps: steps:
- checkout - checkout
- run: - run:
@ -18,7 +18,7 @@ jobs:
cd .circleci && ./run-tests.sh "Selenium=Selenium" cd .circleci && ./run-tests.sh "Selenium=Selenium"
integration_tests: integration_tests:
machine: machine:
image: ubuntu-2004:202111-02 image: ubuntu-2004:2024.11.1
steps: steps:
- checkout - checkout
- run: - run:
@ -26,7 +26,7 @@ jobs:
cd .circleci && ./run-tests.sh "Integration=Integration" cd .circleci && ./run-tests.sh "Integration=Integration"
trigger_docs_build: trigger_docs_build:
machine: machine:
image: ubuntu-2004:202111-02 image: ubuntu-2004:2024.11.1
steps: steps:
- run: - run:
command: | command: |

View file

@ -2,8 +2,8 @@
set -e set -e
cd ../BTCPayServer.Tests cd ../BTCPayServer.Tests
docker-compose -v docker-compose --version
docker-compose -f "docker-compose.altcoins.yml" down --v docker-compose -f "docker-compose.altcoins.yml" down -v
# For some reason, docker-compose pull fails time to time, so we try several times # For some reason, docker-compose pull fails time to time, so we try several times
n=0 n=0

View file

@ -39,8 +39,8 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.15" /> <PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.16" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.11" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.11" />
<PackageReference Include="Selenium.Support" Version="4.1.1" /> <PackageReference Include="Selenium.Support" Version="4.1.1" />
<PackageReference Include="Selenium.WebDriver" Version="4.22.0" /> <PackageReference Include="Selenium.WebDriver" Version="4.22.0" />

View file

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0.101-bookworm-slim AS builder FROM mcr.microsoft.com/dotnet/sdk:8.0.404-bookworm-slim AS builder
RUN apt-get update && apt-get install -y --no-install-recommends chromium-driver \ RUN apt-get update && apt-get install -y --no-install-recommends chromium-driver \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View file

@ -1,6 +1,5 @@
{ {
"maxParallelThreads": 4, "maxParallelThreads": 4,
"longRunningTestSeconds": 60, "longRunningTestSeconds": 60,
"diagnosticMessages": true,
"methodDisplay": "method" "methodDisplay": "method"
} }

View file

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.203-bookworm-slim AS builder FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.404-bookworm-slim AS builder
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
WORKDIR /source WORKDIR /source
COPY nuget.config nuget.config COPY nuget.config nuget.config
@ -21,7 +21,7 @@ ARG CONFIGURATION_NAME=Release
ARG GIT_COMMIT ARG GIT_COMMIT
RUN cd BTCPayServer && dotnet publish -p:GitCommit=${GIT_COMMIT} --output /app/ --configuration ${CONFIGURATION_NAME} RUN cd BTCPayServer && dotnet publish -p:GitCommit=${GIT_COMMIT} --output /app/ --configuration ${CONFIGURATION_NAME}
FROM mcr.microsoft.com/dotnet/aspnet:8.0.3-bookworm-slim FROM mcr.microsoft.com/dotnet/aspnet:8.0.11-bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends iproute2 openssh-client \ RUN apt-get update && apt-get install -y --no-install-recommends iproute2 openssh-client \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*