gitlab-ci: exclude scripts that don't affect the build
authorEric Engestrom <eric@engestrom.ch>
Thu, 14 May 2020 20:51:38 +0000 (22:51 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 16 May 2020 11:40:14 +0000 (11:40 +0000)
All the other files in bin/ are not used by any build system and as such
cannot affect the build.

I've been working on maintainer tools lately and it's frustrating to have
the CI wait for 45 minutes to rebuild everything and not even read/run
the files in the MR when it could've just been merged and moved on to
the next MR 45 minutes ago.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Acked-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5046>

.gitlab-ci.yml

index 0fb1b5cf8a950bfe64f566f5443561f1b57d6c4c..710934a0a7aa34d23d405c52ed0cf699ac354b41 100644 (file)
@@ -30,7 +30,10 @@ stages:
     # automatically once all dependency jobs have passed
     - changes: &all_paths
       - VERSION
     # automatically once all dependency jobs have passed
     - changes: &all_paths
       - VERSION
-      - bin/**/*
+      - bin/git_sha1_gen.py
+      - bin/install_megadrivers.py
+      - bin/meson_get_version.py
+      - bin/symbols-check.py
       # GitLab CI
       - .gitlab-ci.yml
       - .gitlab-ci/**/*
       # GitLab CI
       - .gitlab-ci.yml
       - .gitlab-ci/**/*