Skip to content

Commit 4bf8004

Browse files
Sync eng/common directory with azure-sdk-tools for PR 8434 (#30027)
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#8434 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Wes Haggard <[email protected]>
1 parent 0acaf3f commit 4bf8004

File tree

1 file changed

+115
-115
lines changed

1 file changed

+115
-115
lines changed

eng/common/pipelines/templates/jobs/prepare-pipelines.yml

Lines changed: 115 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -40,62 +40,62 @@ jobs:
4040
azureSubscription: 'opensource-api-connection'
4141
scriptType: pscore
4242
scriptLocation: inlineScript
43-
inlineScript:
44-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
45-
--organization azure-sdk `
46-
--project public `
47-
--prefix ${{parameters.Prefix}} `
48-
--devopspath "\${{parameters.Prefix}}" `
49-
--path $(System.DefaultWorkingDirectory)/sdk `
50-
--endpoint Azure `
51-
--repository ${{parameters.Repository}} `
52-
--convention ci `
53-
--agentpool Hosted `
54-
--branch refs/heads/$(DefaultBranch) `
55-
--set-managed-variables `
56-
--debug `
43+
inlineScript: >
44+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
45+
--organization azure-sdk
46+
--project public
47+
--prefix ${{parameters.Prefix}}
48+
--devopspath "\${{parameters.Prefix}}"
49+
--path $(System.DefaultWorkingDirectory)/sdk
50+
--endpoint Azure
51+
--repository ${{parameters.Repository}}
52+
--convention ci
53+
--agentpool Hosted
54+
--branch refs/heads/$(DefaultBranch)
55+
--set-managed-variables
56+
--debug
5757
${{parameters.CIConventionOptions}}
5858
displayName: Create CI Pipelines for Public Repository
5959
- task: AzureCLI@2
6060
inputs:
6161
azureSubscription: 'opensource-api-connection'
6262
scriptType: pscore
6363
scriptLocation: inlineScript
64-
inlineScript:
65-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
66-
--organization azure-sdk `
67-
--project internal `
68-
--prefix ${{parameters.Prefix}} `
69-
--devopspath "\${{parameters.Prefix}}" `
70-
--path $(System.DefaultWorkingDirectory)/sdk `
71-
--endpoint Azure `
72-
--repository ${{parameters.Repository}} `
73-
--convention up `
74-
--agentpool Hosted `
75-
--branch refs/heads/$(DefaultBranch) `
76-
--set-managed-variables `
77-
--debug `
64+
inlineScript: >
65+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
66+
--organization azure-sdk
67+
--project internal
68+
--prefix ${{parameters.Prefix}}
69+
--devopspath "\${{parameters.Prefix}}"
70+
--path $(System.DefaultWorkingDirectory)/sdk
71+
--endpoint Azure
72+
--repository ${{parameters.Repository}}
73+
--convention up
74+
--agentpool Hosted
75+
--branch refs/heads/$(DefaultBranch)
76+
--set-managed-variables
77+
--debug
7878
${{parameters.UPConventionOptions}}
7979
displayName: Create UP Pipelines for Public Repository
8080
- task: AzureCLI@2
8181
inputs:
8282
azureSubscription: 'opensource-api-connection'
8383
scriptType: pscore
8484
scriptLocation: inlineScript
85-
inlineScript:
86-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
87-
--organization azure-sdk `
88-
--project internal `
89-
--prefix ${{parameters.Prefix}} `
90-
--devopspath "\${{parameters.Prefix}}" `
91-
--path $(System.DefaultWorkingDirectory)/sdk `
92-
--endpoint Azure `
93-
--repository ${{parameters.Repository}} `
94-
--convention tests `
95-
--agentpool Hosted `
96-
--branch refs/heads/$(DefaultBranch) `
97-
--set-managed-variables `
98-
--debug `
85+
inlineScript: >
86+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
87+
--organization azure-sdk
88+
--project internal
89+
--prefix ${{parameters.Prefix}}
90+
--devopspath "\${{parameters.Prefix}}"
91+
--path $(System.DefaultWorkingDirectory)/sdk
92+
--endpoint Azure
93+
--repository ${{parameters.Repository}}
94+
--convention tests
95+
--agentpool Hosted
96+
--branch refs/heads/$(DefaultBranch)
97+
--set-managed-variables
98+
--debug
9999
${{parameters.TestsConventionOptions}}
100100
displayName: Create Live Test Pipelines for Public Repository
101101
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))
@@ -104,20 +104,20 @@ jobs:
104104
azureSubscription: 'opensource-api-connection'
105105
scriptType: pscore
106106
scriptLocation: inlineScript
107-
inlineScript:
108-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
109-
--organization azure-sdk `
110-
--project internal `
111-
--prefix ${{parameters.Prefix}} `
112-
--devopspath "\${{parameters.Prefix}}" `
113-
--path $(System.DefaultWorkingDirectory)/sdk `
114-
--endpoint Azure `
115-
--repository ${{parameters.Repository}} `
116-
--convention testsweekly `
117-
--agentpool Hosted `
118-
--branch refs/heads/$(DefaultBranch) `
119-
--set-managed-variables `
120-
--debug `
107+
inlineScript: >
108+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
109+
--organization azure-sdk
110+
--project internal
111+
--prefix ${{parameters.Prefix}}
112+
--devopspath "\${{parameters.Prefix}}"
113+
--path $(System.DefaultWorkingDirectory)/sdk
114+
--endpoint Azure
115+
--repository ${{parameters.Repository}}
116+
--convention testsweekly
117+
--agentpool Hosted
118+
--branch refs/heads/$(DefaultBranch)
119+
--set-managed-variables
120+
--debug
121121
${{parameters.TestsConventionOptions}}
122122
displayName: Create Weekly (Multi-Cloud) Live Test Pipelines for Public Repository
123123
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))
@@ -126,20 +126,20 @@ jobs:
126126
azureSubscription: 'opensource-api-connection'
127127
scriptType: pscore
128128
scriptLocation: inlineScript
129-
inlineScript:
130-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
131-
--organization azure-sdk `
132-
--project internal `
133-
--prefix ${{parameters.Prefix}} `
134-
--devopspath "\${{parameters.Prefix}}" `
135-
--path $(System.DefaultWorkingDirectory)/sdk `
136-
--endpoint Azure `
137-
--repository ${{parameters.Repository}} `
138-
--convention upweekly `
139-
--agentpool Hosted `
140-
--branch refs/heads/$(DefaultBranch) `
141-
--set-managed-variables `
142-
--debug `
129+
inlineScript: >
130+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
131+
--organization azure-sdk
132+
--project internal
133+
--prefix ${{parameters.Prefix}}
134+
--devopspath "\${{parameters.Prefix}}"
135+
--path $(System.DefaultWorkingDirectory)/sdk
136+
--endpoint Azure
137+
--repository ${{parameters.Repository}}
138+
--convention upweekly
139+
--agentpool Hosted
140+
--branch refs/heads/$(DefaultBranch)
141+
--set-managed-variables
142+
--debug
143143
${{parameters.UPConventionOptions}}
144144
displayName: Create Weekly (Multi-Cloud) Unified Test Pipelines for Public Repository
145145
condition: and(succeeded(), eq(${{parameters.GenerateUnifiedWeekly}},true))
@@ -151,65 +151,65 @@ jobs:
151151
azureSubscription: 'opensource-api-connection'
152152
scriptType: pscore
153153
scriptLocation: inlineScript
154-
inlineScript:
155-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
156-
--organization azure-sdk `
157-
--project internal `
158-
--prefix ${{parameters.Prefix}}-pr `
159-
--devopspath "\${{parameters.Prefix}}\pr" `
160-
--path $(System.DefaultWorkingDirectory)/sdk `
161-
--endpoint Azure `
162-
--repository ${{parameters.Repository}} `
163-
--convention ci `
164-
--agentpool Hosted `
165-
--branch refs/heads/$(DefaultBranch) `
166-
--set-managed-variables `
167-
--debug `
168-
--no-schedule `
154+
inlineScript: >
155+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
156+
--organization azure-sdk
157+
--project internal
158+
--prefix ${{parameters.Prefix}}-pr
159+
--devopspath "\${{parameters.Prefix}}\pr"
160+
--path $(System.DefaultWorkingDirectory)/sdk
161+
--endpoint Azure
162+
--repository ${{parameters.Repository}}
163+
--convention ci
164+
--agentpool Hosted
165+
--branch refs/heads/$(DefaultBranch)
166+
--set-managed-variables
167+
--debug
168+
--no-schedule
169169
${{parameters.CIConventionOptions}}
170170
displayName: Create CI Pipelines for Private Repository
171171
- task: AzureCLI@2
172172
inputs:
173173
azureSubscription: 'opensource-api-connection'
174174
scriptType: pscore
175175
scriptLocation: inlineScript
176-
inlineScript:
177-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
178-
--organization azure-sdk `
179-
--project internal `
180-
--prefix ${{parameters.Prefix}}-pr `
181-
--devopspath "\${{parameters.Prefix}}\pr" `
182-
--path $(System.DefaultWorkingDirectory)/sdk `
183-
--endpoint Azure `
184-
--repository ${{parameters.Repository}} `
185-
--convention up `
186-
--agentpool Hosted `
187-
--branch refs/heads/$(DefaultBranch) `
188-
--set-managed-variables `
189-
--debug `
190-
--no-schedule `
176+
inlineScript: >
177+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
178+
--organization azure-sdk
179+
--project internal
180+
--prefix ${{parameters.Prefix}}-pr
181+
--devopspath "\${{parameters.Prefix}}\pr"
182+
--path $(System.DefaultWorkingDirectory)/sdk
183+
--endpoint Azure
184+
--repository ${{parameters.Repository}}
185+
--convention up
186+
--agentpool Hosted
187+
--branch refs/heads/$(DefaultBranch)
188+
--set-managed-variables
189+
--debug
190+
--no-schedule
191191
${{parameters.UPConventionOptions}}
192192
displayName: Create UP Pipelines for Private Repository
193193
- task: AzureCLI@2
194194
inputs:
195195
azureSubscription: 'opensource-api-connection'
196196
scriptType: pscore
197197
scriptLocation: inlineScript
198-
inlineScript:
199-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
200-
--organization azure-sdk `
201-
--project internal `
202-
--prefix ${{parameters.Prefix}}-pr `
203-
--devopspath "\${{parameters.Prefix}}\pr" `
204-
--path $(System.DefaultWorkingDirectory)/sdk `
205-
--endpoint Azure `
206-
--repository ${{parameters.Repository}} `
207-
--convention tests `
208-
--agentpool Hosted `
209-
--branch refs/heads/$(DefaultBranch) `
210-
--set-managed-variables `
211-
--debug `
212-
--no-schedule `
198+
inlineScript: >
199+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
200+
--organization azure-sdk
201+
--project internal
202+
--prefix ${{parameters.Prefix}}-pr
203+
--devopspath "\${{parameters.Prefix}}\pr"
204+
--path $(System.DefaultWorkingDirectory)/sdk
205+
--endpoint Azure
206+
--repository ${{parameters.Repository}}
207+
--convention tests
208+
--agentpool Hosted
209+
--branch refs/heads/$(DefaultBranch)
210+
--set-managed-variables
211+
--debug
212+
--no-schedule
213213
${{parameters.TestsConventionOptions}}
214214
displayName: Create Live Test Pipelines for Private Repository
215215
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))

0 commit comments

Comments
 (0)