-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a run-tests-locally script, like we have for the frontend
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -e | ||
docker build -t opendataservices/resource-projects-etl . | ||
docker rm -f virtuoso-etl-test || true | ||
docker rm -f etl-test || true | ||
docker run -d -p 127.0.0.1:8886:8890 --name virtuoso-etl-test opendataservices/virtuoso:master | ||
sleep 30s | ||
cat virtuoso_setup.sql | docker run --link virtuoso-etl-test:virtuoso -i --rm opendataservices/virtuoso:master isql virtuoso | ||
docker run -d --publish=127.0.0.86:80:80 --link virtuoso-etl-test:virtuoso -e DBA_PASS=dba --name etl-test opendataservices/resource-projects-etl | ||
SERVER_URL=http://127.0.0.86/ SPARQL_ENDPOINT=http://localhost:8886/sparql py.test fts |