-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Upload build asset data to darc/maestro (#11189)
- Loading branch information
Showing
8 changed files
with
168 additions
and
13 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
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,61 @@ | ||
# YAML pipeline for post build operations. | ||
# This pipeline will trigger automatically after successful completion of the `build_packages` stage against the specified branches. | ||
|
||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: macios | ||
source: xamarin-macios | ||
trigger: | ||
branches: | ||
- main | ||
- release/* | ||
stages: | ||
- build_packages | ||
|
||
jobs: | ||
- job: post_build | ||
displayName: Post Build | ||
pool: | ||
vmImage: windows-2019 | ||
workspace: | ||
clean: all | ||
variables: | ||
- group: Publish-Build-Assets | ||
steps: | ||
- checkout: self | ||
clean: true | ||
|
||
- task: UseDotNet@2 | ||
inputs: | ||
version: 5.0.200 | ||
|
||
- download: macios | ||
artifact: AssetManifests | ||
|
||
- script: make -C $(Build.SourcesDirectory)/dotnet targets/Microsoft.iOS.Sdk.Versions.props | ||
displayName: make Microsoft.iOS.Sdk.Versions.props | ||
|
||
- powershell: >- | ||
& dotnet build -v:n -t:PushManifestToBuildAssetRegistry | ||
-p:BarManifestOutputPath=$(Agent.BuildDirectory)\macios\AssetManifests -p:BuildAssetRegistryToken=$(MaestroAccessToken) | ||
$(Build.SourcesDirectory)\dotnet\package\Microsoft.iOS.Ref\package.csproj | ||
-bl:$(Build.ArtifactStagingDirectory)\post-build-binlogs\push-bar-manifest.binlog | ||
displayName: push manifest to build asset registry | ||
- powershell: | | ||
$versionEndpoint = 'https://maestro-prod.westus2.cloudapp.azure.com/api/assets/darc-version?api-version=2019-01-16' | ||
$darcVersion = $(Invoke-WebRequest -Uri $versionEndpoint -UseBasicParsing).Content | ||
$arcadeServicesSource = 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json' | ||
& dotnet tool update microsoft.dotnet.darc --version "$darcVersion" --add-source "$arcadeServicesSource" --tool-path $(Agent.ToolsDirectory)\darc -v n | ||
& $(Agent.ToolsDirectory)\darc\darc add-build-to-channel --default-channels --id $(BARBuildId) --publishing-infra-version 3 --skip-assets-publishing --password $(MaestroAccessToken) --azdev-pat $(publishing-dnceng-devdiv-code-r-build-re) | ||
displayName: add build to default darc channel | ||
- task: PublishPipelineArtifact@1 | ||
displayName: 'Publish Artifact: post-build-binlogs' | ||
inputs: | ||
targetPath: $(Build.ArtifactStagingDirectory)\post-build-binlogs | ||
artifactName: post-build-binlogs | ||
condition: succeededOrFailed() |
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
2dc113e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Tests failed on Build ❌
Tests failed on Build.
API diff
✅ API Diff from stable
View API diff
Packages generated
View packages
Test results
2 tests failed, 180 tests passed.
Failed tests
No test log file was produced)
Pipeline on Agent XAMBOT-1017
2dc113e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.
Pipeline on Agent
2dc113e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.
Pipeline on Agent
2dc113e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.
Pipeline on Agent