Skip to content

Commit

Permalink
fix: Add schedules to github catalog provider.
Browse files Browse the repository at this point in the history
The repo provider needs to have schedules in config now so we add those
here for each of the 3 ways we find catalog files in the openedx org.
  • Loading branch information
feanil committed Aug 16, 2024
1 parent 37afb86 commit d4711ef
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,31 @@ catalog:
organization: 'openedx'
filters:
branch: 'main'
schedule: # same options as in TaskScheduleDefinition
# supports cron, ISO duration, "human duration" as used in code
frequency: { minutes: 120 }
# supports ISO duration, "human duration" as used in code
timeout: { minutes: 3 }
masterBranches:
organization: 'openedx'
filters:
branch: 'master'
schedule: # same options as in TaskScheduleDefinition
# supports cron, ISO duration, "human duration" as used in code
frequency: { minutes: 120 }
# supports ISO duration, "human duration" as used in code
timeout: { minutes: 3 }
extraCatalogs:
organization: 'openedx'
catalogPath: 'catalog-extra/**/catalog-info.yaml'
filters:
branch: 'main'
repository: 'openedx-backstage'
schedule: # same options as in TaskScheduleDefinition
# supports cron, ISO duration, "human duration" as used in code
frequency: { minutes: 120 }
# supports ISO duration, "human duration" as used in code
timeout: { minutes: 3 }
githubOrg:
id: ghUsers
githubUrl: https://github.com
Expand Down

0 comments on commit d4711ef

Please sign in to comment.