Chris Smith d7eb551f08 Add test info | преди 8 години | |
---|---|---|
test | преди 8 години | |
Dockerfile | преди 8 години | |
README.md | преди 8 години | |
circle.yml | преди 8 години | |
etcdlib.py | преди 8 години |
This is a docker image intended as a base layer for things interacting with my service reporter container.
It provides a python library for interacting with etcd, with convenience functions for retrieving the higher-level data structures (such as containers and labels) that the reporter service creates.
A separate Dockerfile for tests is located in the tests directory. It depends on a ‘dev’ label of csmith/service-reporter-lib. You can build and run the tests like so:
docker build -t csmith/service-reporter-lib:dev .
docker build -t csmith/service-reporter-lib-test:dev test
docker run --rm -it csmith/service-reporter-lib-test:dev