Skip to content

Commit 5bcf200

Browse files
cheenamalhotraCopilotpaulmedynski
authored
[Release 6.1] OneBranch Governed Release templates (#4230)
* [Release/6.1] Governed release templates * Update ESRP tasks to v6 * Install .NEY 10 and update ESRP variables in use. * Install .NET 10, address official build requirements, and update ESRP variables in use. * Minor touch-ups * Skip signature validation in non-official + .net sdk upgrade * Update versions * Update symbols publishing to isolate environments Co-authored-by: Copilot <copilot@github.com> * Update verify step Co-authored-by: Copilot <copilot@github.com> * Remove run package ref tests * Update variable * Address remaining gaps for MDS Co-authored-by: Copilot <copilot@github.com> * Tidied up a few things rather than go back and forth in review conversations. * Add variables back Co-authored-by: Copilot <copilot@github.com> * Touch-ups Co-authored-by: Copilot <copilot@github.com> --------- Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Paul Medynski <31868385+paulmedynski@users.noreply.github.com>
1 parent 4669f08 commit 5bcf200

46 files changed

Lines changed: 964 additions & 1067 deletions

Some content is hidden

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

eng/pipelines/akv-official-pipeline.yml

Lines changed: 0 additions & 147 deletions
This file was deleted.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- msbuild
3939

4040
variables:
41-
- template: ../../../libraries/ci-build-variables.yml@self
41+
- template: /eng/pipelines/libraries/ci-build-variables.yml@self
4242

4343
steps:
4444
- ${{ if ne(parameters.prebuildSteps, '') }}:
@@ -52,21 +52,21 @@ jobs:
5252
# compilation errors. We won't use the Release artifacts for anything else
5353
# though.
5454
- ${{ if eq(parameters.configuration, 'Debug') }}:
55-
- template: ../steps/ci-project-build-step.yml@self
55+
- template: /eng/pipelines/common/templates/steps/ci-project-build-step.yml@self
5656
parameters:
5757
platform: ${{ parameters.platform }}
5858
configuration: Release
5959
operatingSystem: Windows
6060
build: all
6161

62-
- template: ../steps/ci-project-build-step.yml@self
62+
- template: /eng/pipelines/common/templates/steps/ci-project-build-step.yml@self
6363
parameters:
6464
platform: ${{ parameters.platform }}
6565
configuration: ${{ parameters.configuration }}
6666
operatingSystem: Windows
6767
build: all
6868

69-
- template: ../steps/generate-nuget-package-step.yml@self
69+
- template: /eng/pipelines/common/templates/steps/generate-nuget-package-step.yml@self
7070
parameters:
7171
NugetPackageVersion: $(NugetPackageVersion)
7272
configuration: $(Configuration)
@@ -75,7 +75,7 @@ jobs:
7575
generateSymbolsPackage: false
7676
displayName: 'Generate NuGet package M.D.SqlClient'
7777

78-
- template: ../steps/generate-nuget-package-step.yml@self
78+
- template: /eng/pipelines/common/templates/steps/generate-nuget-package-step.yml@self
7979
parameters:
8080
NugetPackageVersion: $(NugetPackageVersion)
8181
configuration: $(Configuration)

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ jobs:
123123
- ${{ parameters.prebuildSteps }} # extra steps to run before the build like downloading sni and the required configuration
124124

125125
- ${{ if eq(parameters.buildType, 'Project') }}:
126-
- template: ../steps/ci-project-build-step.yml@self
126+
- template: /eng/pipelines/common/templates/steps/ci-project-build-step.yml@self
127127
parameters:
128128
build: allNoDocs
129129

130130
- ${{ if ne(parameters.configProperties, '{}') }}:
131-
- template: ../steps/update-config-file-step.yml@self # update config.json file
131+
- template: /eng/pipelines/common/templates/steps/update-config-file-step.yml@self # update config.json file
132132
parameters:
133133
debug: ${{ parameters.debug }}
134134
saPassword: ${{ parameters.saPassword }}
@@ -204,7 +204,7 @@ jobs:
204204
displayName: 'Start Sql Browser'
205205
condition: eq(variables['Agent.OS'], 'Windows_NT')
206206
- ${{ elseif eq(parameters.configSqlFor, 'local') }}:
207-
- template: ../steps/configure-sql-server-step.yml@self # configure SQL Server
207+
- template: /eng/pipelines/common/templates/steps/configure-sql-server-step.yml@self # configure SQL Server
208208
parameters:
209209
operatingSystem: ${{ parameters.operatingSystem }}
210210
netcoreVersionTestUtils: ${{ parameters.netcoreVersionTestUtils }}
@@ -236,7 +236,7 @@ jobs:
236236
${{ if parameters.configProperties.FileStreamDirectory }}:
237237
fileStreamDirectory: ${{ parameters.configProperties.FileStreamDirectory }}
238238

239-
- template: ../steps/build-all-tests-step.yml@self # build tests
239+
- template: /eng/pipelines/common/templates/steps/build-all-tests-step.yml@self # build tests
240240
parameters:
241241
targetFramework: ${{ parameters.targetFramework }}
242242
referenceType: ${{ parameters.buildType }}
@@ -245,7 +245,7 @@ jobs:
245245
OSGroup: Unix
246246

247247
- ${{ if eq(parameters.enableX64Test, true) }}: # run native tests
248-
- template: ../steps/run-all-tests-step.yml@self # run tests
248+
- template: /eng/pipelines/common/templates/steps/run-all-tests-step.yml@self # run tests
249249
parameters:
250250
debug: ${{ parameters.debug }}
251251
targetFramework: ${{ parameters.targetFramework }}
@@ -268,7 +268,7 @@ jobs:
268268
installDir: $(dotnetx86RootPath)
269269
runtimes: [8.x, 9.x]
270270

271-
- template: ../steps/run-all-tests-step.yml@self
271+
- template: /eng/pipelines/common/templates/steps/run-all-tests-step.yml@self
272272
parameters:
273273
debug: ${{ parameters.debug }}
274274
targetFramework: ${{ parameters.targetFramework }}
@@ -279,7 +279,7 @@ jobs:
279279
operatingSystem: ${{ parameters.operatingSystem }}
280280

281281
- ${{ if and(eq(parameters.publishTestResults, true), eq(parameters.buildType, 'Project')) }}: # publish test results if build type is project
282-
- template: ../steps/publish-test-results-step.yml@self
282+
- template: /eng/pipelines/common/templates/steps/publish-test-results-step.yml@self
283283
parameters:
284284
debug: ${{ parameters.debug }}
285285
targetFramework: ${{ parameters.targetFramework }}

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

Lines changed: 0 additions & 80 deletions
This file was deleted.

eng/pipelines/common/templates/stages/ci-run-tests-stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ stages:
5757
- ${{ each platform in config.value.buildPlatforms }}:
5858
- ${{ each testSet in config.value.TestSets }}:
5959
- ${{ if contains(targetFramework, 'net4') }}: # .NET Framework
60-
- template: ../jobs/ci-run-tests-job.yml@self
60+
- template: /eng/pipelines/common/templates/jobs/ci-run-tests-job.yml@self
6161
parameters:
6262
debug: ${{ parameters.debug }}
6363
buildType: ${{ parameters.buildType }}
@@ -85,7 +85,7 @@ stages:
8585
enableX64Test: false
8686
- ${{ else }}: # .NET
8787
- ${{ each useManagedSNI in config.value.useManagedSNI }}:
88-
- template: ../jobs/ci-run-tests-job.yml@self
88+
- template: /eng/pipelines/common/templates/jobs/ci-run-tests-job.yml@self
8989
parameters:
9090
debug: ${{ parameters.debug }}
9191
buildType: ${{ parameters.buildType }}

0 commit comments

Comments
 (0)