ufal / lindat-kontext

An alternative web front-end for the Manatee corpus search engine
GNU General Public License v2.0
5 stars 1 forks source link

CI using kontext docker image instead of compiling/installing everything #205

Closed vidiecan closed 6 years ago

vidiecan commented 6 years ago

new CI workflow

The raw compilation is still available

kosarko commented 6 years ago

@jm are you able to run either BUILDBACKEND=docker or BUILDBACKEND=build locally?

I'm running it in docker under windows so the issues are probably due to that.

docker run --rm -it -v /c/sources/lindat-kontext:/opt/kontext_my_sources ubuntu bash

local build hangs on apting tzdata, docker build fails on docker pull (because dockerd is not running - docker is not installed in any of the apt-get, but even if I install it manually I fail to run dockerd, some issue with iptables)

kosarko commented 6 years ago

@vidiecan If you think it's ok, then merge it. Travis does not complain, but I still have issues with setup. In ubuntu vm the setup.sh ends with: image neither the local build finishes: image

kosarko commented 6 years ago

both build and docker works. I guess the issue was with how docker was installed (using snap), the mount was successful when the src was in /home