The code used in linaro-ci to send LAVA jobs is in:
- jenkins_lava_job_submission (bash)
- get_latest_ci_hwpack (python)
Approaches I can see:
- Rewrite the first in Python and clean-up a little bit the second, so we can also write tests for them
- Just cycle through the defined boards in a env variable in the bash script, passing the board name as an argumento to the python script, the python script needs to be refactored a little bit anyway
The part that really sends the job is the bash script.
The code used in linaro-ci to send LAVA jobs is in: lava_job_ submission (bash) ci_hwpack (python)
- jenkins_
- get_latest_
Approaches I can see:
- Rewrite the first in Python and clean-up a little bit the second, so we can also write tests for them
- Just cycle through the defined boards in a env variable in the bash script, passing the board name as an argumento to the python script, the python script needs to be refactored a little bit anyway
The part that really sends the job is the bash script.