ci/lava: Add bridge function for job definition
authorGuilherme Gallo <guilherme.gallo@collabora.com>
Fri, 5 May 2023 11:57:32 +0000 (08:57 -0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 19 May 2023 14:45:17 +0000 (14:45 +0000)
commit8626a52637f31aed08c62cf33727820cc68342c6
treee431b558b75e2cdfac7bb8b0b0d762ea66581b27
parent02d07f3380f0183debaf5eeda982226350d70c91
ci/lava: Add bridge function for job definition

To use the supported job definition depending on some Mesa CI job
characteristics.

The strategy here, is to use LAVA with a containerized SSH session to
follow the job output, escaping from dumping data to the UART, which
proves to be error prone in some devices.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22870>
.gitlab-ci/lava/lava_job_submitter.py
.gitlab-ci/lava/utils/__init__.py
.gitlab-ci/lava/utils/lava_job_definition.py
.gitlab-ci/lava/utils/ssh_job_definition.py
.gitlab-ci/lava/utils/uart_job_definition.py [new file with mode: 0644]