Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
362 changes: 181 additions & 181 deletions eng/Version.Details.xml

Large diffs are not rendered by default.

174 changes: 87 additions & 87 deletions eng/Versions.props

Large diffs are not rendered by default.

49 changes: 42 additions & 7 deletions eng/common/core-templates/job/publish-build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ parameters:
# Optional: 🌤️ or not the build has assets it wants to publish to BAR
isAssetlessBuild: false

# Optional, publishing version
publishingVersion: 3

# Optional: A minimatch pattern for the asset manifests to publish to BAR
assetManifestsPattern: '*/manifests/**/*.xml'

jobs:
- job: Asset_Registry_Publish

Expand Down Expand Up @@ -77,13 +83,31 @@ jobs:
clean: true

- ${{ if eq(parameters.isAssetlessBuild, 'false') }}:
- task: DownloadPipelineArtifact@2
displayName: Download Asset Manifests
inputs:
artifactName: AssetManifests
targetPath: '$(Build.StagingDirectory)/AssetManifests'
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}
- ${{ if eq(parameters.publishingVersion, 3) }}:
- task: DownloadPipelineArtifact@2
displayName: Download Asset Manifests
inputs:
artifactName: AssetManifests
targetPath: '$(Build.StagingDirectory)/AssetManifests'
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}
- ${{ if eq(parameters.publishingVersion, 4) }}:
- task: DownloadPipelineArtifact@2
displayName: Download V4 asset manifests
inputs:
itemPattern: '*/manifests/**/*.xml'
targetPath: '$(Build.StagingDirectory)/AllAssetManifests'
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}
- task: CopyFiles@2
displayName: Copy V4 asset manifests to AssetManifests
inputs:
SourceFolder: '$(Build.StagingDirectory)/AllAssetManifests'
Contents: ${{ parameters.assetManifestsPattern }}
TargetFolder: '$(Build.StagingDirectory)/AssetManifests'
flattenFolders: true
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}

- task: NuGetAuthenticate@1

Expand Down Expand Up @@ -120,6 +144,17 @@ jobs:
Copy-Item -Path $symbolExclusionfile -Destination "$(Build.StagingDirectory)/ReleaseConfigs"
}
- ${{ if eq(parameters.publishingVersion, 4) }}:
- template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml
parameters:
is1ESPipeline: ${{ parameters.is1ESPipeline }}
args:
targetPath: '$(Build.ArtifactStagingDirectory)/MergedManifest.xml'
artifactName: AssetManifests
displayName: 'Publish Merged Manifest'
retryCountOnTaskFailure: 10 # for any logs being locked
sbomEnabled: false # we don't need SBOM for logs

- template: /eng/common/core-templates/steps/publish-build-artifacts.yml
parameters:
is1ESPipeline: ${{ parameters.is1ESPipeline }}
Expand Down
1 change: 1 addition & 0 deletions eng/common/tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ function GetDarc {
fi

"$eng_root/common/darc-init.sh" --toolpath "$darc_path" $version
darc_tool="$darc_path/darc"
}

# Returns a full path to an Arcade SDK task project file.
Expand Down
6 changes: 3 additions & 3 deletions eng/common/vmr-sync.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ Set-StrictMode -Version Latest
Highlight 'Installing .NET, preparing the tooling..'
. .\eng\common\tools.ps1
$dotnetRoot = InitializeDotNetCli -install:$true
$darc = Get-Darc
$dotnet = "$dotnetRoot\dotnet.exe"
& "$dotnet" tool restore

Highlight "Starting the synchronization of VMR.."

# Synchronize the VMR
$darcArgs = (
"darc", "vmr", "forwardflow",
"vmr", "forwardflow",
"--tmp", $tmpDir,
"--$verbosity",
$vmrDir
Expand All @@ -124,7 +124,7 @@ if ($azdevPat) {
$darcArgs += ("--azdev-pat", $azdevPat)
}

& "$dotnet" $darcArgs
& "$darc" $darcArgs

if ($LASTEXITCODE -eq 0) {
Highlight "Synchronization succeeded"
Expand Down
6 changes: 4 additions & 2 deletions eng/common/vmr-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ set -e
highlight 'Installing .NET, preparing the tooling..'
source "./eng/common/tools.sh"
InitializeDotNetCli true
GetDarc
dotnetDir=$( cd ./.dotnet/; pwd -P )
dotnet=$dotnetDir/dotnet
"$dotnet" tool restore

highlight "Starting the synchronization of VMR.."
set +e
Expand All @@ -186,7 +186,9 @@ fi

# Synchronize the VMR

"$dotnet" darc vmr forwardflow \
export DOTNET_ROOT="$dotnetDir"

"$darc_tool" vmr forwardflow \
--tmp "$tmp_dir" \
$azdev_pat \
--$verbosity \
Expand Down
6 changes: 3 additions & 3 deletions global.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"jdk": "latest"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25302.103",
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25302.103",
"Microsoft.DotNet.SharedFramework.Sdk": "10.0.0-beta.25302.103",
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25303.102",
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25303.102",
"Microsoft.DotNet.SharedFramework.Sdk": "10.0.0-beta.25303.102",
"Microsoft.Build.NoTargets": "3.7.0",
"Microsoft.Build.Traversal": "3.4.0"
}
Expand Down
Loading