You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handling Proper Defaulting of BuildTargetingString within nested templates (Azure#21426)
* adding targeting-string-resolve.yml and calling at the root of each "job" in our pipeline. The BuildTargetingString should apply appropriately in all cases now.
Copy file name to clipboardExpand all lines: eng/pipelines/templates/steps/analyze.yml
+8-19Lines changed: 8 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
1
parameters:
2
-
BuildTargetingString: 'azure-*'
3
2
ServiceDirectory: ''
4
3
TestMarkArgument: ''
5
4
AdditionalTestArgs: ''
@@ -8,6 +7,12 @@ parameters:
8
7
VerifyAutorest: false
9
8
ValidateFormatting: false
10
9
10
+
# The variable TargetingString is set by template `eng/pipelines/templates/steps/targeting-string-resolve.yml`. This template is invoked from yml files:
11
+
# eng/pipelines/templates/jobs/ci.tests.yml
12
+
# eng/pipelines/templates/jobs/ci.yml
13
+
# eng/pipelines/templates/jobs/live.test.yml
14
+
15
+
# Please use `$(TargetingString)` to refer to the python packages glob string. This was previously `${{ parameters.BuildTargetingString }}`.
Copy file name to clipboardExpand all lines: eng/pipelines/templates/steps/build-artifacts.yml
+12-7Lines changed: 12 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,6 @@ parameters:
5
5
- name: TestPipeline
6
6
type: boolean
7
7
default: false
8
-
- name: BuildTargetingString
9
-
type: string
10
-
default: 'azure-*'
11
8
- name: ServiceDirectory
12
9
type: string
13
10
default: ''
@@ -18,13 +15,21 @@ parameters:
18
15
type: object
19
16
default: []
20
17
18
+
# The variable TargetingString is set by template `eng/pipelines/templates/steps/targeting-string-resolve.yml`. This template is invoked from yml files:
19
+
# eng/pipelines/templates/jobs/ci.tests.yml
20
+
# eng/pipelines/templates/jobs/ci.yml
21
+
# eng/pipelines/templates/jobs/live.test.yml
22
+
23
+
# Please use `$(TargetingString)` to refer to the python packages glob string. This was previously `${{ parameters.BuildTargetingString }}`.
# The variable TargetingString is set by template `eng/pipelines/templates/steps/targeting-string-resolve.yml`. This template is invoked from yml files:
19
+
# eng/pipelines/templates/jobs/ci.tests.yml
20
+
# eng/pipelines/templates/jobs/ci.yml
21
+
# eng/pipelines/templates/jobs/live.test.yml
22
+
23
+
# Please use `$(TargetingString)` to refer to the python packages glob string. This was previously `${{ parameters.BuildTargetingString }}`.
Copy file name to clipboardExpand all lines: eng/pipelines/templates/steps/run_apistub.yml
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,22 @@
1
1
parameters:
2
-
BuildTargetingString: 'azure-*'
3
2
ServiceDirectory: ''
4
3
TestMarkArgument: ''
5
4
AdditionalTestArgs: ''
6
5
6
+
# The variable TargetingString is set by template `eng/pipelines/templates/steps/targeting-string-resolve.yml`. This template is invoked from yml files:
7
+
# eng/pipelines/templates/jobs/ci.tests.yml
8
+
# eng/pipelines/templates/jobs/ci.yml
9
+
# eng/pipelines/templates/jobs/live.test.yml
10
+
11
+
# Please use `$(TargetingString)` to refer to the python packages glob string. This was previously `${{ parameters.BuildTargetingString }}`.
Copy file name to clipboardExpand all lines: eng/pipelines/templates/steps/run_bandit.yml
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,21 @@
1
1
parameters:
2
-
BuildTargetingString: 'azure-*'
3
2
ServiceDirectory: ''
4
3
TestMarkArgument: ''
5
4
EnvVars: {}
6
5
6
+
# The variable TargetingString is set by template `eng/pipelines/templates/steps/targeting-string-resolve.yml`. This template is invoked from yml files:
7
+
# eng/pipelines/templates/jobs/ci.tests.yml
8
+
# eng/pipelines/templates/jobs/ci.yml
9
+
# eng/pipelines/templates/jobs/live.test.yml
10
+
11
+
# Please use `$(TargetingString)` to refer to the python packages glob string. This was previously `${{ parameters.BuildTargetingString }}`.
0 commit comments