]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Gitlab: Make test.py stage only depend on binman et al testsuite
authorTom Rini <trini@konsulko.com>
Thu, 12 Dec 2024 20:14:59 +0000 (14:14 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 30 Dec 2024 21:59:04 +0000 (15:59 -0600)
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 <trini@konsulko.com>
.gitlab-ci.yml

index ff36d330e88255dfa163c09352e35a1f6260fb83..01f05a048702050bd3c3516bc5eba3faac6186b8 100644 (file)
@@ -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: