summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-10-25 15:15:29 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-11-02 16:47:06 +0100
commit5957ee693f8cc7b07613da6c2c7da576d7039e2f (patch)
tree95fe8c83df554b506a4d78dd85074b10b8acaa22 /README.md
parent4cc99509aae4b37f077dee15b8878cd5e52dbcd6 (diff)
lavalab-gen.py: permit to set env settings on slave
This patch permits to add some env settings on slave. The primary goal of this is to permits to add a proxy for a specific slave.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 01b3f83..35cbd49 100644
--- a/README.md
+++ b/README.md
@@ -141,7 +141,6 @@ beagleboneblack, with FTDI (serial 1234567), connected to port 5 of an ACME
The basic setup is composed of a host which runs the following docker images and DUT to be tested.<br/>
* lava-master: run lava-server along with the web interface
* lava-slave: run lava-dispatcher, the compoment which sends jobs to DUTs
-* squid: an HTTP proxy for caching downloaded contents (kernel/dtb/rootfs) (Work in progress)
The host and DUTs must share a common LAN.<br/>
The host IP on this LAN must be set as dispatcher_ip in boards.yaml.<br/>
@@ -257,6 +256,9 @@ slaves:
- p1:p2
extra_actions: An optional list of action to do at end of the docker build
- "apt-get install package"
+ env:
+ - line1 A list of line to set as environment (See /etc/lava-server/env.yaml for examples)
+ - line2
boards:
- name: devicename Each board must be named by their device-type as "device-type-XX" (where XX is a number)
@@ -392,3 +394,9 @@ There are two way to add custom devices types.
If you have a brand new device-type, it is the simpliest way.
* Copy a patch addding/modifying a device-type in lava-master/device-types-patch/
If you are modifying an already present (upstream) device-type, it is the best way.
+
+## How to made LAVA slave use a proxy ?
+Add env to a slave like:
+slave:
+ env:
+ - "http_proxy: http://dns:port"