Ilya,

Am 11.11.20 um 20:52 schrieb Илья Шипицин:
> as for running some jobs on schedule, does current "generated" config
> support schedule in some way ?
> or do you mean classic yml definition
> 

Yes, it does. GitHub exposes the workflow trigger as
'github.event_name'. We can pass this as a parameter to the Python
script and then use a simple if condition. That's the magic of a
programming language.

I've made an example:

https://github.com/TimWolla/haproxy/commit/770ffd31f3c99b13bc9e36b82dc9723c34afdb4b

The workflow that ran on push:

https://github.com/TimWolla/haproxy/runs/1387351894?check_suite_focus=true#step:3:4

I would have expected the scheduled job to run on 21:25 UTC, but
apparently it did not start. Maybe they are delayed a bit depending on
load. Maybe it pops up here in a minutes. It should include the
dedicated compression jobs then:
https://github.com/TimWolla/haproxy/actions?query=workflow%3AVTest

Best regards
Tim Düsterhus

Reply via email to