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@collabora.com>
This commit is contained in:
Michel Dänzer 2019-10-08 17:50:07 +02:00 committed by Michel Dänzer
parent 030e67fac3
commit 94cfe59070

View file

@ -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: