Skip to content

Commit fb99271

Browse files
committed
Send host tests to helix
1 parent a45396c commit fb99271

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
parameters:
2+
buildConfig: ''
3+
archType: ''
4+
osGroup: ''
5+
targetRid: ''
6+
creator: ''
7+
helixQueues: ''
8+
9+
steps:
10+
- template: /eng/common/core-templates/steps/send-to-helix.yml
11+
parameters:
12+
DisplayNamePrefix: Send to Helix
13+
HelixProjectPath: src/installer/tests/helixpublish.proj
14+
HelixProjectArguments: /p:Configuration=${{ parameters.buildConfig }} /p:TargetArchitecture=${{ parameters.archType }} /p:TargetRuntimeIdentifier=${{ parameters.targetRid }} /p:TargetOS=${{ parameters.osGroup }}
15+
HelixTargetQueues: ${{ parameters.helixQueues }}
16+
Creator: ${{ parameters.creator }}
17+
${{ if eq(variables['System.TeamProject'], 'internal') }}:
18+
HelixAccessToken: $(HelixApiAccessToken)

eng/pipelines/runtime.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,9 +1279,10 @@ extends:
12791279
buildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
12801280
platforms:
12811281
- windows_x86
1282+
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
12821283
jobParameters:
12831284
nameSuffix: Installer_Build_And_Test
1284-
buildArgs: -s host+packs -c $(_BuildConfig) -lc Release -rc Release -test
1285+
buildArgs: -s host+packs -c $(_BuildConfig) -lc Release -rc Release
12851286
dependsOnGlobalBuilds:
12861287
- nameSuffix: CoreCLR_Libraries
12871288
buildConfig: release
@@ -1298,6 +1299,9 @@ extends:
12981299
- template: /eng/pipelines/installer/steps/upload-job-artifacts.yml
12991300
parameters:
13001301
name: $(osGroup)$(osSubgroup)_$(archType)
1302+
- template: /eng/pipelines/installer/steps/helix.yml
1303+
parameters:
1304+
creator: dotnet-bot
13011305
condition:
13021306
or(
13031307
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
@@ -1311,9 +1315,10 @@ extends:
13111315
- windows_x64
13121316
- osx_x64
13131317
- linux_x64
1318+
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
13141319
jobParameters:
13151320
nameSuffix: Installer_Build_And_Test
1316-
buildArgs: -s host+packs -c $(_BuildConfig) -lc ${{ variables.debugOnPrReleaseOnRolling }} -rc Release -test
1321+
buildArgs: -s host+packs -c $(_BuildConfig) -lc ${{ variables.debugOnPrReleaseOnRolling }} -rc Release
13171322
dependsOnGlobalBuilds:
13181323
- nameSuffix: CoreCLR_Libraries
13191324
buildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
@@ -1330,6 +1335,9 @@ extends:
13301335
- template: /eng/pipelines/installer/steps/upload-job-artifacts.yml
13311336
parameters:
13321337
name: $(osGroup)$(osSubgroup)_$(archType)
1338+
- template: /eng/pipelines/installer/steps/helix.yml
1339+
parameters:
1340+
creator: dotnet-bot
13331341
condition:
13341342
or(
13351343
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),

src/installer/tests/helixpublish.proj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.DotNet.Helix.Sdk">
1+
<Project Sdk="Microsoft.DotNet.Helix.Sdk" DefaultTargets="Test">
22

33
<PropertyGroup>
44
<HelixArchitecture>$(TargetArchitecture)</HelixArchitecture>
@@ -58,6 +58,7 @@
5858
<PayloadDirectory>%(HostTestProject.PayloadDirectory)</PayloadDirectory>
5959
<Command>%(HostTestProject.Command)</Command>
6060
<PreCommands>@(_HelixPreCommands)</PreCommands>
61+
<Timeout>00:15:00</Timeout>
6162
</HelixWorkItem>
6263
</ItemGroup>
6364
</Target>

0 commit comments

Comments
 (0)