-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate automatic testing to docker #317
Comments
Blallo:
Hi,
I'd volunteer to migrate automatic installation and testing to docker.
Installation with docker sounds good.
As for testing with docker, I'm not really sure I understand what you
mean. You want to create a new docker image each time you need to test
it? That sounds complicated.
Or you want a "clean environment to code in"? In that case, probably any
docker with elasticsearch configured in it would be fine.
Maybe seeing the PR will be easier than explaining it.
I updated my local repo to `dev:HEAD` and I can make a pull request in
few days. Do you agree?
sure, if you will also explain how and why to use it in the doc :)
Is there any insight on elasticsearch I have to be aware of to do the magic?
it's not in debian repositories anymore, you need to use their repos.
…--
boyska
|
On 11/06/2017 04:55 PM, Blallo wrote:
Hi,
I'd volunteer to migrate automatic installation and testing to docker. I
am indeed not comfortable with vagrant and have acquired some confidence
with docker.
I updated my local repo to |dev:HEAD| and I can make a pull request in
few days.
Do you agree?
Is there any insight on elasticsearch I have to be aware of to do the magic?
Cheers
I'm starting a review of the installation process, in particular I would
like to update the dependencies (python side and elasticsearch) and fix
the relative compatibility problems that will arise. I would also like
to use docker for the dev/testing environment.
Did you made any progress on the docker image?\
Double cheers ;)
|
After a lot of effort I've successfully setup a docker environment for libreant, I'm experimenting on my local branch 1. 1 - The main Actually the whole thing is pretty cool, it is possible to run libreant in few seconds without worrying about dependencies and moreover without messing up the local system with elasticsearch crap. The only problem is that there are some compatibility issues with elasticsearch 6.x that I still need to solve. |
Additionally it is still necessary to correctly expose the data volume of the two docker containers and provide a straightforward way to pass the libreant configuration to the docker service. |
Mortacci tua! :) I'll be on it tonight while I'm in train. I hope to look at what you did. ++DAJE |
I was reasoning on this and in particular on the title of the PR. Instead I think Docker will be really useful for the following scenarios:
|
@ael-code (cc @boyska)
In particular it is true in general that we may develop on different platforms, and keeping the development environment homogeneous may be a pain. What I ment was something as a (debian) container in which elasticsearch and libreant run. Ideally this should happen with the development directory on your local machine mounted on the docker container. $ docker --rm --ti `pwd`/my-local-libreant:/libreant-dev-in-the-container libreant-docker What I ment by "running the tests" was to be able to execute $ pytest -v Inside the container and get all green lights 😄 Moreover, I'd never deploy in a production environment a docker container (but this is my very own prejudice) against docker as a way to let everyone forget how to configure a server. In a future issue I'd like to suggest to integrate libreant with uwsgi or something similar. |
Hi, |
Hi,
I'd volunteer to migrate automatic installation and testing to docker. I am indeed not comfortable with vagrant and have acquired some confidence with docker.
I updated my local repo to
dev:HEAD
and I can make a pull request in few days.Do you agree?
Is there any insight on elasticsearch I have to be aware of to do the magic?
Cheers
The text was updated successfully, but these errors were encountered: