panfrost/ci: Use special runner for LAVA jobs
So repositories don't need to be specially configured with a token to access LAVA, store this token in a bind volume for a special runner. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
This commit is contained in:
parent
10b60dbd2c
commit
8a5dd61828
|
@ -148,19 +148,11 @@ build:arm64:
|
||||||
.test:
|
.test:
|
||||||
stage: test
|
stage: test
|
||||||
tags:
|
tags:
|
||||||
- idle-jobs
|
- idle-lava
|
||||||
image: $CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:arm64-${IMAGE_TAG} # Any of the images will be fine
|
image: $CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:arm64-${IMAGE_TAG} # Any of the images will be fine
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none # no need to pull the whole tree for submitting the job
|
GIT_STRATEGY: none # no need to pull the whole tree for submitting the job
|
||||||
script:
|
script:
|
||||||
- mkdir -p ~/.config/
|
|
||||||
- |
|
|
||||||
echo "default:
|
|
||||||
uri: https://lava.collabora.co.uk/RPC2
|
|
||||||
timeout: 120
|
|
||||||
username: jenkins-fdo
|
|
||||||
token: $LAVA_TOKEN
|
|
||||||
" > ~/.config/lavacli.yaml
|
|
||||||
- lava_job_id=`lavacli jobs submit $CI_PROJECT_DIR/results/lava-deqp.yml`
|
- lava_job_id=`lavacli jobs submit $CI_PROJECT_DIR/results/lava-deqp.yml`
|
||||||
- echo $lava_job_id
|
- echo $lava_job_id
|
||||||
- lavacli jobs logs $lava_job_id | grep -a -v "{'case':" | tee results/lava-deqp-$lava_job_id.log
|
- lavacli jobs logs $lava_job_id | grep -a -v "{'case':" | tee results/lava-deqp-$lava_job_id.log
|
||||||
|
|
Loading…
Reference in New Issue