Noah Levitt
|
d76e219e7b
|
make run-tests.sh work with the docker image that gets pulled in now, which doesn't have a 'python3.4' command
|
2017-02-21 16:30:29 -08:00 |
|
Noah Levitt
|
6d667c77b5
|
split into multiple source files
|
2017-02-21 16:27:49 -08:00 |
|
Noah Levitt
|
000e4d9cf6
|
playing with simple ORM thing
|
2017-02-17 17:23:53 -08:00 |
|
Noah Levitt
|
1ef9455885
|
bump version number
|
2016-10-31 15:39:25 -07:00 |
|
Noah Levitt
|
9c3439dfc5
|
add apache license file and some license headers
|
2016-10-31 15:39:12 -07:00 |
|
Noah Levitt
|
82faefde56
|
catch a failed service registry heartbeat, with unit test
|
2016-10-31 15:29:46 -07:00 |
|
Noah Levitt
|
2e76c1e570
|
fixes to make Dockerfile work with latest phusion/baseimage
|
2016-10-31 15:28:43 -07:00 |
|
Noah Levitt
|
79b5add08f
|
fix encoding problem with long_description
|
2016-05-11 11:41:56 -07:00 |
|
Noah Levitt
|
8745d5b6b7
|
fix tests, including adjusting the timing to make tests pass more consistently
|
2016-04-19 20:17:22 +00:00 |
|
Noah Levitt
|
f9169321a6
|
add some tests for available_services()
|
2016-04-19 19:24:33 +00:00 |
|
Noah Levitt
|
92b8007f98
|
support calling ServiceRegistry.available_services() with no arguments to get all available services (services with a recent heartbeat)
|
2016-04-19 19:16:46 +00:00 |
|
Noah Levitt
|
7a8963b7c4
|
update version for new pypi upload
|
2015-12-19 00:47:19 +00:00 |
|
Noah Levitt
|
1c07ae2ea9
|
make UTC a constant available externally
|
2015-11-17 20:42:57 +00:00 |
|
Noah Levitt
|
073c1fb578
|
some fixes to make the tests pass
|
2015-11-17 20:38:10 +00:00 |
|
Noah Levitt
|
82d3ef45a0
|
run-tests.sh: clone rethinstuff source directory to temporary location (probably better solution than creating user with matching uid, setting PYTHONDONTWRITEBYTECODE, etc)
|
2015-11-17 20:08:18 +00:00 |
|
Noah Levitt
|
447f23615f
|
convenience function rethinstuff.utcnow()
|
2015-11-17 20:06:51 +00:00 |
|
Noah Levitt
|
79b3895da3
|
bump version again for pypi
|
2015-11-06 23:42:45 +00:00 |
|
Noah Levitt
|
c46bd11127
|
bump version for pypi
|
2015-11-06 23:42:31 +00:00 |
|
Noah Levitt
|
287258e104
|
add method available_services to ServiceRegistry, returns all services considered up for the supplied role
|
2015-11-06 23:42:06 +00:00 |
|
Noah Levitt
|
345348fa46
|
set PYTHONDONTWRITEBYTECODE in one place
|
2015-11-06 23:40:03 +00:00 |
|
Noah Levitt
|
a0f5c4870f
|
add pid and first_heartbeat to service registry automatically
|
2015-11-02 21:20:46 +00:00 |
|
Noah Levitt
|
8a212327eb
|
fix number of replicas for services table
|
2015-10-31 01:10:47 +00:00 |
|
Noah Levitt
|
46a54357ad
|
return whole updated status_info dict from ServiceRegistry.heartbeat()
|
2015-10-31 00:33:06 +00:00 |
|
Noah Levitt
|
97453ae66c
|
fix rst syntax
|
2015-10-30 22:51:24 +00:00 |
|
Noah Levitt
|
b22bacbad0
|
add travis badge
|
2015-10-30 15:33:11 -07:00 |
|
Noah Levitt
|
bf9bf7de5a
|
switch readme to restructuredtext for pypi, use as setup.py long_description
|
2015-10-30 22:28:51 +00:00 |
|
Noah Levitt
|
e164ea252e
|
mention service registry in readme
|
2015-10-30 20:03:52 +00:00 |
|
Noah Levitt
|
f14b33c5cb
|
add required fields to setup.py
|
2015-10-30 20:03:34 +00:00 |
|
Noah Levitt
|
1f64ad84d6
|
match outer uid within docker container, to avoid ownership/permissions issues with mounted volumes
|
2015-10-30 19:53:20 +00:00 |
|
Noah Levitt
|
58a7d48cd5
|
version number 0.1
|
2015-10-30 19:51:50 +00:00 |
|
Noah Levitt
|
5570ca9241
|
service registry, with unit tests!
|
2015-10-30 19:50:33 +00:00 |
|
Noah Levitt
|
7c7b0dc991
|
Revert "does it still hang if we don't really run anything inside docker?"
This reverts commit e1474133b638e1f442b812ee794a79b6038f6a69.
Conflicts:
tests/run-tests.sh
|
2015-10-06 00:57:15 +00:00 |
|
Noah Levitt
|
d24f2d8036
|
Merge pull request #1 from nlevitt/travis-docker
more fiddling with travis/docker
|
2015-10-02 16:50:09 -07:00 |
|
Noah Levitt
|
15b796c499
|
try to work around iptables error
|
2015-10-02 22:28:08 +00:00 |
|
Noah Levitt
|
e764033443
|
ok forget run-tests.sh, just run rethinkdb in docker container, tests outside
|
2015-10-02 22:20:53 +00:00 |
|
Noah Levitt
|
f4fb551d95
|
does it still hang with docker run -i?
|
2015-10-02 17:46:08 +00:00 |
|
Noah Levitt
|
c124507c15
|
does it still hang if we pipe in /dev/null to stdin?
|
2015-10-02 17:11:00 +00:00 |
|
Noah Levitt
|
e1474133b6
|
does it still hang if we don't really run anything inside docker?
|
2015-10-02 16:55:11 +00:00 |
|
Noah Levitt
|
314462a83c
|
remove -i and -t flags so travis won't hang?
|
2015-10-01 19:05:10 -07:00 |
|
Noah Levitt
|
ef4b360d6c
|
duh, docker container doesn't inherit python
|
2015-10-02 01:39:36 +00:00 |
|
Noah Levitt
|
7e96d65f96
|
ugh wait that long for travis to find this mistake
|
2015-10-02 01:28:29 +00:00 |
|
Noah Levitt
|
9257a31057
|
docker volume $TRAVIS_BUILD_DIR
|
2015-10-02 01:19:16 +00:00 |
|
Noah Levitt
|
e909ccfc40
|
more fiddling with travis/docker
|
2015-10-02 00:22:49 +00:00 |
|
Noah Levitt
|
a12ee18f34
|
try it this way travis
|
2015-10-01 23:33:49 +00:00 |
|
Noah Levitt
|
87d2f11090
|
travis ci
|
2015-10-01 23:16:19 +00:00 |
|
Noah Levitt
|
24edeb3247
|
support array slice notation https://rethinkdb.com/api/python/slice/
|
2015-09-29 22:07:50 +00:00 |
|
Noah Levitt
|
5ed8a7a050
|
RethinkerWrapper.__repr__
|
2015-09-23 00:31:31 +00:00 |
|
Noah Levitt
|
a377fd5305
|
only retry r.ReqlTimeoutError because creating a database with too many replicas or shards raises a r.ReqlAvailabilityError, which resulted in an infinite loop; add test for this case
|
2015-09-22 21:34:12 +00:00 |
|
Noah Levitt
|
030d248eac
|
run tests inside docker as same user from outside docker, to avoid problems with --volume
|
2015-09-22 21:32:53 +00:00 |
|
Noah Levitt
|
175b8287bb
|
pull in changes from warcprox/tests/Dockerfile
|
2015-09-22 21:31:32 +00:00 |
|