diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0acc820be842..936783cb8a99 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ build: script: - if (Test-Path build-out) { remove-item -recurse -force build-out } - if (Test-Path artifacts-out) { remove-item -recurse -force artifacts-out } - - docker run --rm -m 8192M -v "$(Get-Location):c:\mnt" -e CI_JOB_ID=${CI_JOB_ID} -e ENABLE_MULTIPROCESSOR_COMPILATION=false -e WINDOWS_BUILDER=true -e AWS_NETWORKING=true -e SIGN_WINDOWS=true -e NUGET_CERT_REVOCATION_MODE=offline datadog/dd-trace-dotnet-docker-build:dotnet9 + - docker run --rm -m 8192M -v "$(Get-Location):c:\mnt" -e CI_JOB_ID=${CI_JOB_ID} -e ENABLE_MULTIPROCESSOR_COMPILATION=false -e WINDOWS_BUILDER=true -e AWS_NETWORKING=true -e SIGN_WINDOWS=true -e NUGET_CERT_REVOCATION_MODE=offline registry.ddbuild.io/images/mirror/datadog/dd-trace-dotnet-docker-build:latest - mkdir artifacts-out - xcopy /e/s build-out\${CI_JOB_ID}\*.* artifacts-out - remove-item -recurse -force build-out\${CI_JOB_ID} diff --git a/tracer/build/_build/docker/gitlab/gitlab.windows.dockerfile b/tracer/build/_build/docker/gitlab/gitlab.windows.dockerfile index c9f9a1e50b8d..5531904c073f 100644 --- a/tracer/build/_build/docker/gitlab/gitlab.windows.dockerfile +++ b/tracer/build/_build/docker/gitlab/gitlab.windows.dockerfile @@ -1,6 +1,6 @@ # To build this file locally, starting from the root directory: # cd tracer/build/_build/docker/gitlab -# docker build -f gitlab.windows.dockerfile --tag datadog/dd-trace-dotnet-docker-build:dotnet9 . +# docker build -f gitlab.windows.dockerfile --tag datadog/dd-trace-dotnet-docker-build:latest . # docker push datadog/dd-trace-dotnet-docker-build:latest ARG BASE_IMAGE=mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 @@ -30,9 +30,9 @@ RUN powershell -Command .\install_wix.ps1 -Version $ENV:WIX_VERSION -Sha256 $ENV # Install .NET 9 # To find these links, visit https://dotnet.microsoft.com/en-us/download, click the Windows, x64 installer, and grab the download url + SHA512 hash -ENV DOTNET_VERSION="9.0.100-rc.2.24474.11" \ - DOTNET_DOWNLOAD_URL="https://download.visualstudio.microsoft.com/download/pr/084bfbb9-6197-49d9-ae9c-ad3825534f37/e1a071d344c9b24849f8034f7ce72aa6/dotnet-sdk-9.0.100-rc.2.24474.11-win-x64.exe" \ - DOTNET_SHA512="29091a2b4d08f7fdc77065f2805a82afae0129a6b886caec71124016843a29c6abcec828794aef1c9a73a84df3f7b7258863991f61a780ea362575da0ca6879b" +ENV DOTNET_VERSION="9.0.100" \ + DOTNET_DOWNLOAD_URL="https://download.visualstudio.microsoft.com/download/pr/10bb041d-e705-473e-9654-27c0e038f5bd/447c0c10654c2949872fa6154b8c27b5/dotnet-sdk-9.0.100-win-x64.exe" \ + DOTNET_SHA512="a12ee028f7dff8f330dbe1914534d237eb6e19cc105139ce5de69df1b4b07ee3c1a3e396574ca776a452e805052e799df14a348ace50191af514c9dc4705ecf0" COPY install_dotnet.ps1 . RUN powershell -Command .\install_dotnet.ps1 -Version $ENV:DOTNET_VERSION -Sha512 $ENV:DOTNET_SHA512 $ENV:DOTNET_DOWNLOAD_URL diff --git a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AppTrimmingTests.cs b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AppTrimmingTests.cs index 300d378f9240..e31ca7814693 100644 --- a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AppTrimmingTests.cs +++ b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AppTrimmingTests.cs @@ -25,13 +25,6 @@ public AppTrimmingTests(ITestOutputHelper output) [SkippableFact] public async Task TrimmerTest() { - // FIXME: .NET 9 RC2 fails weirdly only on this combination - // I have a theory it's tied to the fact we're using MVC in our trimming app - // which I don't believe is officially supported for trimming, so we should - // probably migrate that, but going to do that separately. -#if NET9_0 - SkipOn.PlatformAndArchitecture(SkipOn.PlatformValue.Linux, SkipOn.ArchitectureValue.ARM64); -#endif var httpPort = TcpPortProvider.GetOpenPort(); Output.WriteLine($"Assigning port {httpPort} for the httpPort.");