mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Enable integration tests in CI
This commit is contained in:
committed by
James Jeffrey
parent
31e14843fe
commit
bcd79ce4a6
@@ -68,7 +68,7 @@ integration_tests:
|
|||||||
- go build -o functions-alpine
|
- go build -o functions-alpine
|
||||||
- docker build -t funcy/functions:latest .
|
- docker build -t funcy/functions:latest .
|
||||||
# - make docker-test-run-with-bolt
|
# - make docker-test-run-with-bolt
|
||||||
- make docker-test-run-with-sqlite3
|
- DOCKER_LOCATION=container_ip make docker-test-run-with-sqlite3
|
||||||
# - make docker-test-run-with-postgres
|
# - make docker-test-run-with-postgres
|
||||||
# - make docker-test-run-with-redis
|
# - make docker-test-run-with-redis
|
||||||
|
|
||||||
|
|||||||
1
Makefile
1
Makefile
@@ -50,6 +50,7 @@ docker-test-run-with-postgres:
|
|||||||
./api_test.sh postgres
|
./api_test.sh postgres
|
||||||
|
|
||||||
ci-docker-test-run-with-sqlite3:
|
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" funcy/fn-api-tester
|
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" funcy/fn-api-tester
|
||||||
|
|
||||||
docker-test:
|
docker-test:
|
||||||
|
|||||||
Reference in New Issue
Block a user