Sign inSign up

mths/cattledb

By mths

Updated over 7 years ago

CattleDB Timeseries Test Container

Image
0

1.4K

mths/cattledb repository overview

Cattle DB

Build Status

Fast BigTable Time Series Database Implementation

Run Docker Emulator for Tests on Machine

docker run -it -p 8080:8080 spotify/bigtable-emulator:latest
export BIGTABLE_EMULATOR_HOST=localhost:8080
pytest

Build and Start Tests in docker

docker build . -t cattledb-test
docker run -it cattledb-test bash
service bigtable-server start
export BIGTABLE_EMULATOR_HOST="localhost:8080"
pytest

Compile python protobuf file

# RUN
python -m grpc.tools.protoc --python_out=./cattledb/grpcserver --grpc_python_out=./cattledb/grpcserver --proto_path=./protos cdb.proto
# cd to .\cattledb\grpcserver\cdb_pb2_grpc.py
# change line
import cdb_pb2 as cdb__pb2
# to
from . import cdb_pb2 as cdb__pb2

Build and Push cattledb docker

docker build . -t mths/cattledb:latest
docker tag mths/cattledb:latest mths/cattledb:0.1
docker push mths/cattledb

Tag summary

Content type

Image

Digest

Size

446.8 MB

Last updated

over 7 years ago

docker pull mths/cattledb