give up on yaml cron (#2302)

This commit is contained in:
Gary Verhaegen 2019-07-26 18:51:45 +01:00 committed by GitHub
parent 77ed83b5b7
commit af9b0c2a0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,17 +5,15 @@ pr: none
# Do not run on merge to master # Do not run on merge to master
trigger: none trigger: none
# Do run on a schedule (hourly) # Do run on a schedule (hourly)
# Azure limits each cron entry to 100 runs, so we have to split this into 2. # This feature seems completely broken, so for the time being the schedule has
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#supported-cron-syntax # been defined manually in the Azure Pipelines Web UI. Note that Azure
# Pipelines sometimes spontaneously decides to silently delete that
# configuration, so someone should keep an eye on that.
#
# The setup is kept here in case it suddenly starts to work.
schedules: schedules:
- cron: "0 * * * 0-3" - cron: "0 * * * *"
displayName: hourly cron (Sun-Wed) displayName: hourly cron
branches:
include:
- master
always: true
- cron: "0 * * * 4-6"
displayName: hourly cron (Thu-Sat)
branches: branches:
include: include:
- master - master