| Commit message (Collapse) | Author | Age |
|
|
|
| |
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
|
|\
| |
| | |
Add init container support
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #6855
See https://github.com/compose-spec/compose-spec/pull/134
Signed-off-by: Slava Kardakov <ojab@ojab.ru>
|
| |
| |
| |
| | |
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
|
|\ \
| | |
| | | |
Use built-in functools.cached_property when possible
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The cached_property decorator is built-in in functools module since
Python 3.8. Use the external cached_property package only for older
versions of Python.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
| |
| |
| |
| | |
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
|
|/
|
|
|
|
|
|
| |
Look up compose files in project dir as fallback to no compose file in current working directory
Update config and env-file tests
- get_default_config does not raise error anymore, returns None if no compose file is found
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|\
| |
| | |
Remove duplicate values check for build.cache_from
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `docker` command accepts duplicate values, so there is no benefit to
performing this check.
Fixes #7342.
Signed-off-by: Mark Gallagher <mark@fts.scot>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changes compose to use "native" build through the CLI
by default. With this, docker-compose can take advantage of
BuildKit (which is now enabled by default on Docker Desktop
2.5 and up).
Users that want to use the python client for building can
opt-out of this feature by setting COMPOSE_DOCKER_CLI_BUILD=0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
|\ \
| | |
| | | |
Report which variable fails interpolation when they are mandatory
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add default value before raising UnsetRequiredSubstitution
Signed-off-by: Luca Nardelli <luca.nardelli@protonmail.com>
|
|\ \ \
| | | |
| | | | |
Bring back warning for configs in non-swarm mode
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|\ \ \ \
| | | | |
| | | | | |
Implement service profiles
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Implement profiles as introduced in compose-spec/compose-spec#110
fixes #7919
closes #1896
closes #6742
closes #7539
Signed-off-by: Roman Anasal <roman.anasal@bdsu.de>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
* add unit test
* update path to compose spec schema in Makefile
Signed-off-by: aiordache <anca.iordache@docker.com>
|
| |/
|/|
| |
| | |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|/
|
|
| |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: Kevin Clark <kclark@edustaff.org>
|
|\
| |
| | |
Preserve the version when specified in the file
|
| |
| |
| |
| | |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|/
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
|
|
| |
Bump docker-py version to 4.3.1
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes: #6890
Some remarks,
- `# coding ... utf-8` statements are not needed
- isdigit on strings instead of a try-catch.
- Default opening mode is read, so we can do `open()` without the `'r'` everywhere
- Removed inheritinng from `object` class, it isn't necessary in python3.
- `super(ClassName, self)` can now be replaced with `super()`
- Use of itertools and `chain` on a couple places dealing with sets.
- Used the operator module instead of lambdas when warranted
`itemgetter(0)` instead of `lambda x: x[0]`
`attrgetter('name')` instead of `lambda x: x.name`
- `sorted` returns a list, so no need to use `list(sorted(...))`
- Removed `dict()` using dictionary comprehensions whenever possible
- Attempted to remove python3.2 support
Signed-off-by: alexrecuenco <alejandrogonzalezrecuenco@gmail.com>
|
|
|
|
| |
Signed-off-by: Vitor Anjos <vitorbartier@hotmail.com>
|
|
|
|
| |
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
|
|
|
|
|
|
| |
Closes: #6890
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
|
|
|
|
| |
Signed-off-by: Joe Hattori <joe2ninja21@gmail.com>
|
|\
| |
| | |
Properly escape values coming from env_files, fixes #6871
|
| |
| |
| |
| | |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Florian Apolloner <florian@apolloner.eu>
|
| |
| |
| |
| | |
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
|