From 08c1e151956d0f8c5b09701a4b3d76b34ae395cb Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 12 Dec 2024 14:14:59 -0600 Subject: [PATCH] Gitlab: Make test.py stage only depend on binman et al testsuite Our Gitlab pipeline is currently broken up in to several stages. This was done with the thought process of "we should test tools and if they're good test emulated targets and if they're good test real hardware and if they're good test the world". However, in terms of that first stage it only really matters that binman, et al are still functional. And for a few years now Gitlab has had a "needs" keyword that lets you refine pipeline dependencies. Use this to perform the minor optimization of having test.py only require that tool testing job. This will become more useful later when we add long running testsuites that we do not want to block later jobs. Signed-off-by: Tom Rini --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff36d330e88..01f05a04870 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,6 +31,7 @@ stages: .buildman_and_testpy_template: &buildman_and_testpy_dfn stage: test.py retry: 2 # QEMU may be too slow, etc. + needs: [ "Run binman, buildman, dtoc, Kconfig and patman testsuites" ] rules: - when: always before_script: -- 2.39.5