Make tests use local functions server not one in container

This commit is contained in:
James Jeffrey
2017-07-21 16:10:56 -07:00
parent 0ac91e6e7c
commit 9654fd4179
7 changed files with 96 additions and 58 deletions

View File

@@ -49,10 +49,6 @@ docker-test-run-with-mysql:
docker-test-run-with-postgres:
./api_test.sh postgres
ci-docker-test-run-with-sqlite3:
cd ${CURDIR}/test/fn-api-tests/ && docker build -t funcy/fn-api-tester .; cd ${CURDIR}
docker run --rm -i -v ${CURDIR}:/go/src/gitlab-odx.oracle.com/odx/functions -w /go/src/gitlab-odx.oracle.com/odx/functions -e "datastore=sqlite3" -e "DOCKER_HOST=${DOCKERHOST}" funcy/fn-api-tester
docker-test:
docker run -ti --privileged --rm -e LOG_LEVEL=debug \
-v /var/run/docker.sock:/var/run/docker.sock \