Add Initial Compliant Pipeline Files (#2870)
Add Minimum Required Yaml for OneBranch Co-authored-by: Sheyla Trudo <shtrudo@microsoft.com>
This commit is contained in:
Родитель
ee4cbac1ec
Коммит
8fd638c11a
|
@ -0,0 +1,28 @@
|
||||||
|
trigger: none
|
||||||
|
|
||||||
|
variables:
|
||||||
|
WindowsContainerImage: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest' # for Windows jobs
|
||||||
|
LinuxContainerImage: 'mcr.microsoft.com/onebranch/cbl-mariner/build:2.0' # for Linux jobs
|
||||||
|
|
||||||
|
resources:
|
||||||
|
repositories:
|
||||||
|
- repository: templates
|
||||||
|
type: git
|
||||||
|
name: OneBranch.Pipelines/GovernedTemplates
|
||||||
|
ref: refs/heads/main
|
||||||
|
|
||||||
|
extends:
|
||||||
|
template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates
|
||||||
|
parameters:
|
||||||
|
featureFlags:
|
||||||
|
WindowsHostVersion: 1ESWindows2022
|
||||||
|
stages:
|
||||||
|
- stage: build
|
||||||
|
jobs:
|
||||||
|
- job: main
|
||||||
|
pool:
|
||||||
|
type: windows
|
||||||
|
variables:
|
||||||
|
ob_outputDirectory: '$(Build.SourcesDirectory)\out'
|
||||||
|
steps: []
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
trigger: none
|
||||||
|
|
||||||
|
variables:
|
||||||
|
WindowsContainerImage: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest' # for Windows jobs
|
||||||
|
LinuxContainerImage: 'mcr.microsoft.com/onebranch/cbl-mariner/build:2.0' # for Linux jobs
|
||||||
|
|
||||||
|
resources:
|
||||||
|
repositories:
|
||||||
|
- repository: templates
|
||||||
|
type: git
|
||||||
|
name: OneBranch.Pipelines/GovernedTemplates
|
||||||
|
ref: refs/heads/main
|
||||||
|
|
||||||
|
extends:
|
||||||
|
template: v2/OneBranch.Official.CrossPlat.yml@templates
|
||||||
|
parameters:
|
||||||
|
featureFlags:
|
||||||
|
WindowsHostVersion: 1ESWindows2022
|
||||||
|
stages:
|
||||||
|
- stage: build
|
||||||
|
jobs:
|
||||||
|
- job: main
|
||||||
|
pool:
|
||||||
|
type: windows
|
||||||
|
variables:
|
||||||
|
ob_outputDirectory: '$(Build.SourcesDirectory)\out'
|
||||||
|
steps: []
|
Загрузка…
Ссылка в новой задаче