[horde] Unit Test Container

Ralf Lang lang at b1-systems.de
Thu Mar 29 15:11:11 UTC 2018


Hallo,

if you develop custom libraries or apps against horde-git, this may be
of interest.


https://build.opensuse.org/package/show/isv:B1-Systems:Horde5:opensuse-appliance/horde5-developer-Docker-Leap


      Horde 5 Developer Container based on openSUSE

This container includes a runnable git checkout of Horde 5 (after git split).
It is designed for interactive development and testing of libraries both from upstream and from custom projects.

https://download.opensuse.org/repositories/isv:/B1-Systems:/Horde5:/opensuse-appliance/images/

Once a web server is added, this can also test drive apps.


Load the image 

docker load -i horde5-developer-Leap.x86_64-*Build*.docker.tar.xz 


For interactive usage 

docker run -it --name horde5 horde5-developer /bin/bash

For unit testing
cd /srv/git/horde/$componentName/
/srv/git/horde/components/bin/horde-components qc

For development
First run the container and copy horde git, then restart and bind mount to use the code from your home dir

docker run -it --name horde5 horde5-developer /bin/bash
mkdir ~/horde
docker cp horde5:/srv/git/horde/  ~/horde  
docker stop horde5; docker rm horde5; docker run -it -v ~/horde/:/srv/git/horde/ --name horde5 horde5-developer /bin/bash

This allows live editing with GUI tools

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537



More information about the horde mailing list