-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Helix working. Squashed local commits * Updates from PR comments. * Updates from PR comments. * Update Directory.Build.targets Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com> * Fixes from pr comments. * Switched tabs to spaces. * Helix changes from pr comments. * yml changes. * yml changes. * yml changes. * yml changes. * yml changes. * Indentation fixes. * Indentation fixes. Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
- Loading branch information
1 parent
7f888c2
commit ce7f91a
Showing
54 changed files
with
466 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Please remember to update the documentation if you make changes to these parameters! | ||
parameters: | ||
HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/ | ||
HelixType: 'tests/default' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/' | ||
HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number | ||
HelixTargetQueues: '' # required -- semicolon delimited list of Helix queues to test on; see https://helix.dot.net/ for a list of queues | ||
HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group | ||
Configuration: 'Debug' | ||
Architecture: 'x64' | ||
MsBuildScript: '' | ||
WarnAsError: '' | ||
HelixConfiguration: '' # optional -- additional property attached to a job | ||
IncludeDotNetCli: true # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion | ||
EnableXUnitReporter: true # optional -- true enables XUnit result reporting to Mission Control | ||
WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget." | ||
HelixBaseUri: 'https://helix.dot.net' # optional -- sets the Helix API base URI (allows targeting int) | ||
Creator: 'ML.NET' # optional -- if the build is external, use this to specify who is sending the job | ||
DisplayNamePrefix: 'Run Helix Tests' # optional -- rename the beginning of the displayName of the steps in AzDO | ||
continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false | ||
condition: succeeded() # optional -- condition for step to execute; defaults to succeeded() | ||
|
||
steps: | ||
- script: ${{ parameters.MsBuildScript}} | ||
$(Build.SourcesDirectory)/eng/helix.proj | ||
/t:Test | ||
/bl:$(Build.SourcesDirectory)/artifacts/log/${{ parameters.Configuration }}/SendToHelix.binlog | ||
/p:Configuration=${{ parameters.Configuration }} | ||
/p:TargetArchitecture=${{ parameters.Architecture }} | ||
/p:BuildConfig=${{ parameters.Configuration }} | ||
/p:BuildArchitecture=${{ parameters.Architecture }} | ||
/p:HelixSource=${{ parameters.HelixSource }} | ||
/p:HelixType=${{ parameters.HelixType }} | ||
/p:HelixBuild=${{ parameters.HelixBuild }} | ||
/p:HelixConfiguration="${{ parameters.HelixConfiguration }}" | ||
/p:HelixAccessToken="${{ parameters.HelixAccessToken }}" | ||
/p:IncludeDotNetCli=${{ parameters.IncludeDotNetCli }} | ||
/p:EnableXUnitReporter=${{ parameters.EnableXUnitReporter }} | ||
/p:WaitForWorkItemCompletion=${{ parameters.WaitForWorkItemCompletion }} | ||
/p:HelixBaseUri=${{ parameters.HelixBaseUri }} | ||
${{ parameters.WarnAsError }} | ||
displayName: ${{ parameters.DisplayNamePrefix }} | ||
env: | ||
SYSTEM_ACCESSTOKEN: $(System.AccessToken) | ||
Creator: ${{ parameters.Creator }} | ||
HelixTargetQueues: ${{ parameters.HelixTargetQueues }} | ||
continueOnError: ${{ parameters.continueOnError }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.