Skip to content

Commit 441b789

Browse files
committed
Revert "Update dependencies from https://github.com/dotnet/arcade build 20250509.2 (#5775)"
Revert "Update dependencies from https://github.com/dotnet/arcade build 20250507.2 (#5773)" This reverts commits d622997, 7a8dce6.
1 parent d622997 commit 441b789

File tree

163 files changed

+308
-8352
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+308
-8352
lines changed

eng/Version.Details.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
<ProductDependencies>
55
</ProductDependencies>
66
<ToolsetDependencies>
7-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25259.2">
7+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.24626.1">
88
<Uri>https://github.com/dotnet/arcade</Uri>
9-
<Sha>80c4e4d26cb85c86f7e1be77d2d9eceeef0f3493</Sha>
9+
<Sha>ae8d2a08f1021624ae37cdd5b65f6c05e58a051b</Sha>
1010
</Dependency>
11-
<Dependency Name="Microsoft.DotNet.GenFacades" Version="10.0.0-beta.25259.2">
11+
<Dependency Name="Microsoft.DotNet.GenFacades" Version="10.0.0-beta.24626.1">
1212
<Uri>https://github.com/dotnet/arcade</Uri>
13-
<Sha>80c4e4d26cb85c86f7e1be77d2d9eceeef0f3493</Sha>
13+
<Sha>ae8d2a08f1021624ae37cdd5b65f6c05e58a051b</Sha>
1414
</Dependency>
15-
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="10.0.0-beta.25259.2">
15+
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="10.0.0-beta.24626.1">
1616
<Uri>https://github.com/dotnet/arcade</Uri>
17-
<Sha>80c4e4d26cb85c86f7e1be77d2d9eceeef0f3493</Sha>
17+
<Sha>ae8d2a08f1021624ae37cdd5b65f6c05e58a051b</Sha>
1818
</Dependency>
19-
<Dependency Name="Microsoft.DotNet.GenAPI" Version="10.0.0-beta.25259.2">
19+
<Dependency Name="Microsoft.DotNet.GenAPI" Version="10.0.0-beta.24626.1">
2020
<Uri>https://github.com/dotnet/arcade</Uri>
21-
<Sha>80c4e4d26cb85c86f7e1be77d2d9eceeef0f3493</Sha>
21+
<Sha>ae8d2a08f1021624ae37cdd5b65f6c05e58a051b</Sha>
2222
</Dependency>
2323
</ToolsetDependencies>
2424
</Dependencies>

eng/Versions.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
</PropertyGroup>
2121
<!-- Arcade dependencies -->
2222
<PropertyGroup>
23-
<MicrosoftDotNetGenFacadesPackageVersion>10.0.0-beta.25259.2</MicrosoftDotNetGenFacadesPackageVersion>
24-
<MicrosoftDotNetXUnitExtensionsPackageVersion>10.0.0-beta.25259.2</MicrosoftDotNetXUnitExtensionsPackageVersion>
25-
<MicrosoftDotNetGenAPIPackageVersion>10.0.0-beta.25259.2</MicrosoftDotNetGenAPIPackageVersion>
23+
<MicrosoftDotNetGenFacadesPackageVersion>10.0.0-beta.24626.1</MicrosoftDotNetGenFacadesPackageVersion>
24+
<MicrosoftDotNetXUnitExtensionsPackageVersion>10.0.0-beta.24626.1</MicrosoftDotNetXUnitExtensionsPackageVersion>
25+
<MicrosoftDotNetGenAPIPackageVersion>10.0.0-beta.24626.1</MicrosoftDotNetGenAPIPackageVersion>
2626
</PropertyGroup>
2727
<!-- Additional dependencies -->
2828
<PropertyGroup>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish -ci %*"
2+
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish -ci %*"

src/arcade/eng/common/build.ps1 renamed to eng/common/build.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Param(
77
[string] $msbuildEngine = $null,
88
[bool] $warnAsError = $true,
99
[bool] $nodeReuse = $true,
10-
[switch] $buildCheck = $false,
1110
[switch][Alias('r')]$restore,
1211
[switch] $deployDeps,
1312
[switch][Alias('b')]$build,
@@ -72,8 +71,6 @@ function Print-Usage() {
7271
Write-Host " -msbuildEngine <value> Msbuild engine to use to run build ('dotnet', 'vs', or unspecified)."
7372
Write-Host " -excludePrereleaseVS Set to exclude build engines in prerelease versions of Visual Studio"
7473
Write-Host " -nativeToolsOnMachine Sets the native tools on machine environment variable (indicating that the script should use native tools on machine)"
75-
Write-Host " -nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
76-
Write-Host " -buildCheck Sets /check msbuild parameter"
7774
Write-Host ""
7875

7976
Write-Host "Command line arguments not listed above are passed thru to msbuild."
@@ -100,7 +97,6 @@ function Build {
10097

10198
$bl = if ($binaryLog) { '/bl:' + (Join-Path $LogDir 'Build.binlog') } else { '' }
10299
$platformArg = if ($platform) { "/p:Platform=$platform" } else { '' }
103-
$check = if ($buildCheck) { '/check' } else { '' }
104100

105101
if ($projects) {
106102
# Re-assign properties to a new variable because PowerShell doesn't let us append properties directly for unclear reasons.
@@ -117,7 +113,6 @@ function Build {
117113
MSBuild $toolsetBuildProj `
118114
$bl `
119115
$platformArg `
120-
$check `
121116
/p:Configuration=$configuration `
122117
/p:RepoRoot=$RepoRoot `
123118
/p:Restore=$restore `
@@ -132,7 +127,6 @@ function Build {
132127
/p:PerformanceTest=$performanceTest `
133128
/p:Sign=$sign `
134129
/p:Publish=$publish `
135-
/p:RestoreStaticGraphEnableBinaryLogger=$binaryLog `
136130
@properties
137131
}
138132

eng/common/build.sh

100644100755
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ usage()
4242
echo " --prepareMachine Prepare machine for CI run, clean up processes after build"
4343
echo " --nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
4444
echo " --warnAsError <value> Sets warnaserror msbuild parameter ('true' or 'false')"
45-
echo " --buildCheck <value> Sets /check msbuild parameter"
4645
echo ""
4746
echo "Command line arguments not listed above are passed thru to msbuild."
4847
echo "Arguments can also be passed in with a single hyphen."
@@ -77,7 +76,6 @@ clean=false
7776

7877
warn_as_error=true
7978
node_reuse=true
80-
build_check=false
8179
binary_log=false
8280
exclude_ci_binary_log=false
8381
pipelines_log=false
@@ -136,7 +134,7 @@ while [[ $# > 0 ]]; do
136134
restore=true
137135
pack=true
138136
;;
139-
-productbuild|-pb)
137+
-productBuild|-pb)
140138
build=true
141139
product_build=true
142140
restore=true
@@ -175,9 +173,6 @@ while [[ $# > 0 ]]; do
175173
node_reuse=$2
176174
shift
177175
;;
178-
-buildcheck)
179-
build_check=true
180-
;;
181176
-runtimesourcefeed)
182177
runtime_source_feed=$2
183178
shift
@@ -229,14 +224,8 @@ function Build {
229224
bl="/bl:\"$log_dir/Build.binlog\""
230225
fi
231226

232-
local check=""
233-
if [[ "$build_check" == true ]]; then
234-
check="/check"
235-
fi
236-
237227
MSBuild $_InitializeToolset \
238228
$bl \
239-
$check \
240229
/p:Configuration=$configuration \
241230
/p:RepoRoot="$repo_root" \
242231
/p:Restore=$restore \
@@ -250,7 +239,6 @@ function Build {
250239
/p:PerformanceTest=$performance_test \
251240
/p:Sign=$sign \
252241
/p:Publish=$publish \
253-
/p:RestoreStaticGraphEnableBinaryLogger=$binary_log \
254242
$properties
255243

256244
ExitWithExitCode 0

src/arcade/eng/common/cibuild.sh renamed to eng/common/cibuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ while [[ -h $source ]]; do
1313
done
1414
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
1515

16-
. "$scriptroot/build.sh" --restore --build --test --pack --publish --ci $@
16+
. "$scriptroot/build.sh" --restore --build --test --pack --publish --ci $@

src/arcade/eng/common/core-templates/job/job.yml renamed to eng/common/core-templates/job/job.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ parameters:
2323
enablePublishBuildArtifacts: false
2424
enablePublishBuildAssets: false
2525
enablePublishTestResults: false
26+
enablePublishUsingPipelines: false
2627
enableBuildRetry: false
2728
mergeTestResults: false
2829
testRunTitle: ''
@@ -73,6 +74,9 @@ jobs:
7374
- ${{ if ne(parameters.enableTelemetry, 'false') }}:
7475
- name: DOTNET_CLI_TELEMETRY_PROFILE
7576
value: '$(Build.Repository.Uri)'
77+
- ${{ if eq(parameters.enableRichCodeNavigation, 'true') }}:
78+
- name: EnableRichCodeNavigation
79+
value: 'true'
7680
# Retry signature validation up to three times, waiting 2 seconds between attempts.
7781
# See https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028#retry-untrusted-root-failures
7882
- name: NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY
@@ -144,6 +148,16 @@ jobs:
144148
- ${{ each step in parameters.steps }}:
145149
- ${{ step }}
146150

151+
- ${{ if eq(parameters.enableRichCodeNavigation, true) }}:
152+
- task: RichCodeNavIndexer@0
153+
displayName: RichCodeNav Upload
154+
inputs:
155+
languages: ${{ coalesce(parameters.richCodeNavigationLanguage, 'csharp') }}
156+
environment: ${{ coalesce(parameters.richCodeNavigationEnvironment, 'internal') }}
157+
richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin
158+
uploadRichNavArtifacts: ${{ coalesce(parameters.richCodeNavigationUploadArtifacts, false) }}
159+
continueOnError: true
160+
147161
- ${{ each step in parameters.componentGovernanceSteps }}:
148162
- ${{ step }}
149163

src/arcade/eng/common/core-templates/job/publish-build-assets.yml renamed to eng/common/core-templates/job/publish-build-assets.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ parameters:
2020
# if 'true', the build won't run any of the internal only steps, even if it is running in non-public projects.
2121
runAsPublic: false
2222

23+
# Optional: whether the build's artifacts will be published using release pipelines or direct feed publishing
24+
publishUsingPipelines: false
25+
2326
# Optional: whether the build's artifacts will be published using release pipelines or direct feed publishing
2427
publishAssetsImmediately: false
2528

@@ -29,9 +32,6 @@ parameters:
2932

3033
is1ESPipeline: ''
3134

32-
# Optional: 🌤️ or not the build has assets it wants to publish to BAR
33-
isAssetlessBuild: false
34-
3535
jobs:
3636
- job: Asset_Registry_Publish
3737

@@ -75,15 +75,15 @@ jobs:
7575
- checkout: self
7676
fetchDepth: 3
7777
clean: true
78-
79-
- ${{ if eq(parameters.isAssetlessBuild, 'false') }}:
80-
- task: DownloadPipelineArtifact@2
81-
displayName: Download Asset Manifests
82-
inputs:
83-
artifactName: AssetManifests
84-
targetPath: '$(Build.StagingDirectory)/AssetManifests'
85-
condition: ${{ parameters.condition }}
86-
continueOnError: ${{ parameters.continueOnError }}
78+
79+
- task: DownloadBuildArtifacts@0
80+
displayName: Download artifact
81+
inputs:
82+
artifactName: AssetManifests
83+
downloadPath: '$(Build.StagingDirectory)/Download'
84+
checkDownloadedFiles: true
85+
condition: ${{ parameters.condition }}
86+
continueOnError: ${{ parameters.continueOnError }}
8787

8888
- task: NuGetAuthenticate@1
8989

@@ -95,9 +95,9 @@ jobs:
9595
scriptLocation: scriptPath
9696
scriptPath: $(Build.SourcesDirectory)/eng/common/sdk-task.ps1
9797
arguments: -task PublishBuildAssets -restore -msbuildEngine dotnet
98-
/p:ManifestsPath='$(Build.StagingDirectory)/AssetManifests'
99-
/p:IsAssetlessBuild=${{ parameters.isAssetlessBuild }}
98+
/p:ManifestsPath='$(Build.StagingDirectory)/Download/AssetManifests'
10099
/p:MaestroApiEndpoint=https://maestro.dot.net
100+
/p:PublishUsingPipelines=${{ parameters.publishUsingPipelines }}
101101
/p:OfficialBuildId=$(Build.BuildNumber)
102102
condition: ${{ parameters.condition }}
103103
continueOnError: ${{ parameters.continueOnError }}
@@ -129,7 +129,7 @@ jobs:
129129
publishLocation: Container
130130
artifactName: ReleaseConfigs
131131

132-
- ${{ if or(eq(parameters.publishAssetsImmediately, 'true'), eq(parameters.isAssetlessBuild, 'true')) }}:
132+
- ${{ if eq(parameters.publishAssetsImmediately, 'true') }}:
133133
- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
134134
parameters:
135135
BARBuildId: ${{ parameters.BARBuildId }}
@@ -150,7 +150,6 @@ jobs:
150150
-WaitPublishingFinish true
151151
-ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'
152152
-SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'
153-
-SkipAssetsPublishing '${{ parameters.isAssetlessBuild }}'
154153
155154
- ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:
156155
- template: /eng/common/core-templates/steps/publish-logs.yml

eng/common/core-templates/job/source-build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ parameters:
2727
# Specifies the build script to invoke to perform the build in the repo. The default
2828
# './build.sh' should work for typical Arcade repositories, but this is customizable for
2929
# difficult situations.
30-
# buildArguments: ''
31-
# Specifies additional build arguments to pass to the build script.
3230
# jobProperties: {}
3331
# A list of job properties to inject at the top level, for potential extensibility beyond
3432
# container and pool.

src/arcade/eng/common/core-templates/jobs/codeql-build.yml renamed to eng/common/core-templates/jobs/codeql-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
enablePublishBuildArtifacts: false
1616
enablePublishTestResults: false
1717
enablePublishBuildAssets: false
18+
enablePublishUsingPipelines: false
1819
enableTelemetry: true
1920

2021
variables:

0 commit comments

Comments
 (0)