From f0bd87fd48ec5f550b5902e982941cf81610b642 Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Fri, 29 May 2026 18:37:59 +0200 Subject: [PATCH] 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 (cherry picked from commit c0922004d8e888d378a03ecca42e77160d1bcd18) Signed-off-by: Thomas Perale --- support/scripts/generate-gitlab-ci-yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/scripts/generate-gitlab-ci-yml b/support/scripts/generate-gitlab-ci-yml index 2d922b9eb2..be2b8f0fe9 100755 --- a/support/scripts/generate-gitlab-ci-yml +++ b/support/scripts/generate-gitlab-ci-yml @@ -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