mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
support/scripts/generate-gitlab-ci-yml: support scheduled pipelines
Currently the weekly pipelines are triggered from a cron job on the Buildroot server, so generate-gitlab-ci-yml filters on the "trigger" source. However, we'd like to schedule it on gitlab itself, which makes managing it easier. We could filter on "schedule" in addition to "trigger", but there's not really a reason to. We can simply rely on the BR_SCHEDULE_JOBS variable - if it is set, we use its information. Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
@@ -42,7 +42,7 @@ gen_tests() {
|
||||
do_basics=true
|
||||
do_defconfigs=base
|
||||
do_runtime=true
|
||||
elif [ "${CI_PIPELINE_SOURCE}" = "trigger" ]; then
|
||||
elif [ -n "${BR_SCHEDULE_JOBS}" ]; then
|
||||
case "${BR_SCHEDULE_JOBS}" in
|
||||
(basic)
|
||||
do_basics=true
|
||||
|
||||
Reference in New Issue
Block a user