From 94cfe590703018cf3d34a0c1f8667064919bf843 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Tue, 8 Oct 2019 17:50:07 +0200 Subject: [PATCH] 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 --- .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: -- 2.30.2