Skip to content

Commit 527278b

Browse files
authored
Merge pull request #82117 from vseanreesermsft/internal-merge-7.0-2023-02-14-1048
Merging internal commits for release/7.0
2 parents a9b6c14 + bd47178 commit 527278b

File tree

6 files changed

+95
-14
lines changed

6 files changed

+95
-14
lines changed

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
<optimizationlinuxarm64MIBCRuntimeVersion>1.0.0-prerelease.22415.6</optimizationlinuxarm64MIBCRuntimeVersion>
141141
<optimizationPGOCoreCLRVersion>1.0.0-prerelease.22415.6</optimizationPGOCoreCLRVersion>
142142
<!-- Not auto-updated. -->
143-
<MicrosoftDiaSymReaderNativeVersion>16.9.0-beta1.21055.5</MicrosoftDiaSymReaderNativeVersion>
143+
<MicrosoftDiaSymReaderNativeVersion>16.11.23-beta1.23063.1</MicrosoftDiaSymReaderNativeVersion>
144144
<SystemCommandLineVersion>2.0.0-beta4.22355.1</SystemCommandLineVersion>
145145
<TraceEventVersion>3.0.3</TraceEventVersion>
146146
<NETStandardLibraryRefVersion>2.1.0</NETStandardLibraryRefVersion>

eng/pipelines/common/global-build-job.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
variables:
7272
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
7373
- group: DotNet-HelixApi-Access
74+
- group: AzureDevOps-Artifact-Feeds-Pats
7475

7576
- name: _osParameter
7677
value: -os ${{ parameters.osGroup }}
@@ -128,6 +129,26 @@ jobs:
128129
- ${{ if eq(parameters.isOfficialBuild, true) }}:
129130
- template: /eng/pipelines/common/restore-internal-tools.yml
130131

132+
# Do not set up nuget sources for source build because the source build scripts already do this.
133+
# This will cause the working tree to be dirty, which breaks the stash command when shallow clones are used, like in CI or official builds.
134+
- ${{ if and(ne(variables['System.TeamProject'], 'public'), ne(parameters.buildingOnSourceBuildImage, true)) }}:
135+
- ${{ if ne(parameters.osGroup, 'windows') }}:
136+
- task: Bash@3
137+
displayName: Setup Private Feeds Credentials
138+
inputs:
139+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
140+
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
141+
env:
142+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
143+
- ${{ if eq(parameters.osGroup, 'windows') }}:
144+
- task: PowerShell@2
145+
displayName: Setup Private Feeds Credentials
146+
inputs:
147+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
148+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
149+
env:
150+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
151+
131152
- ${{ each monoCrossAOTTargetOS in parameters.monoCrossAOTTargetOS }}:
132153
- task: DownloadPipelineArtifact@2
133154
displayName: Download ${{monoCrossAOTTargetOS}} AOT offset files

eng/pipelines/coreclr/templates/build-job.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ jobs:
110110
# Variables used by arcade to gather asset manifests
111111
- name: _DotNetPublishToBlobFeed
112112
value: true
113+
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
114+
- group: AzureDevOps-Artifact-Feeds-Pats
113115
- name: officialBuildIdArg
114116
value: ''
115117
- ${{ if eq(parameters.isOfficialBuild, true) }}:
@@ -182,6 +184,24 @@ jobs:
182184
continueOnError: false
183185
condition: and(succeeded(), in(variables['SignType'], 'real', 'test'))
184186

187+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
188+
- ${{ if ne(parameters.osGroup, 'windows') }}:
189+
- task: Bash@3
190+
displayName: Setup Private Feeds Credentials
191+
inputs:
192+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
193+
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
194+
env:
195+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
196+
- ${{ if eq(parameters.osGroup, 'windows') }}:
197+
- task: PowerShell@2
198+
displayName: Setup Private Feeds Credentials
199+
inputs:
200+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
201+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
202+
env:
203+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
204+
185205
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
186206
- script: |
187207
du -sh $(Build.SourcesDirectory)/*

eng/pipelines/installer/jobs/base-job.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ jobs:
9898
${{ if in(parameters.osGroup, 'Linux', 'FreeBSD') }}:
9999
value: '/root/runtime/'
100100

101+
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
102+
- group: AzureDevOps-Artifact-Feeds-Pats
103+
101104
###
102105
### Platform-specific variable setup
103106
###
@@ -389,6 +392,24 @@ jobs:
389392
df -h
390393
displayName: Disk Usage before Build
391394
395+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
396+
- ${{ if ne(parameters.osGroup, 'windows') }}:
397+
- task: Bash@3
398+
displayName: Setup Private Feeds Credentials
399+
inputs:
400+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
401+
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
402+
env:
403+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
404+
- ${{ if eq(parameters.osGroup, 'windows') }}:
405+
- task: PowerShell@2
406+
displayName: Setup Private Feeds Credentials
407+
inputs:
408+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
409+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
410+
env:
411+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
412+
392413
# Build the default subset non-MacOS platforms
393414
- ${{ if ne(parameters.osGroup, 'OSX') }}:
394415
- script: $(BaseJobBuildCommand)

eng/pipelines/libraries/base-job.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
variables:
4949
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
5050
- group: DotNet-HelixApi-Access
51+
- group: AzureDevOps-Artifact-Feeds-Pats
5152

5253
- _buildScriptFileName: build
5354

@@ -148,4 +149,22 @@ jobs:
148149
artifactName: '$(_runtimeArtifactName)'
149150
displayName: '$(runtimeFlavorName) build drop'
150151

152+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
153+
- ${{ if ne(parameters.osGroup, 'windows') }}:
154+
- task: Bash@3
155+
displayName: Setup Private Feeds Credentials
156+
inputs:
157+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
158+
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
159+
env:
160+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
161+
- ${{ if eq(parameters.osGroup, 'windows') }}:
162+
- task: PowerShell@2
163+
displayName: Setup Private Feeds Credentials
164+
inputs:
165+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
166+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
167+
env:
168+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
169+
151170
- ${{ parameters.steps }}

eng/pipelines/runtime-official.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -368,19 +368,19 @@ stages:
368368
#
369369
# Build Sourcebuild leg
370370
#
371-
- template: /eng/pipelines/common/platform-matrix.yml
372-
parameters:
373-
jobTemplate: /eng/pipelines/common/global-build-job.yml
374-
buildConfig: Release
375-
helixQueueGroup: ci
376-
platforms:
377-
- SourceBuild_Linux_x64
378-
jobParameters:
379-
nameSuffix: SourceBuild
380-
extraStepsTemplate: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
381-
extraStepsParameters:
382-
name: SourceBuildPackages
383-
timeoutInMinutes: 95
371+
# - template: /eng/pipelines/common/platform-matrix.yml
372+
# parameters:
373+
# jobTemplate: /eng/pipelines/common/global-build-job.yml
374+
# buildConfig: Release
375+
# helixQueueGroup: ci
376+
# platforms:
377+
# - SourceBuild_Linux_x64
378+
# jobParameters:
379+
# nameSuffix: SourceBuild
380+
# extraStepsTemplate: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
381+
# extraStepsParameters:
382+
# name: SourceBuildPackages
383+
# timeoutInMinutes: 95
384384

385385

386386
#

0 commit comments

Comments
 (0)