Andrea Luzzardi
eebc06aabe
Cleanup: Move CLI related files to a subpackage.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-18 20:26:55 -07:00
Andrea Luzzardi
9920b547e0
Merge pull request #635 from mgoelzer/fix-travis-on-forks
...
Change to make Travis CI run correctly on forks of docker/swarm
2015-04-18 19:59:54 -07:00
Yucong Sun
eab732b8da
Clarify support for filtering with Node ID and Node Name
...
Signed-off-by: Yucong Sun <sunyucong@gmail.com>
2015-04-19 05:43:01 +08:00
Xian Chaobo
65d397b0bb
add logs-run-rmi-rm integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 11:37:37 +08:00
Xian Chaobo
2ec8446344
remove FIXME
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 23:11:18 -04:00
Xian Chaobo
854b97c75c
change the way to make temp file
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 11:05:55 +08:00
Xian Chaobo
cb60e83615
format fix
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 10:22:03 +08:00
Mike Goelzer
8d997d9d51
Change to make Travis-CI run correctly on forks of docker/swarm
...
Signed-off-by: Mike Goelzer <mike@goelzer.com>
2015-04-16 19:12:08 -07:00
Xian Chaobo
59c5b6b317
use WaitGroup and move test in api.bats
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 22:10:39 -04:00
Xian Chaobo
293abe06f4
add pause/unpause/inspect integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 09:56:24 +08:00
Xian Chaobo
820804b108
update load-image integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 21:50:46 -04:00
Xian Chaobo
f7d9a96785
rollback godeps.json
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 21:50:46 -04:00
Xian Chaobo
f200e9a954
rebase and update test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 21:50:46 -04:00
Xian Chaobo
7da46216e0
integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 21:50:46 -04:00
Xian Chaobo
6ad2a7847c
stream load and output nothing if load successfully
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 21:50:46 -04:00
Xian Chaobo
b4dd3e32e4
update Godeps
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 21:50:46 -04:00
Xian Chaobo
34e0c78d1d
gofmt check
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 21:50:46 -04:00
Xian Chaobo
ccc32635d5
Add support Load Image
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 21:50:46 -04:00
Victor Vieux
1aa61f9f36
Merge pull request #634 from aluzzardi/integration-build-fix
...
integration: Fix docker build API test
2015-04-16 18:43:24 -07:00
Andrea Luzzardi
b548683b32
integration: Fix docker build API test
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-16 18:41:30 -07:00
Xian Chaobo
58f14dae33
add cp/export/history/save integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 09:02:20 +08:00
Xian Chaobo
fbd8ac5cc8
add attach-ws api integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 08:05:42 +08:00
Andrea Luzzardi
9ac7dd2402
Merge pull request #603 from vieux/add_build
...
Proposal: Add build support on a random node
2015-04-16 16:21:38 -07:00
Victor Vieux
3315f0e6cc
Merge pull request #629 from aluzzardi/stress-test
...
stress test: First short at stress testing Swarm in an automated way.
2015-04-16 15:57:10 -07:00
Xian Chaobo
5841d0f98e
add attach-diff-port-top integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 06:11:52 +08:00
Xian Chaobo
7ac2948697
bug fix
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 05:03:27 +08:00
Xian Chaobo
6d5e9af343
enhance test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-17 04:57:30 +08:00
Victor Vieux
05b01c7b43
forcerefresh after build and add test
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-04-16 12:22:09 -07:00
Andrea Luzzardi
4db132e20e
Merge pull request #594 from noxiouz/add_rlocks_to_swarm_cluster
...
Add Rlocks to swarm cluster
2015-04-16 12:20:58 -07:00
Victor Vieux
d74e872952
add build
...
improve random selection
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-16 12:19:09 -07:00
Victor Vieux
8506acbed2
fix proxyRandom even without container
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-04-16 12:17:38 -07:00
Victor Vieux
f94d78cecf
Merge pull request #628 from aluzzardi/api-integration-tests
...
integration: Add skeleton for missing integration tests.
2015-04-16 12:08:25 -07:00
Victor Vieux
b8e6541cb5
Merge pull request #630 from aluzzardi/integration-fix-manage
...
integration: Fix swarm_manage helper with custom discovery.
2015-04-16 12:07:39 -07:00
Xian Chaobo
fc692741d7
add attach-diff-port-pull-top integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 23:44:50 +08:00
Xian Chaobo
805b826161
add create-start-stop-restart-kill integration test
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-04-16 22:43:08 +08:00
Andrea Luzzardi
20d7a2bde4
stress test: First short at stress testing Swarm in an automated way.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 21:09:42 -07:00
Andrea Luzzardi
62afd8133a
integration: Fix swarm_manage helper with custom discovery.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 19:39:12 -07:00
Andrea Luzzardi
05802bba5a
integration: Add skeleton for missing integration tests.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 18:16:07 -07:00
Alexandre Beslic
b724e84f92
Merge pull request #627 from aluzzardi/api-cleanup
...
API Cleanup
2015-04-15 18:04:31 -07:00
Andrea Luzzardi
88801da7f4
API: Move the httpError helper into helpers.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 18:02:15 -07:00
Andrea Luzzardi
885d116759
API: Move the context from the handlers into the router.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 18:02:15 -07:00
Andrea Luzzardi
4bf8eaff7c
API: Move the router into its own file.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:59:32 -07:00
Andrea Luzzardi
cd832f572e
Rename api.go to handlers.go.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:59:32 -07:00
Andrea Luzzardi
c1a6d14792
API: Move routes outside of createRouter.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:59:32 -07:00
Victor Vieux
f27a7b8357
Merge pull request #624 from aluzzardi/events-cleanup
...
Cleanup events handler
2015-04-15 17:58:56 -07:00
Victor Vieux
694167bae9
Merge pull request #626 from aluzzardi/coverage
...
Coverage improvements
2015-04-15 17:58:38 -07:00
Andrea Luzzardi
c6d368bafa
coverage: Exclude API from coverage.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:31:14 -07:00
Andrea Luzzardi
5bf339af48
Coverage: Refactoring.
...
- Make script/coverage runnable locally.
- Move the goveralls push to travis instead of script/coverage.
- Refactor code into a loop.
- Properly handle packages with no tests.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:29:16 -07:00
Andrea Luzzardi
442217d6dc
Cleanup events handler.
...
- Renamed Events() to RegisterEventHandler() in Engine.
- Added RegisterEventHandler() to the Cluster interface.
- Removed EventHandler requirement from swarm's Cluster constructor.
- Make API's events handler private.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 15:59:55 -07:00
Victor Vieux
35c6eec263
Merge pull request #623 from aluzzardi/golint
...
Fix golint errors
2015-04-15 15:43:11 -07:00