Alexander Larsson
0722786600
api_test: Fix PostContainersCreate
...
We can't look for the created file in the rwpath, because that
doesn't exist in the device-mapper world, instead look in the
RootfsPath.
2013-09-30 17:35:01 -06:00
Guillaume J. Charmes
f435970695
Merge pull request #1842 from dotcloud/split_stdout_stderr
...
* Runtime: Split stdout stderr
2013-09-26 18:05:24 -07:00
Guillaume J. Charmes
cb18a6e1b9
Update docs + fix endian issue
2013-09-26 17:36:21 -07:00
Guillaume J. Charmes
e854b7b2e6
Make StdCopy works with huge amount of data
2013-09-11 14:49:33 -07:00
Guillaume J. Charmes
289350e633
Add stderr unit test
2013-09-11 14:48:22 -07:00
Guillaume J. Charmes
8ae5348a51
Split stdout stderr for non-tty commands
2013-09-11 14:48:22 -07:00
Michael Crosby
bd0e4fde9a
Merge pull request #1838 from jmcvetta/multiline_dockerfile
...
Implementation of multiline syntax for Dockerfile
2013-09-10 14:22:34 -07:00
Michael Crosby
ad152efbed
Merge pull request #1759 from bdon/graph-map
...
Minor refactor of Graph; replace uses of Graph.All (slice) with Graph.Map (map)
2013-09-10 08:49:11 -07:00
Jason McVetta
6678a26d1c
gofmt
2013-09-09 15:11:30 -07:00
Solomon Hykes
24e02043a2
Merge builder.go into runtime.go
2013-09-06 17:33:05 -07:00
Daniel Mizyrycki
bf6e241d97
testing, issue #1802 : Temporarily skip TestGetContainersTop
2013-09-04 18:20:49 -07:00
Brandon Liu
1fca99ad90
Replace Graph.All with Graph.Map
2013-08-31 20:44:42 -07:00
Michael Crosby
7f9ba14b18
Add imagename to LogEvent tests
2013-08-14 23:43:43 +00:00
Pascal Borreli
9b2a5964fc
Fixed typos
2013-08-12 18:53:06 +01:00
Guillaume J. Charmes
ceb33818cd
Improve TestGetContainersTop so it does not rely on sleep
2013-08-08 11:51:31 -07:00
Michael Crosby
d94b186080
Strip leading forward slash from resource
2013-08-06 16:09:54 +00:00
Michael Crosby
5b8cfbe15c
Add cp command and copy api endpoint
...
The cp command and copy api endpoint allows users
to copy files and or folders from a containers filesystem.
Closes #382
2013-08-06 16:09:54 +00:00
Michael Crosby
754ed9043d
Use mime types to parse Content-Type
2013-08-06 15:57:13 +00:00
Victor Vieux
0b57e4483a
Merge branch 'master' into 1237-improve_docker_top-feature
2013-07-30 11:51:16 +00:00
Guillaume J. Charmes
fd9ad1a194
Fixes #505 - Make sure all output is send on the network before closing
2013-07-24 15:48:51 -07:00
Victor Vieux
ed7a4236b3
Add tests for the api
2013-07-23 15:42:34 +00:00
Victor Vieux
cfec1c3e1b
add ps args to docker top
2013-07-19 10:06:32 +00:00
Solomon Hykes
2cbf2200ac
Merge pull request #1195 from dotcloud/tests-cleanup
...
* Hack: tests cleanup
2013-07-12 14:51:59 -07:00
Victor Vieux
a8a6848ce0
fix tests regarding the new test image
2013-07-12 11:54:53 +00:00
Victor Vieux
9232d1ef62
Merge branch 'master' into list_container_processes-feature
2013-07-12 11:47:27 +00:00
Solomon Hykes
6bdb6f226b
Simplify unit tests code with mkRuntime()
2013-07-11 17:59:25 -07:00
Solomon Hykes
2ac1141980
Don't leave broken, commented out tests lying around.
2013-07-11 17:58:45 -07:00
Guillaume J. Charmes
e43ef364cb
Remove all network dependencies from the test suite
2013-07-08 15:23:04 -07:00
Victor Vieux
dea29e7c99
Fix error in rmi when conflict
2013-07-05 16:58:39 +00:00
Caleb Spare
19121c16d9
Implement several golint suggestions, including:
...
* Removing type declarations where they're inferred
* Changing Url -> URL, Id -> ID in names
* Fixing snake-case names
2013-07-03 14:36:04 -07:00
Caleb Spare
dd1b9e38e9
Typo correction: Excepted -> Expected'
2013-07-03 14:35:18 -07:00
Louis Opter
f03c1b8eeb
More unit test fixes
...
- Fix TestGetImagesJSON when there is more than one image in the test
repository;
- Remove an hardcoded constant use in TestGetImagesByName;
- Wait in a loop in TestKillDifferentUser;
- Use env instead of /usr/bin/env in TestEnv;
- Create a daemon user in contrib/mkimage-unittest.sh.
2013-07-01 17:24:21 -07:00
Louis Opter
6dacbb451f
Fix TestGetInfo when there is more than one image in the test repository
...
See also #1089 , #1072 .
2013-07-01 15:06:08 -07:00
Guillaume J. Charmes
b6f288a1ce
Fix unit tests when there is more than one tag within the test image
2013-07-01 11:45:45 -07:00
Victor Vieux
11e28842ac
change to top
2013-07-01 15:19:42 +00:00
Victor Vieux
648c4f198b
Add test
2013-06-28 16:27:00 +00:00
Victor Vieux
a11fc9f067
Merge pull request #1032 from andrewsmedina/govet
...
following the 'go vet' suggestions for the docker package.
2013-06-28 05:27:53 -07:00
Andrews Medina
3d5633a0a0
following the 'go vet' suggestions.
2013-06-27 01:33:55 -03:00
Gabriel Monroy
4fdf11b2e6
+ Runtime: mount volumes from a host directory with 'docker run -b'
2013-06-26 15:07:31 -07:00
Victor Vieux
da199846d2
use strconv.ParseBool in getBoolParam
2013-06-20 14:34:58 +00:00
Victor Vieux
c46382ba29
rebase master
2013-06-13 17:58:06 +00:00
Solomon Hykes
5ecfe13be9
Merge branch '610-improve_rmi-feature'
...
* Runtime: improved image removal to garbage-collect unreferenced parents
- Runtime: fixed image removal to cleanly remove tags and repositories
2013-06-12 20:30:07 -07:00
Victor Vieux
f2383151cb
bump to master
2013-06-12 17:39:32 +00:00
Victor Vieux
20bf0e00e8
* Remote Api: Add flag to enable cross domain requests
2013-06-11 10:12:36 +00:00
Michael Crosby
ac599d6528
Add explicit status response to OPTIONS handler
...
Write the http.StatusOK header in the OPTIONS
handler and update the unit tests to refer to the
response code using the const from the http package.
2013-06-10 14:44:10 -09:00
Michael Crosby
0a28628c02
Add Cors and OPTIONS route unit tests
...
Move creating the router and populating the
routes to a separate function outside of
ListenAndServe to allow unit tests to make
assertions on the configured routes and handler
funcs.
2013-06-10 13:02:40 -09:00
Victor Vieux
66d9a73362
rebump
2013-06-10 21:05:54 +00:00
Victor Vieux
c906239220
bump to master
2013-06-05 10:23:45 +00:00
Victor Vieux
fd224ee590
linted names
2013-06-04 18:00:22 +00:00
Michael Crosby
6d5bdff394
Add flag to enable cross domain requests in Api
...
Add the -api-enable-cors flag when running docker
in daemon mode to allow CORS requests to be made to
the Remote Api. The default value is false for this
flag to not allow cross origin request to be made.
Also added a handler for OPTIONS requests the standard
for cross domain requests is to initially make an
OPTIONS request to the api.
2013-06-03 21:39:00 -04:00