Skip to content

Commit 2e8b956

Browse files
authored
Short term fix to enable 1es template canary validation (Azure#49722)
1 parent da31e44 commit 2e8b956

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

eng/pipelines/pullrequest.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ extends:
3030
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
3131
parameters:
3232
oneESTemplateTag: ${{ parameters.oneESTemplateTag }}
33-
ServiceDirectory: ${{ parameters.Service }}
33+
# Short term hack to get 1es canary validation working until we can fix manual runs with 'auto'
34+
${{ if and(eq(parameters.oneESTemplateTag, 'canary'), eq(parameters.Service, 'auto')) }}:
35+
ServiceDirectory: template
36+
${{ else }}:
37+
ServiceDirectory: ${{ parameters.Service }}
3438
CheckAOTCompat: true
3539
BuildSnippets: true
3640
ExcludePaths:

0 commit comments

Comments
 (0)