Skip to content

Commit dd8d8c6

Browse files
authored
[automated] Merge branch 'release/8.0.3xx' => 'release/8.0.4xx' (#20708)
2 parents f012aff + 15aafa5 commit dd8d8c6

5 files changed

Lines changed: 50 additions & 22 deletions

File tree

.vsts-ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ trigger:
99
- release/*
1010
- internal/release/*
1111

12+
parameters:
13+
- name: runPrBuild
14+
displayName: Run PR Build
15+
type: boolean
16+
default: false
17+
1218
variables:
1319
- name: _PublishUsingPipelines
1420
value: false
@@ -35,6 +41,8 @@ variables:
3541
# Set the MicroBuild plugin installation directory to the agent temp directory to avoid SDL tool scanning.
3642
- name: MicroBuildOutputFolderOverride
3743
value: $(Agent.TempDirectory)
44+
# Sets: dn-bot-dnceng-artifact-feeds-rw
45+
- group: AzureDevOps-Artifact-Feeds-Pats
3846

3947
resources:
4048
repositories:
@@ -94,8 +102,8 @@ extends:
94102
targetPath: $(Build.SourcesDirectory)\eng\buildConfiguration
95103
artifactName: buildConfiguration
96104

97-
# PR-only jobs
98-
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
105+
# PR-only jobs
106+
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest'), eq(parameters.runPrBuild, true)) }}:
99107
# Windows
100108
- template: eng/build.yml@self
101109
parameters:
@@ -184,7 +192,7 @@ extends:
184192
runTests: true
185193

186194
# Official/PGO instrumentation Builds
187-
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
195+
- ${{ else }}:
188196
# Windows
189197
- template: eng/build.yml@self
190198
parameters:

eng/build.yml

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -179,19 +179,42 @@ jobs:
179179

180180
- template: /eng/common/templates-official/variables/pool-providers.yml
181181

182-
steps:
183-
- checkout: self
184-
clean: true
185-
- template: /eng/common/templates/steps/enable-internal-runtimes.yml
186-
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
187-
- ${{ if and(not(parameters.isBuiltFromVmr), ne(variables['System.TeamProject'], 'public')) }}:
182+
${{ if and(not(parameters.isBuiltFromVmr), ne(variables['System.TeamProject'], 'public')) }}:
183+
presteps:
184+
# Install pwsh for enable-internal-runtimes.yml when the container is ubuntu2204 (the image is missing pwsh).
185+
- ${{ if and(eq(parameters.container, 'ubuntu2204'), eq(parameters.buildArchitecture, 'x64')) }}:
186+
# Script from here: https://learn.microsoft.com/en-us/powershell/scripting/install/install-ubuntu?view=powershell-7.5#installation-via-package-repository-the-package-repository
187+
- script: |
188+
sudo apt-get update
189+
sudo apt-get install -y wget apt-transport-https software-properties-common
190+
source /etc/os-release
191+
wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb
192+
sudo dpkg -i packages-microsoft-prod.deb
193+
rm packages-microsoft-prod.deb
194+
sudo apt-get update
195+
sudo apt-get install -y powershell
196+
pwsh --version
197+
displayName: Install PowerShell on Ubuntu 22.04
198+
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
188199
- task: PowerShell@2
189200
displayName: Setup Private Feeds Credentials
190201
inputs:
191202
filePath: $(installerRoot)/eng/common/SetupNugetSources.ps1
192203
arguments: -ConfigFile $(installerRoot)/NuGet.config -Password $Env:Token
193204
env:
194205
Token: $(dn-bot-dnceng-artifact-feeds-rw)
206+
- ${{ else }}:
207+
- task: Bash@3
208+
displayName: Setup Private Feeds Credentials
209+
inputs:
210+
filePath: $(installerRoot)/eng/common/SetupNugetSources.sh
211+
arguments: $(installerRoot)/NuGet.config $Token
212+
env:
213+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
214+
215+
steps:
216+
- template: /eng/common/templates/steps/enable-internal-runtimes.yml
217+
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
195218
- script: $(installerRoot)/build.cmd
196219
$(_TestArg) $(_PackArg)
197220
-publish -ci -sign
@@ -204,15 +227,6 @@ jobs:
204227
env:
205228
DOTNET_CLI_UI_LANGUAGE: ${{ parameters.dotnetCLIUILanguage }}
206229

207-
- ${{ if ne(parameters.agentOs, 'Windows_NT') }}:
208-
- ${{ if and(not(parameters.isBuiltFromVmr), ne(variables['System.TeamProject'], 'public')) }}:
209-
- task: Bash@3
210-
displayName: Setup Private Feeds Credentials
211-
inputs:
212-
filePath: $(installerRoot)/eng/common/SetupNugetSources.sh
213-
arguments: $(installerRoot)/NuGet.config $Token
214-
env:
215-
Token: $(dn-bot-dnceng-artifact-feeds-rw)
216230
- ${{ if eq(parameters.agentOs, 'Linux') }}:
217231
- script: $(installerRoot)/build.sh
218232
$(_TestArg) $(_PackArg)

src/SourceBuild/content/eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
These URLs can't be composed from their base URL and version as we read them from the
3131
prep.sh and pipeline scripts, outside of MSBuild.
3232
-->
33-
<PrivateSourceBuiltArtifactsUrl>https://builds.dotnet.microsoft.com/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.8.0.121-servicing.25476.1.centos.9-x64.tar.gz</PrivateSourceBuiltArtifactsUrl>
34-
<PrivateSourceBuiltSdkUrl>https://builds.dotnet.microsoft.com/source-built-artifacts/sdks/dotnet-sdk-8.0.121-centos.9-x64.tar.gz</PrivateSourceBuiltSdkUrl>
33+
<PrivateSourceBuiltArtifactsUrl>https://builds.dotnet.microsoft.com/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.8.0.122-servicing.25528.1.centos.9-x64.tar.gz</PrivateSourceBuiltArtifactsUrl>
34+
<PrivateSourceBuiltSdkUrl>https://builds.dotnet.microsoft.com/source-built-artifacts/sdks/dotnet-sdk-8.0.122-centos.9-x64.tar.gz</PrivateSourceBuiltSdkUrl>
3535
</PropertyGroup>
3636
</Project>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"tools": {
3-
"dotnet": "8.0.121"
3+
"dotnet": "8.0.122"
44
},
55
"msbuild-sdks": {
66
"Microsoft.Build.CentralPackageVersions": "2.0.1",
77
"Microsoft.Build.Traversal": "2.0.2",
88
"Microsoft.NET.Sdk.IL": "3.0.0-preview-27107-01",
9-
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.25465.1",
9+
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.25515.1",
1010
"Yarn.MSBuild": "1.15.2"
1111
}
1212
}

src/VirtualMonoRepo/allowed-binaries.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@ src/aspnetcore/src/*.woff
3232
src/aspnetcore/src/*.woff2
3333
src/aspnetcore/src/Components/Web.JS/dist/Release/blazor.*.js # JavaScript files with a null bytes
3434
src/aspnetcore/src/ProjectTemplates/Web.ProjectTemplates/**/app.db
35+
src/aspnetcore/src/Servers/IIS/AspNetCoreModuleV2/AspNetCore/HtmlResponses.rc # UTF16-LE text file
3536
src/aspnetcore/src/submodules/spa-templates/**/app.db
3637

3738
src/fsharp/**/signedtests/*
3839
src/fsharp/src/fsi/fsi.res # Icon
40+
src/fsharp/vsintegration/src/FSharp.LanguageService/VSPackage.resx # UTF16-LE text file
41+
42+
src/installer/src/finalizer/native.rc # UTF16-LE text file
3943

4044
src/msbuild/src/Tasks.UnitTests/*
4145

@@ -51,7 +55,9 @@ src/runtime/src/mono/wasm/testassets/*
5155
src/runtime/src/native/external/brotli/common/dictionary.bin.br
5256

5357
src/sdk/src/Assets/TestProjects/*
58+
src/sdk/src/GenAPI/genapi.slnf # UTF16-LE text file
5459

60+
src/source-build-externals/src/application-insights/BASE/.PreReleaseVersion # UTF16-LE text file
5561
src/source-build-externals/src/azure-activedirectory-identitymodel-extensions-for-dotnet/build/strongNameBypass.reg # UTF16-LE text file
5662
src/source-build-externals/src/azure-activedirectory-identitymodel-extensions-for-dotnet/build/strongNameBypass2.reg # UTF16-LE text file
5763
src/source-build-externals/src/humanizer/src/Humanizer.Tests*

0 commit comments

Comments
 (0)