c889ea1bca
Merge pull request #1020 from vdemeester/todo-tada
...
Handle some TODOs in tests
2018-04-23 09:33:41 -04:00
ae03dd7f46
Handle some TODOs in tests
...
Use more gotestyourself for `env.Patch`, and `icmd.RunCommand`
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-04-23 14:13:52 +02:00
b29844f8ca
Make testing helpers as such…
...
That way, those lines won't be reported in the failure.
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-04-18 17:02:21 +02:00
236a84759a
Merge pull request #941 from dnephin/fix-compose-network-name
...
Fix compose network name
2018-03-26 23:41:44 +02:00
8b00c5cfd8
Add more content trust tests
...
Importing from moby's DockerTrustSuite tests.
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-03-19 10:02:40 +01:00
fcffd67028
Add e2e test for stack deploy
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2018-03-12 16:24:30 -04:00
39c2ca57c1
Automated migration
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2018-03-05 19:41:17 -05:00
42edad2fc7
Add e2e container kill test
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-01-30 15:38:45 -08:00
ae03b006a6
Fix merge conflict
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2018-01-22 18:09:47 -05:00
44a1168ae5
Merge pull request #696 from mlaventure/attach-use-containerwait
...
attach: Use ContainerWait instead of Inspect
2018-01-20 23:55:16 +01:00
f1b116179f
Fix PR comments
...
- More strict on orchestrator flag
- Make orchestrator flag more explicit as experimental
- Add experimentalCLI annotation on kubernetes flags
- Better kubeconfig error message
- Prefix service name with stackname in ps and services stack subcommands
- Fix yaml documentation
- Fix code coverage ignoring generated code
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com >
2018-01-03 10:23:32 +01:00
ba5d0d8ff5
Move e2e test on version command to unit tests
...
* Refactor a little version command
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com >
2017-12-26 11:46:59 +01:00
3a01d6a40a
Fix e2e test (and add a comment that it's not the best fix)
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2017-12-26 11:45:56 +01:00
1ff277ad8f
Fix some build failures
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2017-12-26 11:22:32 +01:00
8417e49792
Add support for kubernetes in docker cli
...
- Add support for kubernetes for docker stack command
- Update to go 1.9
- Add kubernetes to vendors
- Print orchestrator in docker version command
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com >
2017-12-26 11:22:32 +01:00
84fe1a1b5b
Add support for experimental Cli configuration
...
Allow to mark some commands and flags experimental on cli (i.e. not
depending to the state of the daemon). This will allow more flexibility
on experimentation with the cli.
Marking `docker trust` as cli experimental as it is documented so.
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2017-12-22 14:48:47 +01:00
16cd84024c
Fix e2e build test
...
The build output changed in 17.11
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-11-29 11:02:40 -05:00
7adb4c4b1e
Add e2e test for docker build
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-11-21 13:24:37 -05:00
bace33d7a8
Fix TestAttachExitCode
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-11-17 18:12:48 -08:00
66661761d5
attach: Use ContainerWait instead of Inspect
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com >
2017-11-17 18:12:46 -08:00
4a93f207a3
add e2e testing for trust revoke
...
Signed-off-by: Kyle Spiers <kyle@spiers.me >
2017-11-13 17:18:10 -08:00
cbd78572a7
e2e tests: refactor using fixtures
...
Signed-off-by: Kyle Spiers <kyle@spiers.me >
2017-11-13 17:18:04 -08:00
eb025800bd
Add e2e testing for docker trust sign
...
Signed-off-by: Kyle Spiers <kyle@spiers.me >
2017-11-10 14:26:11 -08:00
8f86a25029
Fix stdout and errors in image/trust
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-10-23 13:54:55 -04:00
b11c11ea74
Update e2e test for image pull to check stdout
...
Also add TEST_DEBUG env variable for debugging E2E tests.
And change icmd environment helpers to fit the CmdOp interface os they
can be passed to 'icmd.RunCmd()'
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-10-10 17:04:49 -04:00
7dda6fc3c9
factor out rigging for pushing unsigned busybox image
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-10-10 12:00:52 -07:00
46f3d8bb7f
update image pull tests
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-10-10 11:20:54 -07:00
ade675d36c
get e2e working with notary service
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-10-10 11:19:02 -07:00
6e3bafd06b
update e2e tests for content trust tests
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-10-10 11:19:02 -07:00
ab2e219116
Fix e2e test by using a pinned version of alpine
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-09-14 11:38:46 -04:00
c34360cc8e
Add an end-to-end test for container run
...
for testing attach, remove, and pull image when missing.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-09-06 17:07:38 -04:00
677d17150a
Move common e2e things into an internal package.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-09-06 17:07:38 -04:00
bb8f49773c
Move output of stack rm to stdout
...
Signed-off-by: French Ben <frenchben@docker.com >
Update for the test to capture the proper removal
Signed-off-by: French Ben <frenchben@docker.com >
Satisfy lint length limit
Signed-off-by: French Ben <frenchben@docker.com >
Updated e2e test
Signed-off-by: French Ben <frenchben@docker.com >
2017-09-01 14:25:20 -07:00
63d76065bb
Add a Jenkinsfile
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-08-16 10:46:43 -04:00
b5cb5ee446
Add first e2e test
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-08-16 10:46:40 -04:00
26418a12fb
Add scripts for setting up e2e test environment.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-08-16 10:35:56 -04:00