path: root/.gitlab-ci
diff options
authorEric Anholt <>2019-11-06 11:14:14 -0800
committerEric Anholt <>2019-11-06 11:38:07 -0800
commitcb655d255466cb2f326ebb8546f37434b5bdb16d (patch)
tree680518939bf0ab4d7837700afab6ceb7b6274a04 /.gitlab-ci
parent94e6d17043e2dab2fb0375cf09c26cf5f35b2d73 (diff)
Revert "ci: Switch over to an autoscaling GKE cluster for builds."
This reverts commit c9df92bf795af878c38538c85f781291c78ec513. It turns out that gitlab-runner uses kubernetes all wrong, spawning Pods and sshing into them to run the script instead of Jobs containing the script to run. This means that when anything goes wrong with the pod (autoscale, preemption, VM maintenance, cluster reconfiguration), the job fails and only sometimes gets handled as a runner system failure. Even worse, due to bugs in either the runner or k8s itself, some classes of timeout-related failure end up not being reported as failures, and the job will incorrectly report success! Disable using the "autoscale" cluster until we can do something else (docker-machine instead of k8s, or the custom third-party k8s-native runner). Reviewed-by: Michel Dänzer <> Acked-by: Daniel Stone <>
Diffstat (limited to '.gitlab-ci')
3 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml
index e3b31109857..89be170b82f 100644
--- a/.gitlab-ci/lava-gitlab-ci.yml
+++ b/.gitlab-ci/lava-gitlab-ci.yml
@@ -88,7 +88,7 @@ lava-container:arm64:
-D gallium-xa=false
-D gallium-nine=false
-D llvm=false
- - ninja -C mesa-build -j8
+ - ninja -C mesa-build -j4
- ninja -C mesa-build install
- find /artifacts/rootfs/mesa/lib -name \*.so -exec ${GCC_ARCH}-strip {} \;
diff --git a/.gitlab-ci/ b/.gitlab-ci/
index 0f4f490447d..d56e526ef20 100755
--- a/.gitlab-ci/
+++ b/.gitlab-ci/
@@ -58,7 +58,7 @@ meson _build --native-file=native.file \
cd _build
meson configure
-ninja ${NINJA_FLAGS}
+ninja -j4
LC_ALL=C.UTF-8 ninja test
ninja install
cd ..
diff --git a/.gitlab-ci/ b/.gitlab-ci/
index a62a91b5ea9..7580457d850 100755
--- a/.gitlab-ci/
+++ b/.gitlab-ci/
@@ -12,6 +12,6 @@ cd /usr/local/shader-db
for driver in freedreno v3d; do
env LD_PRELOAD=$LIBDIR/lib${driver} \
- ./run -j 8 ./shaders \
+ ./run -j 4 ./shaders \
> $ARTIFACTSDIR/${driver}-shader-db.txt