[elbe-devel] [PATCH 0/4] Elbe: Add possibility to set host, user and pass via environment
Manuel Traut
manuel.traut at linutronix.de
Mon Nov 6 17:04:19 CET 2017
Hi Kurt,
On Mon, Oct 30, 2017 at 09:47:24AM +0100, Kurt Kanzenbach wrote:
> Currently there are four parameters which can be passed to elbe control in order
> to specify the server and login data for the elbe daemon: SOAP host, SOAP port,
> username and password. These options can be passed via command line. This is fine.
>
> However, these options *cannot* be passed to elbe pbuilder command. So if you
> have your build machine not running on localhost, but somewhere else, there is
> only one option so far: Don't use elbe pbuilder and issue all the pbuilder
> commands via elbe control. But this is tedious.
>
> But, currently the remote SOAP port can be set via the environment. This works
> fine for elbe pbuilder e.g. 'ELBE_SOAPPORT=12345 elbe pbuilder
> build'. Unfortunately only the port can be set via environment. Therefore this
> patchset makes the host, user and password configurable via environment as well.
>
> Now the server configuration can be specified like this when using elbe
> pbuilder:
>
> $ export ELBE_SOAPPORT=12345
> $ export ELBE_SOAPHOST=mybuildmachine.example.com
> $ export ELBE_USER=myuser
> $ export ELBE_PASS=mypass
> $ elbe pbuilder build
>
> Patchset is based on Elbe v2.1.
>
> Kurt Kanzenbach (4):
> elbe: config: added possibility to obtain soap port via environment
> elbe: commands: use soaphost specified by configuration
> config: added possibility to obtain user and pass via environment
> elbe: commands: use user and pass specified by configuration
>
> elbepack/commands/control.py | 8 ++++----
> elbepack/commands/prjrepo.py | 6 +++---
> elbepack/config.py | 14 +++++++++++++-
> 3 files changed, 20 insertions(+), 8 deletions(-)
thanks for your patches. I applied them to devel/elbe-2.0 and devel/elbe-3.0
Regards,
Manuel
More information about the elbe-devel
mailing list