eng/ci/official.yaml (36 lines of code) (raw):

trigger: batch: true branches: include: - main # CI only, does not trigger on PRs. pr: none resources: repositories: - repository: 1es type: git name: 1ESPipelineTemplates/1ESPipelineTemplates ref: refs/tags/release # This variable will be needed when we automate uploading to PowerShell Gallery # We will have to modify build.ps1 to take this as input and append to end of module version # variables: # Configuration: Release # buildNumber: $[ counter('build', 1) ] # Start higher than our AppVeyor versions. Every build (pr or branch) will increment. extends: template: v1/1ES.Official.PipelineTemplate.yml@1es parameters: pool: name: 1es-pool-azfunc image: 1es-windows-2022 os: windows stages: - stage: WindowsUnitTests dependsOn: [] jobs: - template: /eng/ci/templates/test.yml@self - stage: LinuxUnitTests dependsOn: [] jobs: - template: /eng/ci/templates/test.yml@self pool: name: 1es-pool-azfunc image: 1es-ubuntu-22.04 os: linux - stage: Build dependsOn: [WindowsUnitTests, LinuxUnitTests] jobs: - template: /eng/ci/templates/build.yml@self