Add support for setting test shell variables in device dictionary

This patch adds the field "environment" to the device dictionary,
containing device-specific shell variables which will be available in
the LAVA test shell.

These can be used, for example, to describe physical hardware
connections between the DUT and interfaces on the worker or other
addressable hardware.

Closes lava/lava#228.

Signed-off-by: Tim Jaacks <tim.jaacks@garz-fricke.com>
15 jobs for add-environment-support in 8 minutes and 52 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #43224
amd64
dispatcher-debian-10

00:02:42

passed #43222
amd64
dispatcher-debian-9

00:03:02

passed #43225
amd64
server-debian-10

00:02:00

passed #43223
amd64
server-debian-9

00:02:19

 
  Analyze
passed #43227
amd64
black

00:00:28

passed #43229
amd64
code_quality

00:00:23

passed #43228
amd64
codestyle

00:00:29

passed #43231
amd64
job-schema

00:01:04

passed #43230
amd64
pylint

00:02:14

passed #43226
amd64-dind allowed to fail
sast

00:01:57

 
  Build
passed #43234
amd64
amd64/pkg-debian-10

00:01:36

passed #43233
amd64
amd64/pkg-debian-9

00:01:49

passed #43232
amd64
doc

00:01:18

 
  Docker
passed #43235
amd64-dind
amd64/lava-dispatcher

00:00:46

passed #43236
amd64-dind
amd64/lava-server

00:01:45