-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix watch util issue 18 and 78 (#82)
* fix issue #78 add header to watch-event Signed-off-by: Renjie Cai <crj93106@gmail.com> * fix #61 handle watch cancel * add unit test for compaction related * pytest version * fix test * fix test * cov
- Loading branch information
1 parent
56adfea
commit 2262636
Showing
16 changed files
with
310 additions
and
2,444 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__ | ||
*.py[cod] | ||
*$py.class | ||
.pytest_cache | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env | ||
build | ||
develop-eggs | ||
dist | ||
downloads | ||
eggs | ||
.eggs | ||
lib | ||
lib64 | ||
parts | ||
sdist | ||
var | ||
*.egg-info | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
docs/_build | ||
|
||
# PyBuilder | ||
target | ||
|
||
# pyenv python configuration file | ||
.python-version | ||
|
||
etcd3/apis_generated | ||
coverage_html_report | ||
prof/ | ||
README.rst |
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,29 @@ | ||
ARG PYTHON_VER=3.6 | ||
ARG ETCD_VER=v3.3.12 | ||
|
||
FROM python:${PYTHON_VER} | ||
|
||
ENV DOCKER_CHANNEL stable | ||
ENV DOCKER_VERSION 18.09.5 | ||
ENV dockerArch x86_64 | ||
ENV ETCD_VER ${ETCD_VER:-v3.3.12} | ||
|
||
RUN wget -O docker.tgz "https://download.docker.com/linux/static/${DOCKER_CHANNEL}/${dockerArch}/docker-${DOCKER_VERSION}.tgz" && \ | ||
tar xvzf docker.tgz && \ | ||
cp docker/docker /usr/bin/ | ||
|
||
RUN wget -O etcd.tgz https://github.com/etcd-io/etcd/releases/download/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz && \ | ||
tar xvzf etcd.tgz && \ | ||
cp etcd-${ETCD_VER}-linux-amd64/etcdctl /usr/bin/ | ||
|
||
|
||
WORKDIR /etcd3 | ||
|
||
COPY requirements*.txt /etcd3/ | ||
RUN pip install -r requirements_dev_py3.txt | ||
|
||
COPY . /etcd3/ | ||
|
||
RUN python ./setup.py install | ||
|
||
CMD pytest -s -v |
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
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
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
Oops, something went wrong.