eng/ci/public.yaml (40 lines of code) (raw):

trigger: batch: true branches: include: - main schedules: - cron: "0 0 1/7 * *" displayName: Daily midnight build branches: include: - main always: true 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.Unofficial.PipelineTemplate.yml@1es parameters: pool: name: 1es-pool-azfunc-public image: 1es-windows-2022 os: windows stages: - stage: WindowsUnitTests dependsOn: [] jobs: - template: /eng/ci/templates/test.yml@self pool: name: 1es-pool-azfunc-public - stage: LinuxUnitTests dependsOn: [] jobs: - template: /eng/ci/templates/test.yml@self pool: name: 1es-pool-azfunc-public image: 1es-ubuntu-22.04 os: linux