Skip to content

Commit ff8a179

Browse files
authored
Merge pull request #668 from MiYanni/UpdateImageAndRunNameInternal
2 parents 1c6b306 + 47ead38 commit ff8a179

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

eng/pipelines/official.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ parameters:
125125
variables:
126126
# Variables used: DncEngInternalBuildPool
127127
- template: /eng/common/templates-official/variables/pool-providers.yml@source
128+
- name: AgentImageInternal
129+
value: windows.vs2026preview.scout.amd64
128130
############### ARCADE ###############
129131
# Both this (used in Arcade for the MicroBuildSigningPlugin) and DotNetSignType (used in Arcade in Sign.proj) are necessary to set the sign type.
130132
# https://github.com/dotnet/arcade/blob/ccae251ef033746eb0213329953f5e3c1687693b/Documentation/ArcadeSdk.md#common-steps-in-azure-devops-pipeline
@@ -171,7 +173,7 @@ extends:
171173
- repository: source
172174
sourceAnalysisPool:
173175
name: $(DncEngInternalBuildPool)
174-
image: 1es-windows-2022
176+
image: $(AgentImageInternal)
175177
os: windows
176178
policheck:
177179
enabled: true
@@ -224,7 +226,7 @@ extends:
224226
environment: DotNet-SDK-Workloads
225227
pool:
226228
name: $(DncEngInternalBuildPool)
227-
image: 1es-windows-2022
229+
image: $(AgentImageInternal)
228230
os: windows
229231
templateContext:
230232
# Docs: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/releasepipelines/overview

eng/pipelines/templates/jobs/workload-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
timeoutInMinutes: 120
2626
pool:
2727
name: $(DncEngInternalBuildPool)
28-
image: 1es-windows-2022
28+
image: $(AgentImageInternal)
2929
os: windows
3030
steps:
3131
- template: /eng/pipelines/templates/steps/workload-checkout.yml@self

eng/pipelines/templates/jobs/workload-insertion-job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
timeoutInMinutes: 120
1515
pool:
1616
name: $(DncEngInternalBuildPool)
17-
image: 1es-windows-2022
17+
image: $(AgentImageInternal)
1818
os: windows
1919
templateContext:
2020
type: buildJob

eng/pipelines/templates/stages/workload-public-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ stages:
1313
displayName: Build Repo
1414
pool:
1515
name: $(DncEngPublicBuildPool)
16-
demands: ImageOverride -equals windows.vs2022.amd64.open
16+
demands: ImageOverride -equals $(AgentImagePublic)
1717
artifacts:
1818
publish:
1919
logs:

eng/pipelines/templates/variables/workload-public.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
variables:
2+
- name: AgentImagePublic
3+
value: windows.vs2026preview.scout.amd64.open
24
- name: _SignType
35
value: test
46
- name: _TeamName

src/Microsoft.NET.Workloads/Microsoft.NET.Workloads.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
</CreateLightCommandPackageDrop>
160160
</Target>
161161

162-
<Target Name="UpdateRunNameWithWorkloadsVersion" AfterTargets="Build" Condition="'$(TF_BUILD)' != ''">
162+
<Target Name="UpdateRunNameWithWorkloadsVersion" AfterTargets="Build" Condition="'$(TF_BUILD)' != '' and '$(SYSTEM_TEAMPROJECT)' == 'internal'">
163163
<!-- SOURCEBRANCHCOMMITMESSAGE is set to the Azure Pipelines environment within the SetRunName step. -->
164164
<!-- We simply pull it out of the environment variables because trying to set it to an MSBuild property can cause issues in the YAML if the message contains special characters. -->
165165
<Message Text="##vso[build.updatebuildnumber]$(OfficialBuildId) • $(WorkloadsVersion) • $(SOURCEBRANCHCOMMITMESSAGE)" Importance="high" />

0 commit comments

Comments
 (0)