Commit Graph

1232 Commits

Author SHA1 Message Date
Andrea Luzzardi 64eeb7e3c9 integration: Fix API # nodes check.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-09 15:32:14 -07:00
lalyos 308876e3c0 Make sample `docker ps` output fit the screen
The usual `docker ps` output is way long. When reading it on github there is no sign that the reader should
scroll. created and status fields deleted, and some space to make it fit the browser.

Signed-off-by: lalyos <lalyos@yahoo.com>
2015-03-09 20:14:36 +01:00
Victor Vieux a455f3fe11 Merge pull request #464 from bfirsh/add-more-information-to-api-docs
Clarify API documentation
2015-03-09 10:26:58 -07:00
Chanwit Kaewkasi 1f56b0bab4 fix typo in readme
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-03-10 00:12:14 +07:00
Ben Firshman f9d024eab5 Clarify API documentation
Notably, add *mostly* compatible with Remote API.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2015-03-09 10:29:02 +00:00
Victor Vieux 2f19f5899a Add spread strategy and make it the default
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-07 15:17:42 -08:00
Andrea Luzzardi 1e2cc75c22 integration: Add README file.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-06 18:36:33 -08:00
Victor Vieux 58a373b7bb Merge pull request #457 from aluzzardi/constraint-integration
integration: Add constraints integration tests.
2015-03-06 17:50:29 -08:00
Andrea Luzzardi 21c7d423e4 integration: Add constraints integration tests.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-06 17:39:36 -08:00
Victor Vieux d708650670 Merge pull request #448 from aluzzardi/integration
Integration tests: Initial framework
2015-03-06 17:22:48 -08:00
Andrea Luzzardi 75275f4bd9 Merge pull request #456 from vieux/fix_inspect_node
add Node back to inspect
2015-03-06 17:21:49 -08:00
Andrea Luzzardi f9a6c1bd89 integration: stop_docker: delete volumes as well.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-06 17:20:26 -08:00
Victor Vieux 0fca58b069 add Node back to inspect
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-06 16:40:55 -08:00
Andrea Luzzardi 9567185038 integration helpers: Fix concurrent calls to start_docker().
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-06 16:09:06 -08:00
Andrea Luzzardi ac7fdeab6b integration: Minor bash improvements in the helpers.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-06 16:09:06 -08:00
Victor Vieux e3e7ddb616 Merge pull request #432 from bacongobbler/patch-1
use Godep to install from source
2015-03-06 13:49:07 -08:00
Andrea Luzzardi 466242c8a9 Merge pull request #349 from vieux/pull_rmi
Add support for pull on all hosts (no change in docker run)
2015-03-06 11:56:32 -08:00
Andrea Luzzardi 8fb3d303db integration: Add simple API test to demonstrate the helpers.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-06 11:42:43 -08:00
Andrea Luzzardi 108f4ebe06 integration: Rename vars to helpers.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-06 11:42:43 -08:00
Andrea Luzzardi b023b78e7b integration tests: Add helpers to start/stop the manager and engines.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-06 11:42:43 -08:00
Victor Vieux 0e7f970d4d use a single callback
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-06 11:22:14 -08:00
Victor Vieux e0fa132ec9 add parallel
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-05 17:09:08 -08:00
Victor Vieux 7ad8a3705f add support for pull and rmi
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-05 17:09:08 -08:00
Andrea Luzzardi 342ef1fff2 Merge pull request #442 from vieux/cleanup2
Cleanup: Make swarm Node and Cluster functions private
2015-03-05 12:11:03 -08:00
Victor Vieux eccaf6e5eb Cleanup: Make swarm Node and Cluster functions private
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-05 11:53:40 -08:00
Andrea Luzzardi d0b10516d6 integration: Remove manage-non-available-node test.
It makes integration tests run really slow.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-03 17:39:55 -08:00
Andrea Luzzardi 7dc04ee694 integration: Do not verify git hash since it's set to HEAD in master.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-03 17:35:07 -08:00
Andrea Luzzardi 998cc63f78 bats: Convert encoding to utf-8 unix.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-03 17:34:42 -08:00
Andrea Luzzardi fa22dbf6a6 Integration tests: Deterministic swarm binary path resolution
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-03-03 17:30:07 -08:00
Andrea Luzzardi fe900c0c5c Merge pull request #444 from vieux/add_inspect_img
add inspect for images
2015-03-03 17:21:30 -08:00
Victor Vieux 426953c866 add inspect for images
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-03 16:30:31 -08:00
Andrea Luzzardi fd8ff48bec Merge pull request #443 from chanwit/bats-func-tests
Proposal: PoC for Bats integration tests
2015-03-03 16:18:41 -08:00
Andrea Luzzardi 2e65728d12 Merge pull request #423 from bfirsh/point-to-docs-in-readme
Point to documentation in the readme
2015-03-03 16:01:35 -08:00
Chanwit Kaewkasi 046f26f1b8 add Bats integration tests
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-03-04 03:13:30 +07:00
Andrea Luzzardi a25d0adf19 Merge pull request #439 from vieux/cleanup
cleanup: SwarmCluster -> Cluster && Node to node
2015-03-02 18:06:15 -08:00
Victor Vieux 0569f7d4dd swarm.Node -> swarm.node && some method now private
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-02 18:02:31 -08:00
Victor Vieux 92ab1e347c cleanup swarm scheduler code
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-02 17:55:06 -08:00
Andrea Luzzardi 3267a25bdc Merge pull request #441 from vieux/remove_force_refresh
remove proxyContainerAndForceRefresh
2015-03-02 17:51:36 -08:00
Victor Vieux e075c8fd46 remove proxyContainerAndForceRefresh
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-02 17:11:09 -08:00
Victor Vieux 70e033c07c update roadmap.md
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-03-02 15:46:46 -08:00
Victor Vieux f8db6a6e67 Merge pull request #434 from mattva01/patch-1
Corrected typos in swarm scheduler docs
2015-02-28 15:27:55 -08:00
Matthew Gallagher 3c7e74c43e Corrected typos in swarm scheduler docs
Signed-off-by: Matthew Gallagher <mattva01@gmail.com>
2015-02-28 03:31:49 -05:00
Matthew Fisher f3defa3326 fix typo
Signed-off-by: Matthew Fisher <matthewf@opdemand.com>
2015-02-27 20:38:59 -08:00
Matthew Fisher f4485ba3d2 use Godep to install from source
Signed-off-by: Matthew Fisher <matthewf@opdemand.com>
2015-02-27 20:38:22 -08:00
Andrea Luzzardi 4087e022d6 Merge pull request #398 from bacongobbler/refactor-scores-to-weighted-node
refactor score to WeightedNode structure
2015-02-27 16:47:26 -08:00
Andrea Luzzardi db97473b40 Merge pull request #393 from vieux/mesos_poc
Proposal: Scheduler/Cluster Driver
2015-02-27 15:17:54 -08:00
Victor Vieux 8b7afe2c73 remove mesos.go to move it to it's own PR
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:25:50 -08:00
Victor Vieux a8885ab997 removed nodes.go
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:25:50 -08:00
Victor Vieux d8042f9677 add Node interface
Usable -> Total & Reserved -> Used

Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:25:50 -08:00
Victor Vieux 4bfeb4b640 move list of node to swarm only
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-02-27 14:20:37 -08:00