Skip to content

Commit c4d0cef

Browse files
authored
Fix pipeline gen yml file line wrappings (#8442)
1 parent 2d44988 commit c4d0cef

2 files changed

Lines changed: 77 additions & 77 deletions

File tree

eng/pipelines/pipeline-generation-single.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ jobs:
3434
azureSubscription: 'opensource-api-connection'
3535
scriptType: pscore
3636
scriptLocation: inlineScript
37-
inlineScript:
38-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
39-
--organization $(DevOpsOrg) `
40-
--project $(DevOpsProject) `
41-
--prefix $(Prefix) `
42-
--devopspath "$(DevOpsPath)" `
43-
--path $(PathFilter) `
44-
--endpoint Azure `
45-
--repository Azure/$(RepositoryName) `
46-
--convention $(PipelineConvention) `
47-
--agentpool Hosted `
48-
--branch refs/heads/$(Branch) `
49-
--debug `
37+
inlineScript: >
38+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
39+
--organization $(DevOpsOrg)
40+
--project $(DevOpsProject)
41+
--prefix $(Prefix)
42+
--devopspath "$(DevOpsPath)"
43+
--path $(PathFilter)
44+
--endpoint Azure
45+
--repository Azure/$(RepositoryName)
46+
--convention $(PipelineConvention)
47+
--agentpool Hosted
48+
--branch refs/heads/$(Branch)
49+
--debug
5050
$(AdditionalOptions)
5151
displayName: 'Generate pipeline'

eng/pipelines/pipeline-generation.yml

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,18 @@ jobs:
122122
azureSubscription: 'opensource-api-connection'
123123
scriptType: pscore
124124
scriptLocation: inlineScript
125-
inlineScript:
126-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
127-
--organization azure-sdk `
128-
--project public `
129-
--prefix $(Prefix) `
130-
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk `
131-
--endpoint Azure `
132-
--repository Azure/$(RepositoryName) `
133-
--convention ci `
134-
--agentpool Hosted `
135-
--branch refs/heads/$(DefaultBranch) `
136-
--set-managed-variables `
125+
inlineScript: >
126+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
127+
--organization azure-sdk
128+
--project public
129+
--prefix $(Prefix)
130+
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk
131+
--endpoint Azure
132+
--repository Azure/$(RepositoryName)
133+
--convention ci
134+
--agentpool Hosted
135+
--branch refs/heads/$(DefaultBranch)
136+
--set-managed-variables
137137
--debug
138138
displayName: 'Generate public pipelines for: $(RepositoryName)'
139139

@@ -142,19 +142,19 @@ jobs:
142142
azureSubscription: 'opensource-api-connection'
143143
scriptType: pscore
144144
scriptLocation: inlineScript
145-
inlineScript:
146-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
147-
--organization azure-sdk `
148-
--project internal `
149-
--prefix $(Prefix) `
150-
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk `
151-
--endpoint Azure `
152-
--repository Azure/$(RepositoryName) `
153-
--convention up `
154-
--agentpool Hosted `
155-
--branch refs/heads/$(DefaultBranch) `
156-
--set-managed-variables `
157-
--debug `
145+
inlineScript: >
146+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
147+
--organization azure-sdk
148+
--project internal
149+
--prefix $(Prefix)
150+
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk
151+
--endpoint Azure
152+
--repository Azure/$(RepositoryName)
153+
--convention up
154+
--agentpool Hosted
155+
--branch refs/heads/$(DefaultBranch)
156+
--set-managed-variables
157+
--debug
158158
--variablegroups $(InternalVariableGroups) $(TestVariableGroups)
159159
displayName: 'Generate internal pipelines for: $(RepositoryName)'
160160

@@ -163,19 +163,19 @@ jobs:
163163
azureSubscription: 'opensource-api-connection'
164164
scriptType: pscore
165165
scriptLocation: inlineScript
166-
inlineScript:
167-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
168-
--organization azure-sdk `
169-
--project internal `
170-
--prefix $(Prefix) `
171-
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk `
172-
--endpoint Azure `
173-
--repository Azure/$(RepositoryName) `
174-
--convention tests `
175-
--agentpool Hosted `
176-
--branch refs/heads/$(DefaultBranch) `
177-
--set-managed-variables `
178-
--debug `
166+
inlineScript: >
167+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
168+
--organization azure-sdk
169+
--project internal
170+
--prefix $(Prefix)
171+
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk
172+
--endpoint Azure
173+
--repository Azure/$(RepositoryName)
174+
--convention tests
175+
--agentpool Hosted
176+
--branch refs/heads/$(DefaultBranch)
177+
--set-managed-variables
178+
--debug
179179
--variablegroups $(TestVariableGroups)
180180
displayName: 'Generate test pipelines for: $(RepositoryName)'
181181
condition: and(succeeded(), ne(variables['TestVariableGroups'],''))
@@ -185,19 +185,19 @@ jobs:
185185
azureSubscription: 'opensource-api-connection'
186186
scriptType: pscore
187187
scriptLocation: inlineScript
188-
inlineScript:
189-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
190-
--organization azure-sdk `
191-
--project internal `
192-
--prefix $(Prefix) `
193-
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk `
194-
--endpoint Azure `
195-
--repository Azure/$(RepositoryName) `
196-
--convention testsweekly `
197-
--agentpool Hosted `
198-
--branch refs/heads/$(DefaultBranch) `
199-
--set-managed-variables `
200-
--debug `
188+
inlineScript: >
189+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
190+
--organization azure-sdk
191+
--project internal
192+
--prefix $(Prefix)
193+
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk
194+
--endpoint Azure
195+
--repository Azure/$(RepositoryName)
196+
--convention testsweekly
197+
--agentpool Hosted
198+
--branch refs/heads/$(DefaultBranch)
199+
--set-managed-variables
200+
--debug
201201
--variablegroups $(TestVariableGroups)
202202
displayName: 'Generate weekly test pipelines (multi-cloud) for: $(RepositoryName)'
203203
condition: and(succeeded(), ne(variables['TestVariableGroups'],''))
@@ -207,19 +207,19 @@ jobs:
207207
azureSubscription: 'opensource-api-connection'
208208
scriptType: pscore
209209
scriptLocation: inlineScript
210-
inlineScript:
211-
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate `
212-
--organization azure-sdk `
213-
--project internal `
214-
--prefix $(Prefix) `
215-
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk `
216-
--endpoint Azure `
217-
--repository Azure/$(RepositoryName) `
218-
--convention upweekly `
219-
--agentpool Hosted `
220-
--branch refs/heads/$(DefaultBranch) `
221-
--set-managed-variables `
222-
--debug `
210+
inlineScript: >
211+
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate
212+
--organization azure-sdk
213+
--project internal
214+
--prefix $(Prefix)
215+
--path $(Pipeline.Workspace)/$(RepositoryName)/sdk
216+
--endpoint Azure
217+
--repository Azure/$(RepositoryName)
218+
--convention upweekly
219+
--agentpool Hosted
220+
--branch refs/heads/$(DefaultBranch)
221+
--set-managed-variables
222+
--debug
223223
--variablegroups $(InternalVariableGroups) $(TestVariableGroups)
224224
displayName: 'Generate weekly unified test pipelines (multi-cloud) for: $(RepositoryName)'
225225
condition: and(succeeded(), ne(variables['GenerateUnifiedWeekly'],''))

0 commit comments

Comments
 (0)