Skip to content

Commit 957e09e

Browse files
MerlinBotmlindgren
authored andcommitted
Merged PR 11279165: Onebranch Build Pipeline Update: Remove deprecated auth variables from build pipelines
OneBranchCDPXPatMigrationPlugin V1.1: # Why this change? This PR was automatically generated because we are deprecating the service principal token inside CDP_DEFAULT_CLIENT_PAT and CDP_DEFAULT_CLIENT_PACKAGE_PAT variables in your OneBranch Pipelines build configuration. It will be replaced by ADO's system.accesstoken Per [Retirement of Shared Global Package PAT variables in build containers](https://eng.ms/docs/cloud-ai-platform/azure-edge-platform-aep/aep-engineering-systems/productivity-and-experiences/ce-legacy-infrastructure/onebranch/build/troubleshootingfaqs/retirementofcdpxpatinbuildcontainers), OneBranch will stop providing automatic authentication for cross-organization package pull and git clone scenarios. Please see the above documentation link for instructions and references for migration. This PR applies the `EnableCDPxPAT: false` featureFlag to your pipelines, which will show how your pipelines will work after the migration deadline of August 28th, 2024. At this time, coreXT pipelines are not included in this deadline. **Address the build failures before you merge this pr.** Please validate your builds against this PR before merging the change, and address any failures. A failure in a PR build with this change indicates that you depend on the CDP_DEFAULT_CLIENT_PAT variable, and will need to make your own identity or make build config changes. Please see [Retirement of Shared Global Package PAT variables in build containers](https://eng.ms/docs/cloud-ai-platform/azure-edge-platform-aep/aep-engineering-systems/productivity-and-experiences/ce-legacy-infrastructure/onebranch/build/troubleshootingfaqs/retirementofcdpxpatinbuildcontainers) for examples. If you do not experience any build failures due to this change, you will not experience issues with it on the deprecation date. A successful build with this flag indicates that you will not need to do further work on this migration. For any queries, please reach out to support via OneBranch bot at [aka.ms/onebranch/bot](https://aka.ms/onebranch/bot). : --- For feedback or questions about this PR, please use the [OneBranch Support bot](https://aka.ms/onebranch/bot) --- This change was automatically generated by [1ES Gardener](https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/gardener/1es-gardener) (a [MerlinBot](https://aka.ms/MerlinBot) extension) which is an initiative by the 1ES team to help repos stay up-to-date with latest tools, features, and best practices.
1 parent 15d0779 commit 957e09e

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.pipelines/OneBranch.Official.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ extends:
4242
template: v2/OneBranch.Official.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates
4343
parameters:
4444
featureFlags:
45+
EnableCDPxPAT: false
4546
needExceptionForUbuntuUsage: true # Mariner does not currently support all of our cross-compilation targets
4647
LinuxHostVersion:
4748
Distribution: Ubuntu # Mariner kernel is incompatible with Ubuntu container; causes infinite loop in ASAN https://github.com/actions/runner-images/issues/9524

.pipelines/OneBranch.PullRequest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ extends:
2626
template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates
2727
parameters:
2828
featureFlags:
29+
EnableCDPxPAT: false
2930
needExceptionForUbuntuUsage: true # Mariner does not currently support all of our cross-compilation targets
3031
LinuxHostVersion:
3132
Distribution: Ubuntu # Mariner kernel is incompatible with Ubuntu container; causes infinite loop in ASAN https://github.com/actions/runner-images/issues/9524

.pipelines/OneBranch.WindowsUndocked.Official.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ extends:
7777
tsa:
7878
enabled: false # Disable TSA to force build breaks
7979
featureFlags:
80+
EnableCDPxPAT: false
8081
WindowsHostVersion: '1ESWindows2022'
8182
stages:
8283
- stage: Build

.pipelines/OneBranch.WindowsUndocked.PullRequest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ extends:
3838
tsa:
3939
enabled: false # Disable TSA to force build breaks
4040
featureFlags:
41+
EnableCDPxPAT: false
4142
WindowsHostVersion: '1ESWindows2022'
4243
stages:
4344
- stage: Build

0 commit comments

Comments
 (0)