Skip to content

Commit

Permalink
Nothing's ever easy, is it
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock committed Feb 11, 2025
1 parent 66873b2 commit dda17b3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .azure-pipelines/ultimate-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6679,7 +6679,7 @@ stages:
variables:
smokeTestAppDir: "$(System.DefaultWorkingDirectory)/tracer/test/test-applications/regression/AspNetCoreSmokeTest"
pool:
vmImage: $(vmImage)
vmImage: windows-$(windowsYear)

steps:
- template: steps/install-docker-compose-v1.yml
Expand Down Expand Up @@ -6712,7 +6712,7 @@ stages:
- bash: |
$(dockerComposePath) -f docker-compose.windows.yml -p $(DockerComposeProjectName) build \
--build-arg DOTNETSDK_VERSION=$(dotnetCoreSdkLatestVersionShort) \
--build-arg BUILD_IMAGE_TAG="$(dotnetCoreSdkLatestVersionShort)-windowsservercore-ltsc$(windowsYear)" \
--build-arg RUNTIME_IMAGE=$(runtimeImage) \
--build-arg PUBLISH_FRAMEWORK=$(publishFramework) \
--build-arg CHANNEL="$(channel)" \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ services:
dockerfile: build/_build/docker/smoke.windows.fleet-installer.dockerfile
# args:
# Note that the following build arguments must be provided
# - DOTNETSDK_VERSION=
# - BUILD_IMAGE_TAG=
# - RUNTIME_IMAGE=
# - PUBLISH_FRAMEWORK=
# - CHANNEL=
Expand Down
2 changes: 1 addition & 1 deletion tracer/build/_build/Build.VariableGenerations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ from image in runtimeImages
runtimeImage = $"{dockerName}:{image.RuntimeTag}",
targetPlatform = platform,
channel = GetInstallerChannel(image.PublishFramework),
vmImage = $"windows-{image.RuntimeTag.Substring(image.RuntimeTag.Length - 4)}",
windowsYear = image.RuntimeTag.Substring(image.RuntimeTag.Length - 4),
}).ToDictionary(x=>x.dockerTag, x => x);

Logger.Information($"Installer smoke tests fleet-installer matrix Windows");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG DOTNETSDK_VERSION
ARG BUILD_IMAGE_TAG
ARG RUNTIME_IMAGE

# Build the ASP.NET Core app using the latest SDK
FROM mcr.microsoft.com/dotnet/sdk:$DOTNETSDK_VERSION-windowsservercore-ltsc2022 as builder
FROM mcr.microsoft.com/dotnet/sdk:$BUILD_IMAGE_TAG as builder

# Build the smoke test app
WORKDIR /src
Expand Down

0 comments on commit dda17b3

Please sign in to comment.