Make sure that schedule_patch_auto_tasks works.

This needs to depend on schedule_global_auto_tasks.
We also move activate: true to only apply to
generate_all_variant_auto_tasks in the task_generation
variant.
This commit is contained in:
John Daniels 2023-09-19 10:42:45 -04:00
parent f88e4b1315
commit e21b694884

View File

@ -567,8 +567,17 @@ tasks:
priority: 5
commands:
- func: f_generate_all_variant_auto_tasks
- name: schedule_global_auto_tasks
priority: 5
commands:
- func: f_schedule_tasks
vars:
tasks: all_tasks
- name: schedule_patch_auto_tasks
priority: 5
depends_on:
- name: schedule_global_auto_tasks
variant: task_generation
commands:
- func: f_schedule_tasks
vars:
@ -1750,8 +1759,8 @@ tasks:
buildvariants:
- name: task_generation
activate: true
display_name: Task Generation
cron: "0 0 1 1 *" # Every year starting 1/1 at 00:00
modules: *modules
expansions:
platform: linux
@ -1760,6 +1769,8 @@ buildvariants:
- amazon2-small
tasks:
- name: generate_all_variant_auto_tasks
activate: true
- name: schedule_global_auto_tasks
- &compile-amazon2
name: compile-amazon2