Skip to content

Commit f448387

Browse files
authored
Remove featureBand pipeline parameter (#2793)
1 parent 3f42147 commit f448387

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

eng/pipelines/pr.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ parameters:
3131
- lite
3232
- full
3333

34-
- name: featureBand
35-
displayName: 'Target Feature Band'
36-
type: string
37-
default: 'Detect by Branch Name'
38-
values:
39-
- 'Detect by Branch Name'
40-
- '1xx'
41-
- '>= 2xx'
42-
4334
variables:
4435
- name: isScheduleTrigger
4536
value: ${{ eq(variables['Build.Reason'], 'Schedule') }}

eng/pipelines/unofficial.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,6 @@ parameters:
4141
- Stable Preview
4242
- Stable Final
4343

44-
- name: featureBand
45-
displayName: 'Target Feature Band'
46-
type: string
47-
default: 'Detect by Branch Name'
48-
values:
49-
- 'Detect by Branch Name'
50-
- '1xx'
51-
- '>= 2xx'
52-
5344
variables:
5445
- name: isScheduleTrigger
5546
value: ${{ eq(variables['Build.Reason'], 'Schedule') }}
@@ -143,8 +134,5 @@ extends:
143134
scope: ${{ parameters.buildScope }}
144135
isOfficialBuild: false
145136
# Exclude runtime dependent jobs for any branch not producing a 1xx version since runtime-related repos aren't built in that context
146-
# Will exclude runtime-dependent jobs when either of the following are true:
147-
# - 'Detect By Branch Name' was selected for the feature band: branch is not main and does not contain '.1xx' but does end with 'xx'.
148-
# - '>= 2xx' was selected for the feature band
149-
${{ if or(and(eq(parameters.featureBand, 'Detect by Branch Name'), ne(variables['Build.SourceBranch'], 'refs/heads/main'), not(contains(variables['Build.SourceBranch'], '.1xx')), endsWith(variables['Build.SourceBranch'], 'xx')), eq(parameters.featureBand, '>= 2xx')) }}:
150-
excludeRuntimeDependentJobs: true
137+
# This is enabled for all branches except main and 1xx
138+
excludeRuntimeDependentJobs: false

0 commit comments

Comments
 (0)