From c0922004d8e888d378a03ecca42e77160d1bcd18 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 --- 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 4c0f892d33..2a8c9be5f5 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