ci: lava: pass CI_NODE_INDEX and CI_NODE_TOTAL to lava jobs
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 17 Jan 2020 03:37:32 +0000 (19:37 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Jan 2020 09:33:57 +0000 (09:33 +0000)
commit5e5b5348f605361cbfde3d7eff685e683c18af4a
treeb51da73345354a005fa1e1447ade72e3db4c1581
parent26d93a7495511ded7cca3ed46bcdf7e134c0f929
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 <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3163>
.gitlab-ci/generate_lava.py
.gitlab-ci/lava-deqp.yml.jinja2
.gitlab-ci/lava-gitlab-ci.yml