Skip to content

Commit

Permalink
give up on yaml cron (digital-asset#2302)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyverhaegen-da authored Jul 26, 2019
1 parent 77ed83b commit af9b0c2
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions azure-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ pr: none
# Do not run on merge to master
trigger: none
# Do run on a schedule (hourly)
# Azure limits each cron entry to 100 runs, so we have to split this into 2.
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#supported-cron-syntax
# This feature seems completely broken, so for the time being the schedule has
# 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:
- cron: "0 * * * 0-3"
displayName: hourly cron (Sun-Wed)
branches:
include:
- master
always: true
- cron: "0 * * * 4-6"
displayName: hourly cron (Thu-Sat)
- cron: "0 * * * *"
displayName: hourly cron
branches:
include:
- master
Expand Down

0 comments on commit af9b0c2

Please sign in to comment.