[Koha-devel] Official Docker image

David Cook dcook at prosentient.com.au
Thu May 10 03:45:15 CEST 2018


Hi Tomas,

 

I’ve decided to try Docker for Windows, and to try out your koha-testing-docker using that.

 

I cloned the git repository from https://gitlab.com/koha-community/koha-testing-docker and I’m reading the README.md, but I stumble at “docker-compose build”. (Initially I didn’t read the README.md and just tried ‘docker build’ and that looked OK at a glance.) 

 

I see “Requirement: The SYNC_REPO variable needs to be defined and contain the full path for a Koha's git repository clone”, but the error messages I get are:

 

WARNING: The SYNC_REPO variable is not set. Defaulting to a blank string.

WARNING: The COVERAGE variable is not set. Defaulting to a blank string.

WARNING: The RUN_TESTS_AND_EXIT variable is not set. Defaulting to a blank string.

WARNING: The LOCAL_USER_ID variable is not set. Defaulting to a blank string.

db uses an image, skipping

es uses an image, skipping

memcached uses an image, skipping

selenium uses an image, skipping

koha uses an image, skipping

 

Is SYNC_REPO supposed to be a path to a http://git.koha-community.org/koha.git directory? 

 

I’ll have to try that after lunch…

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia

 

Office: 02 9212 0899

Direct: 02 8005 0595

 

From: koha-devel-bounces at lists.koha-community.org [mailto:koha-devel-bounces at lists.koha-community.org] On Behalf Of Tomas Cohen Arazi
Sent: Tuesday, 17 April 2018 11:30 PM
To: koha-devel <koha-devel at lists.koha-community.org>
Subject: [Koha-devel] Official Docker image

 

Hi everyone, on the CI front, I have recently introduced (successfully) the broad use of Docker images to run the full test suite. This project, named koha-testing-docker [1], evolved into a usable development environment too. Right now I'm trying to spend some time on porting kohadevbox things into it.

 

This Docker image is built and published automatically by our Jenkins server, and then used in the three nodes we have to run the tests.

 

We also have a Docker image for building koha-* packages wherever we need to (yes, we want to automate this, and properly test the generated packages using the CI infrastructure). [2]

 

With this knowledge, and the infrastructure part of it solved, I would like to start publishing an official Docker image of Koha. Once we have this, the koha-testing-docker tools would be rebuilt on top of it.

 

I raise the subject in light of recent discussions about supported OSs, Perl versions and dependencies.

 

 

[1] https://gitlab.com/koha-community/koha-testing-docker

[2] https://gitlab.com/tomascohen/koha-dpkg-docker

 

-- 

Tomás Cohen Arazi

Theke Solutions (https://theke.io <http://theke.io/> )
✆ +54 9351 3513384
GPG: B2F3C15F

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180510/515252e2/attachment.html>


More information about the Koha-devel mailing list