gitlab-ci: add python script to submit lava jobs
authorGustavo Padovan <gustavo.padovan@collabora.com>
Sat, 29 May 2021 00:38:54 +0000 (21:38 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Tue, 1 Jun 2021 12:31:46 +0000 (09:31 -0300)
commit08dba3a76b95de80dfb4701711b00b4dc6618953
tree6f47896ea1767248849d7216fb5a5054bda0ed1f
parent53d937c2e828aa08071fa0bca3a839dc064e5b64
gitlab-ci: add python script to submit lava jobs

Covert the job submission process to a python script for more
robustness and control. allowing easier manipulation of job data.

As a result, it adds retry logic to deal with Infrastructure Errors in LAVA.

_call_proxy() is equipped with a robust retry logic, which I have been
using already in the past few weeks in stress testing to run hundreds
of jobs.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11079>
.gitlab-ci/generate_lava.py [deleted file]
.gitlab-ci/lava-gitlab-ci.yml
.gitlab-ci/lava_job_submitter.py [new file with mode: 0755]
.gitlab-ci/prepare-artifacts.sh