diff options
author | Vasily Khoruzhick <[email protected]> | 2020-01-16 19:37:32 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-21 09:33:57 +0000 |
commit | 5e5b5348f605361cbfde3d7eff685e683c18af4a (patch) | |
tree | b51da73345354a005fa1e1447ade72e3db4c1581 /.gitlab-ci/lava-gitlab-ci.yml | |
parent | 26d93a7495511ded7cca3ed46bcdf7e134c0f929 (diff) |
ci: lava: pass CI_NODE_INDEX and CI_NODE_TOTAL to lava jobs
deqp-runner.sh uses it to determine whether we split job across multiple
devices and if we do what's the node index.
With this change we now can set 'parallel: N' in job description if we want
to split the job.
Signed-off-by: Vasily Khoruzhick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3163>
Diffstat (limited to '.gitlab-ci/lava-gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci/lava-gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml index d5bdb922448..0f1886c2a23 100644 --- a/.gitlab-ci/lava-gitlab-ci.yml +++ b/.gitlab-ci/lava-gitlab-ci.yml @@ -19,7 +19,9 @@ --kernel-image-type "${KERNEL_IMAGE_TYPE}" \ --gpu-version ${GPU_VERSION} \ --boot-method ${BOOT_METHOD} \ - --lava-tags "${LAVA_TAGS}" + --lava-tags "${LAVA_TAGS}" \ + --ci-node-index "${CI_NODE_INDEX}" \ + --ci-node-total "${CI_NODE_TOTAL}" - lava_job_id=`lavacli jobs submit lava-deqp.yml` - echo $lava_job_id - rm -rf artifacts/* |