Commit Graph

1365 Commits

Author SHA1 Message Date
Victor Vieux 853aaf6027 nodes -> engines
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-07 11:46:33 -07:00
Victor Vieux fa10490af8 Merge branch 'sunyc-ignore_comment' 2015-04-07 10:41:25 -07:00
Victor Vieux 5e41510484 udpate tests
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-07 10:41:18 -07:00
Yucong Sun b45a985b9b Ignoring # comments in file discovery.
Signed-off-by: Yucong Sun <sunyucong@email.com>
2015-04-07 23:11:57 +08:00
Victor Vieux 0c1782c7c0 fix proxyRandom and cleanup node -> engine
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-06 13:38:10 -07:00
Victor Vieux 1297a4cef2 transform node interface to engine struct
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-06 13:19:37 -07:00
Victor Vieux 48fd99368f Merge pull request #579 from chanwit/regression
Cleanup: regression for 0.2.0
2015-04-06 12:08:09 -07:00
Chanwit Kaewkasi b1803bc7e5 regression for 0.2.0
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-04-06 14:04:15 +07:00
Alexandre Beslic 88b69e0671 Merge pull request #573 from aluzzardi/container-update-fix
Fix container update flow.
2015-04-03 17:03:14 -07:00
Victor Vieux adda54109e Merge pull request #571 from vieux/sort_info
Sort docker info by name
2015-04-03 16:39:28 -07:00
Victor Vieux 820527be7e Sort docker info by name
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-03 16:37:27 -07:00
Andrea Luzzardi c101ab7548 Merge pull request #572 from vieux/improve_docker_info
add strategy and filters to docker info
2015-04-03 16:35:39 -07:00
Victor Vieux 805b4763f4 disable cluster flag
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-03 16:33:48 -07:00
Victor Vieux 8f50c0eb7a use names everywhere
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-03 16:22:56 -07:00
Andrea Luzzardi 23d52249fa Fix container update flow.
This guarantees that containers get fully updated before being inserted
in the node (and returned by .Containers()).

Fixes #560

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-03 16:21:48 -07:00
Andrea Luzzardi b9ccbd119d Merge pull request #567 from mgoelzer/issue564
Make TTL > heartbeat interval so that keys do not disappear
2015-04-03 16:06:23 -07:00
Victor Vieux 20ec7a889e add strategy and filters to docker info
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-03 15:56:26 -07:00
Mike Goelzer bcca57bda8 Make TTL > heartbeat by at least one second to prevent key from disappearing before next heartbeat
Signed-off-by: Mike Goelzer <mike@goelzer.com>
2015-04-02 19:34:30 -07:00
Andrea Luzzardi 64d691a448 Merge pull request #566 from vieux/engine_not_swarm
add error message
2015-04-02 18:51:54 -07:00
Victor Vieux c41d73dd50 add error message
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-04-03 01:28:08 +00:00
Andrea Luzzardi de66ff37d5 Merge pull request #565 from vieux/fix_tests
unskip and fix a few tests
2015-04-02 17:50:45 -07:00
Victor Vieux f3d64cfad3 unskip and fix a few tests
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-04-03 00:48:07 +00:00
Victor Vieux 0131e5f92c Merge pull request #556 from chanwit/cleanup-random
Cleanup: inline index and reuse size vars in random strategy
2015-04-02 11:23:01 -07:00
Alexandre Beslic 7e569fdaee Merge pull request #561 from mgoelzer/discovery-token-readme-fix
Fixed url of Docker Hub discovery service
2015-04-02 10:05:24 -07:00
Mike Goelzer 5d289e2434 Fixed url of Docker Hub discovery service
Signed-off-by: Mike Goelzer <mike@goelzer.com>
2015-04-02 09:50:34 -07:00
Chanwit Kaewkasi fd643ad079 cleanup index and reuse size vars
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-04-02 13:54:39 +07:00
Victor Vieux 558b1e3c52 Merge pull request #554 from vieux/add_doc_spread
Add missing doc for the spread strategy
2015-04-01 17:29:55 -07:00
Victor Vieux 410d85ac07 Add missing doc for the spread strategy
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-01 17:20:27 -07:00
Victor Vieux 01a942c54d Merge pull request #552 from noxiouz/idiomatic_copy
[Store] Drop an index variable in Store.All
2015-04-01 15:53:37 -07:00
Victor Vieux 58b282a4a3 Merge pull request #545 from aluzzardi/synchronous-creater-destroy
Make container creation and destruction synchronous.
2015-04-01 15:41:26 -07:00
Andrea Luzzardi 1edc7b64aa Merge pull request #546 from vieux/use_1024
use 1024 as total cpushare for a machine
2015-04-01 15:27:58 -07:00
Victor Vieux b27d405dd7 Merge pull request #553 from noxiouz/reduce_complexity_of_pick
[Random] Pick a node for O(1), not for O(n)
2015-04-01 15:26:10 -07:00
Anton Tiurin f760b25e12 [Random] Pick a node for O(1), not for O(n)
Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
2015-04-02 00:23:35 +03:00
Alexandre Beslic 98f2e2a908 Merge pull request #547 from jimmyxian/master
'docker tag/push' api implementation
2015-04-01 14:22:42 -07:00
Anton Tiurin 0618c29be2 [Store] Drop an index variable in Store.All
Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
2015-04-02 00:04:43 +03:00
Victor Vieux 1f2bd67555 Merge pull request #549 from snrism/update_token_and_filter_readme
Update token and filter readme
2015-04-01 13:26:02 -07:00
Sriram Natarajan 6c1eeef280 Update Filters README with dependency filter link
Signed-off-by: Sriram Natarajan <natarajan.sriram@gmail.com>
2015-04-01 12:17:25 -07:00
Sriram Natarajan 74a9a04a60 Fix discovery token README
Signed-off-by: Sriram Natarajan <natarajan.sriram@gmail.com>
2015-04-01 12:09:53 -07:00
Victor Vieux b304a453f4 use 1024 as total cpushare for a machine
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-01 11:49:00 -07:00
Alexandre Beslic 2c94f22f4c Merge pull request #548 from liuggio/patch-1
fixed readme for newcomer
2015-04-01 11:37:52 -07:00
Giulio De Donato 7510b25c5f added mkdir -p
Signed-off-by: Giulio De Donato <liuggio@gmail.com>
2015-04-01 19:21:01 +02:00
Xian Chaobo 1a607fd8fa update README.md
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-01 18:19:47 +08:00
Xian Chaobo 33933b1922 tag/push api implementation
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-01 18:17:47 +08:00
Andrea Luzzardi ca05173e41 Make container creation and destruction synchronous.
This is in order to fix race conditions. Currently, container creation
can happen in parallel which means that the scheduler operates on stale
data.

Fixes #427

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-31 14:11:51 -07:00
Victor Vieux e1e7259b8a Merge pull request #538 from jimmyxian/master
Implement  'docker commit' api
2015-03-31 13:40:24 -07:00
Victor Vieux 0961972eb2 Merge pull request #530 from technolo-g/automate_golint_pr
Closes #499: Enable golint on PRs
2015-03-31 12:02:08 -07:00
Victor Vieux cdc9c7a47b Merge pull request #540 from snrism/validate_space_value
Validate value by checking for whitespace in constraint expression
2015-03-31 10:22:46 -07:00
Xian Chaobo fe054ba57c gofmt check and update readme
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-03-31 23:06:00 +08:00
Sriram Natarajan 538e2f5b7e Validate value by checking for whitespace in constraint expression
Signed-off-by: Sriram Natarajan <natarajan.sriram@gmail.com>
2015-03-31 00:21:19 -07:00
Victor Vieux 9f8ba5118a Merge pull request #539 from snrism/fix_404_error
Fix 404 Error in Filter and Strategy README files
2015-03-30 23:36:42 -07:00