makefile: moved running Scylla to makefile target

- Modernised Makefile
- Scylla and go bench run on separate CPUs

Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
Michał Matczuk
2020-04-17 11:36:05 +02:00
committed by Michal Jan Matczuk
parent 1e766b10c9
commit 2569c3dd8f
2 changed files with 32 additions and 11 deletions

View File

@@ -10,9 +10,7 @@ env:
- SCYLLA_VERSION=latest
before_install:
- docker pull scylladb/scylla:${SCYLLA_VERSION}
- docker run --rm --name scylla -p 9042:9042 --cpus=0 -d scylladb/scylla:${SCYLLA_VERSION}
- until docker exec scylla cqlsh -e "DESCRIBE SCHEMA"; do sleep 2; done
- make run-scylla
install:
- make get-deps get-tools