Commit 3085baa2 authored by Milosz Wasilewski's avatar Milosz Wasilewski Committed by Rémi Duraffort

README: add option to create certs using pre-built containers

Signed-off-by: Milosz Wasilewski's avatarMilosz Wasilewski <milosz.wasilewski@linaro.org>
parent 85777f00
......@@ -75,10 +75,12 @@ whilst others are optional.
is using encryption for master-slave communication.
* (optional) [Create certificates](https://validation.linaro.org/static/docs/v2/pipeline-server.html#create-certificates) on the slave.
`sudo /usr/share/lava-dispatcher/create_certificate.py foo_slave_1`
This can be done in two ways:
This can be done in three ways:
* by running "docker exec -it docker-compose_lava-dispatcher_1 bash"
(for this to work you'd need to build and run the containers first - see
below).
* by using published container images:
`docker run -v $PWD:/tmp/certs --rm lavasoftware/lava-dispatcher /usr/share/lava-common/create_certificate.py --directory /tmp/certs foo_slave_1`
* alternatively you can create the certificates on system which has LAVA
packages already installed.
* (optional) Copy public certificate from master and the private slave
......@@ -150,4 +152,4 @@ In order to start the containers, run:
or, alternatively:
make lava-dispatcher
\ No newline at end of file
make lava-dispatcher
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment