Skip to content

Commit

Permalink
Hardcode template to Official. PR builds are out of scope for now
Browse files Browse the repository at this point in the history
  • Loading branch information
olegsych committed May 15, 2024
1 parent df095a2 commit 85d554a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
variables:
WindowsContainerImage: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
oneBranchTemplate: v2/OneBranch.NonOfficial.CrossPlat.yml
${{ else }}:
oneBranchTemplate: v2/OneBranch.Official.CrossPlat.yml

resources:
repositories:
- repository: templates
Expand All @@ -13,12 +6,12 @@ resources:
ref: refs/heads/main

extends:
template: ${{ variables.oneBranchTemplate }}@templates
template: v2/OneBranch.Official.CrossPlat.yml@templates
parameters:
featureFlags:
WindowsHostVersion: 1ESWindows2022
globalSdl:
asyncSdl:
asyncSdl: # Async SDL doesn't work for GitHub repositories
enabled: false
stages:
- stage: main
Expand Down

0 comments on commit 85d554a

Please sign in to comment.