Mesa (master): gitlab-ci/lava: Add needs: for container image to test jobs
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 9 14:47:34 UTC 2019
Module: Mesa
Branch: master
Commit: 94cfe590703018cf3d34a0c1f8667064919bf843
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=94cfe590703018cf3d34a0c1f8667064919bf843
Author: Michel Dänzer <mdaenzer at redhat.com>
Date: Tue Oct 8 17:50:07 2019 +0200
gitlab-ci/lava: Add needs: for container image to test jobs
Without this, the test jobs could spuriously run after the container
job failed or was cancelled, even if the build job didn't run at all.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
---
.gitlab-ci/lava-gitlab-ci.yml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml
index 9aaeddd8db5..1f4f17343c0 100644
--- a/.gitlab-ci/lava-gitlab-ci.yml
+++ b/.gitlab-ci/lava-gitlab-ci.yml
@@ -180,7 +180,9 @@ lava-build:arm64:
panfrost-t760-test:armhf:
image: $CI_REGISTRY_IMAGE/debian/$LAVA_DEBIAN_VERSION:armhf-$LAVA_IMAGE_TAG
extends: .lava-test
- needs: ["lava-build:armhf"]
+ needs:
+ - lava-container:armhf
+ - lava-build:armhf
dependencies:
- lava-build:armhf
tags:
@@ -189,7 +191,9 @@ panfrost-t760-test:armhf:
panfrost-t860-test:arm64:
image: $CI_REGISTRY_IMAGE/debian/$LAVA_DEBIAN_VERSION:arm64-$LAVA_IMAGE_TAG
extends: .lava-test
- needs: ["lava-build:arm64"]
+ needs:
+ - lava-container:arm64
+ - lava-build:arm64
dependencies:
- lava-build:arm64
tags:
More information about the mesa-commit
mailing list