Skip to content

Commit 9502811

Browse files
committed
Merge branch 'main' into dev/russellben/config-jsonc
2 parents 06389a6 + f880e40 commit 9502811

98 files changed

Lines changed: 1826 additions & 650 deletions

File tree

Some content is hidden

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

eng/pipelines/steps/install-dotnet.yml renamed to eng/pipelines/common/steps/install-dotnet.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ steps:
6969
env:
7070
PROCESSOR_ARCHITECTURE: x86
7171

72+
7273
# Install the desired Runtimes, if any.
7374
- ${{ each version in parameters.runtimes }}:
7475
- task: UseDotNet@2
@@ -96,7 +97,7 @@ steps:
9697
inputs:
9798
targetType: filePath
9899
pwsh: true
99-
filePath: $(Build.SourcesDirectory)/eng/pipelines/steps/install-dotnet-arm64.ps1
100+
filePath: $(Build.SourcesDirectory)/eng/pipelines/common/steps/install-dotnet-arm64.ps1
100101
# Arguments:
101102
#
102103
# -Debug:
File renamed without changes.

eng/pipelines/common/templates/jobs/ci-build-nugets-job.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ jobs:
132132
targetPath: $(localFeedPath)
133133

134134
# Install the .NET SDK.
135-
- template: /eng/pipelines/steps/install-dotnet.yml@self
135+
- template: /eng/pipelines/common/steps/install-dotnet.yml@self
136136

137137
# Restore dotnet CLI tools (e.g. pwsh, apicompat) before building.
138-
- template: /eng/pipelines/steps/restore-dotnet-tools.yml@self
138+
- template: /eng/pipelines/common/steps/restore-dotnet-tools.yml@self
139139

140140
# When we're performing a Debug build, we still want to try _compiling_ the
141141
# code in Release mode to ensure downstream pipelines don't encounter

eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
displayName: '[Debug] List Environment Variables'
4545

4646
# Install the .NET SDK.
47-
- template: /eng/pipelines/steps/install-dotnet.yml@self
47+
- template: /eng/pipelines/common/steps/install-dotnet.yml@self
4848
parameters:
4949
debug: ${{ parameters.debug }}
5050

eng/pipelines/common/templates/jobs/ci-run-tests-job.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
targetPath: $(Build.SourcesDirectory)/packages
210210

211211
# Install the .NET SDK and Runtimes.
212-
- template: /eng/pipelines/steps/install-dotnet.yml@self
212+
- template: /eng/pipelines/common/steps/install-dotnet.yml@self
213213
parameters:
214214
debug: ${{ parameters.debug }}
215215
${{ if parameters.isArm64 }}:
@@ -221,7 +221,7 @@ jobs:
221221
runtimes: [8.x, 9.x]
222222

223223
# Restore dotnet CLI tools (e.g. pwsh, apicompat) before building.
224-
- template: /eng/pipelines/steps/restore-dotnet-tools.yml@self
224+
- template: /eng/pipelines/common/steps/restore-dotnet-tools.yml@self
225225

226226
- ${{ if ne(parameters.prebuildSteps, '') }}:
227227
- ${{ parameters.prebuildSteps }} # extra steps to run before the build like downloading sni and the required configuration
@@ -346,7 +346,7 @@ jobs:
346346
- ${{ if and(eq(parameters.enableX86Test, true), eq(parameters.operatingSystem, 'Windows')) }}:
347347
- ${{ if ne(variables['dotnetx86RootPath'], '') }}:
348348
# Install the .NET SDK and Runtimes for x86.
349-
- template: /eng/pipelines/steps/install-dotnet.yml@self
349+
- template: /eng/pipelines/common/steps/install-dotnet.yml@self
350350
parameters:
351351
architecture: x86
352352
debug: ${{ parameters.debug }}

eng/pipelines/common/templates/steps/pre-build-step.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#################################################################################
66
steps:
77
# Install the .NET SDK and Runtimes.
8-
- template: /eng/pipelines/steps/install-dotnet.yml@self
8+
- template: /eng/pipelines/common/steps/install-dotnet.yml@self
99
parameters:
1010
runtimes: [8.x, 9.x]
1111

eng/pipelines/common/templates/steps/verify-nuget-package-step.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ parameters:
3434

3535
steps:
3636
# Install the .NET SDK, required by the PowerShell script.
37-
- template: /eng/pipelines/steps/install-dotnet.yml@self
37+
- template: /eng/pipelines/common/steps/install-dotnet.yml@self
3838

3939
# Invoke the script with the path to the packages to verify.
4040
- task: PowerShell@2

eng/pipelines/onebranch/variables/common-variables.yml renamed to eng/pipelines/common/variables/common-variables.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
# See the LICENSE file in the project root for more information. #
55
#################################################################################
66

7-
# Common variables shared across all OneBranch Official pipelines.
7+
# Common variables shared across all pipelines.
88

99
variables:
10-
- name: CommitHead
11-
value: '' # the value will be extracted from the repo's head
1210

1311
##########################################################################
1412
# "Well-Known" Variables that are ok to use directly, anywhere in the pipeline.
@@ -21,15 +19,3 @@ variables:
2119
# <ArtifactsPath>).
2220
- name: BUILD_OUTPUT
2321
value: $(REPO_ROOT)/artifacts
24-
25-
# Directory where downloaded pipeline artifacts (NuGet packages from earlier
26-
# stages) are placed. Build jobs use this as a local NuGet package source so
27-
# that downstream packages can resolve dependencies on packages built by
28-
# upstream stages.
29-
- name: JOB_INPUT
30-
value: $(REPO_ROOT)/packages
31-
32-
# Root directory for all job output artifacts (NuGet packages, symbols, etc.). OneBranch auto
33-
# publishes everything under this directory as the artifact for the job.
34-
- name: JOB_OUTPUT
35-
value: $(REPO_ROOT)/output

eng/pipelines/jobs/pack-abstractions-package-ci-job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
displayName: '[Debug] Print Environment Variables'
104104

105105
# Install the .NET SDK.
106-
- template: /eng/pipelines/steps/install-dotnet.yml@self
106+
- template: /eng/pipelines/common/steps/install-dotnet.yml@self
107107
parameters:
108108
debug: ${{ parameters.debug }}
109109

0 commit comments

Comments
 (0)