Commit Graph

4752 Commits

Author SHA1 Message Date
Joffrey F 70ad55cd88 Trigger remote build for OSX 10.11
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-25 18:25:51 -08:00
Harald Albers 0f41e07a5c Add bash completion for `up {--always-recreate-deps,--renew-anon-volumes}`
Signed-off-by: Harald Albers <github@albersweb.de>
2018-01-25 18:25:51 -08:00
Joffrey F be2fb53934 Merge remote-tracking branch 'origin/release' into bump-1.19.0-rc2 2018-01-25 18:22:55 -08:00
Joffrey F 520fad331f Circle token
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-25 18:13:49 -08:00
Joffrey F b9939c97e5 Don't leak circle API auth info
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-25 18:10:56 -08:00
Joffrey F 234e8d5d05
Merge pull request #5609 from docker/xcode_7
Trigger remote build for OSX 10.11
2018-01-25 18:06:14 -08:00
Joffrey F 5d1554c9df Trigger remote build for OSX 10.11
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-25 17:56:21 -08:00
Joffrey F ab2301dd21
Merge pull request #5604 from albers/completion-up
Add bash completion for `up {--always-recreate-deps,--renew-anon-volumes}`
2018-01-24 16:43:31 -08:00
Joffrey F a9ac6778df
Merge pull request #5602 from docker/bump-1.19.0-rc1
Bump 1.19.0-rc1
2018-01-24 16:14:52 -08:00
Joffrey F d149ccd312 Bump 1.19.0-rc1
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-24 15:36:08 -08:00
Joffrey F 707f9db18a
Merge pull request #5605 from docker/circleci-osx-build
Move Linux/OSX builds from Travis to CircleCI
2018-01-24 15:30:56 -08:00
Joffrey F e09ea2f0f0 Add circleCI build/test config for Mac OSX
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-24 15:15:07 -08:00
Joffrey F 456906d7ad
Merge pull request #5603 from docker/5591-mount-rename-recreate
Don't break during recreate when a mount target is updated
2018-01-24 14:15:32 -08:00
Harald Albers b27c245395 Add bash completion for `up {--always-recreate-deps,--renew-anon-volumes}`
Signed-off-by: Harald Albers <github@albersweb.de>
2018-01-24 23:08:25 +01:00
Joffrey F c5154d6b2b Don't break during recreate when a mount target is updated
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-23 15:25:25 -08:00
Joffrey F b64cfd1982
Merge pull request #5596 from docker/4337-recreate-anon-volumes
Add up flag `--renew-anon-volumes` (shorthand -V)
2018-01-23 10:07:33 -08:00
Joffrey F f679f77555
Merge pull request #5598 from carlwgeorge/mock-import-fix
Use mock compatibility import
2018-01-23 09:55:13 -08:00
Joffrey F d8083b61c4
Merge pull request #5595 from docker/5594-merge-deploy
Advanced merge for deploy dict in v3 files
2018-01-23 09:54:29 -08:00
Carl George 8b5d32373e Use mock compatibility import
`tests/__init__.py` already has a try/except statement to use mock from
the standard library when possible.  Take advantage of it like other
tests already do.

Signed-off-by: Carl George <carl@george.computer>
2018-01-22 23:10:50 -06:00
Joffrey F b07091ac5f Add up flag `--renew-anon-volumes` (shorthand -V)
to avoid reusing the previous container's data

Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-22 16:08:33 -08:00
Joffrey F b968d34227 Advanced merge for deploy dict in v3 files
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-22 15:05:53 -08:00
Joffrey F fd1e8024f7
Merge pull request #5593 from docker/4651-tls-env-and-flags
Support mixed use of TLS flags and TLS environment variables
2018-01-22 11:01:44 -08:00
Joffrey F 593a675d2b Support mixed use of TLS flags and TLS environment variables
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-19 15:48:30 -08:00
Joffrey F c97dbf260b
Merge pull request #5583 from docker/Rozelette-5465-no-image-error
Recover from ImageNotFound when recreating service
2018-01-19 15:37:08 -08:00
Joffrey F 9ba9016cbc Improve ImageNotFound handling in convergence
- Improved CLI prompt
- Attempt volume preservation with new image config
- Fix container.rename_to_tmp_name()
- Integration test replicates behavior ; remove obsolete unit test

Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-19 14:16:57 -08:00
Ian Glen Neal 4042121f6e The updated unit test simulates the error in the bug. What's happening
is that the container has an image sha (represented by
    'shaDOES_NOT_EXIST') which causes an error when client.inspect_image
is called on it, because the image has actually been removed.

Signed-off-by: Ian Glen Neal <ian.gl.neal@gmail.com>
2018-01-19 14:16:56 -08:00
Joffrey F 2d986dff79 Remove rebuild parameter ; set do_build instead
Reduce repetition in main.py

Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-19 14:16:56 -08:00
Ian Glen Neal 7591639c72 Fix #5465 by catching a no-image exception in
get_container_data_volumes. The ImageNotFound exception is now bubbled
up to the client, which prompts the user on the desired course of action
(rebuild or abort). Added a case to the unit test to check that
an empty existing image doesn't result in an exception.

Closed old pull request #5466 because I did a rebase and it showed over
300 commits to merge, which I thought was messy.

Signed-off-by: Ian Glen Neal <ian.gl.neal@gmail.com>
2018-01-19 14:16:56 -08:00
Joffrey F 5d4ccafd35
Merge pull request #5580 from docker/5578-use_cli_exec
Use CLI for interactive exec on all platforms by default
2018-01-19 14:15:07 -08:00
Joffrey F b2cc8a290a
Merge pull request #5585 from docker/nginth-4904-label-config-validation
Labels validation and basic type conversion
2018-01-19 14:14:07 -08:00
Joffrey F a5d8c68d42 Also use docker CLI for interactive one-off runs.
COMPOSE_EXEC_NO_CLI -> COMPOSE_INTERACTIVE_NO_CLI

Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-18 13:28:11 -08:00
Joffrey F f4d7d32280 Update CLI version in test-running Dockerfiles
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-18 12:22:52 -08:00
Joffrey F dcaef15b34 Use CLI for interactive exec on all platforms by default
Add environment setting to enable old behavior (UNIX only)

Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-18 12:22:52 -08:00
Joffrey F 7f30a88bd6 Add type conversion (number, bool) -> float for label values
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-17 18:50:27 -08:00
Joffrey F c387d05a40 Merge branch '4904-label-config-validation' of https://github.com/nginth/compose into nginth-4904-label-config-validation
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-17 18:00:11 -08:00
Joffrey F 98044349a4
Merge pull request #5560 from docker/5371-force-windows-volume-parsing
Add environment variable to force windows parsing style of volume paths
2018-01-17 12:01:47 -08:00
Joffrey F 250eed61a3
Merge pull request #5579 from albers/completion-ps--services
Add bash completion for `ps --services --filter`
2018-01-16 14:12:34 -08:00
Joffrey F 045122c6f8
Merge pull request #5576 from tvanro/patch-1
Fix small typo: bulid -> build
2018-01-16 14:10:57 -08:00
Harald Albers 748357f665 Remove duplicate `--filter` from help message for `ps`
The `--filter` option appears twice in the help message.
Its presence in the usage line suggests that it is valid for both ps and
service mode, which is wrong.

Signed-off-by: Harald Albers <github@albersweb.de>
2018-01-16 14:32:35 +01:00
Harald Albers 6f48f5db4c Add bash completion for `ps --services --filter`
Signed-off-by: Harald Albers <github@albersweb.de>
2018-01-16 14:31:28 +01:00
Tom Van Rompaey ab173472b4 Fix small typo: bulid -> build
Signed-off-by: Tom Van Rompaey <tom.vanrompaey@it-consultis.com>
2018-01-15 17:26:27 +08:00
Joffrey F 7f22744658
Merge pull request #5566 from docker/mhank-5042-network-priorities
Add support for network priority
2018-01-12 14:40:17 -08:00
Joffrey F a7ca2d8c5f Merge branch 'thomascrha-patch-1' 2018-01-12 13:58:09 -08:00
Joffrey F 97da2cc6bb Add test for NoSuchService with unicode characters
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-12 13:57:40 -08:00
Thomas a7ed1dcbf6 Fix unicode error - python2
If the name of a container doesn't exist and its name isn't utf-8 encoded you receive a stacktrace

Signed-off-by: Thomas <thomas@9bitbyte.com>
2018-01-13 06:52:09 +11:00
Joffrey F d63500a191 Move priority option to service network reference
Add ordering to networks.get_networks
Fix priority test

Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-11 18:48:56 -08:00
Zal Daroga 4839baf877 Fixed python34 comparison issue
Signed-off-by: Zal Daroga <zaldaroga@yahoo.com>
2018-01-11 17:29:29 -08:00
Zal Daroga 55ee95b6d0 Fixed network priorities. Resolves #5042
Signed-off-by: Zal Daroga <zaldaroga@yahoo.com>
2018-01-11 17:29:29 -08:00
Zal Daroga f50e1a8c2d Added prioritization of networks
Signed-off-by: Zal Daroga <zaldaroga@yahoo.com>
2018-01-11 17:29:29 -08:00
Joffrey F 9aa9758819
Merge pull request #5565 from docker/5310-revert-5435
Revert -d/--timeout exclusion
2018-01-11 13:57:04 -08:00