Commit Graph

5514 Commits

Author SHA1 Message Date
Christopher Crone 133df63108 Add built Python smoke test to macOS setup script
Prior to this smoke test, the macOS setup step wouldn't fail if the
Python that it built wasn't functional. This will make debugging Python
build issues easier in the future.

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-02-21 16:21:09 +01:00
Christopher Crone dbc229dc37 Fix macOS build for Python 3.7
- Specify --with-openssl directory for Python build
- Better checks for downloaded SDK, OpenSSL, and Python
- Fix missing slash for Python build CPPFLAGS

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-02-21 13:57:25 +01:00
Ulysses Souza bb0bd3b26b Harmonize tox and virtualenv versions
- Set all tox versions to 2.9.1
- Set all virtualenv version to 16.2.0

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-02-21 13:56:45 +01:00
Ulysses Souza a734371e7f Bump python version from 3.6.8 to 3.7.2
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-02-21 13:56:45 +01:00
Chris Crone 768c788da9
Merge pull request #6504 from docker/mac-bump-openssl
Bump OpenSSL for macOS build
2019-02-21 11:50:24 +01:00
Ulysses Souza aee88e21bf
Merge pull request #6529 from ulyssessouza/rm-option
Add --no-rm to command build
2019-02-20 18:33:29 +01:00
Ulysses Souza a35aef4953 Add --no-rm to command build
- When present, build does not remove
intermediate containers after a successful build.

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-02-20 18:09:09 +01:00
Christopher Crone fbbf78d3da macOS: Bump OpenSSL to 1.1.1a
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-02-20 15:59:41 +01:00
Chris Crone a65b3cd758
Merge pull request #6503 from docker/mac-virtualenv-fix
Force virtualenv version for macOS CI
2019-02-20 15:59:13 +01:00
Chris Crone 4813689c9e
Merge pull request #6514 from albers/completion-fix-build--memory
Fix bash completion for `build --memory`
2019-02-20 15:48:15 +01:00
Harald Albers 436a343a18 Fix bash completion for `build --memory`
- the option requires an argument
- adds missing short form `-m`

Signed-off-by: Harald Albers <github@albersweb.de>
2019-02-11 13:50:41 +01:00
Christopher Crone d9ffec4002 circleci: Fix virtualenv version to 16.2.0
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-02-05 12:13:19 +01:00
Chris Crone 3cddd1b670
Merge pull request #6501 from chris-crone/build-fixes
Various build fixes
2019-02-05 11:41:29 +01:00
Ulysses Souza c8a621b637 Fix Flake8 lint
This removes extra indentation and replace the use of `is` by `==` when
comparing strings

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-02-05 11:11:52 +01:00
Christopher Crone f472fd545b Dockerfile: Force version of virtualenv to 16.2.0
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-02-05 10:51:33 +01:00
Christopher Crone f1f0894c1b script.build.linux: Do not tail image build logs
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-02-05 10:50:55 +01:00
Christopher Crone b572b32999 requirements-dev: Fix version of mock to 2.0.0
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-02-05 10:50:25 +01:00
Christopher Crone 8ad4c08109 macOS: Bump Python and OpenSSL
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-02-05 10:40:03 +01:00
Collins Abitekaniza c27132afad remove stopped containers on --remove-orphans
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>

kill orphan containers, catch APIError Exception

Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>

test remove orphans with --no-start

Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
2019-01-25 14:28:56 +03:00
Ulysses Souza 9de1f569f3
Merge pull request #6479 from ulyssessouza/shell-completion-parallel
Add `--parallel` to `docker build`'s options in `bash` and `zsh` completion
2019-01-24 15:10:06 +01:00
Ulysses Souza 698ea33b15 Add `--parallel` to `docker build`'s options in `bash` and `zsh` completion
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-01-21 19:13:45 +01:00
Ulysses Domiciano Souza f158fb03e7
Merge pull request #6364 from ulyssessouza/6350-avoid-warning-on-exec
Avoids misleading warning concerning env vars when perfoming an `exec` command
2019-01-21 12:01:31 +01:00
Chris Crone 8f5f7e72be
Merge pull request #6466 from rumpl/credential-spec
Support for credential_spec
2019-01-21 11:03:34 +01:00
Chris Crone 718346f103
Merge pull request #6454 from rumpl/digest-distribution
Resolve digests without pulling image
2019-01-21 11:02:42 +01:00
Djordje Lukic ae0f3c74a0 Support for credential_spec
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-01-17 16:00:22 +01:00
Chris Crone e40eaa5df6
Merge pull request #6461 from albers/completion-ps--all
Add bash completion for `ps --all|-a`
2019-01-16 22:08:35 +01:00
Djordje Lukic 0c20fc5d91 Resolve digests without pulling image
If there is no image locally `docker-compose --resolve-image-digests`
will try and get the digest from the repository.

Fixes https://github.com/docker/compose/issues/5818

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-01-15 14:24:26 +01:00
Chris Crone d5d49a8e29
Merge pull request #6460 from shin-/maintainers_update
Update maintainers file
2019-01-15 12:56:21 +01:00
Harald Albers 14a1a0c020 Add bash completion for `ps --all|-a`
Signed-off-by: Harald Albers <github@albersweb.de>
2019-01-15 09:01:49 +01:00
Joffrey F 6933435004 Update maintainers file
Signed-off-by: Joffrey F <joffrey@docker.com>
2019-01-14 15:22:12 -08:00
Djordje Lukic 82db4fd4f2
Merge pull request #6455 from docker/bump-1.24.0-rc1
Bump 1.24.0-rc1
2019-01-14 17:54:34 +01:00
Djordje Lukic 0f3d4ddaa7 "Bump 1.24.0-rc1"
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-01-11 18:28:30 +01:00
Djordje Lukic 2007951731 "Bump 1.24.0-rc1"
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-01-11 17:57:05 +01:00
Djordje Lukic 60f8ce09f9 "Bump 1.24.0-rc1"
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-01-11 17:43:47 +01:00
Joffrey F cf96fcb4af
Merge pull request #6452 from docker/collin5-b6446
Fix failure check in parallel_execute_watch
2019-01-10 17:55:33 -08:00
Joffrey F bcccac69fa
Merge pull request #6444 from qboot/master
Upgrade pyyaml to 4.2b1
2019-01-10 16:31:29 -08:00
Joffrey F 2ec7615ed6
Merge pull request #6448 from smueller18/race-condition-pull
fix race condition after pulling image
2019-01-10 15:53:07 -08:00
Joffrey F 2ed171cae9 Bring zero container check up in the call stack
Signed-off-by: Joffrey F <joffrey@docker.com>
2019-01-10 15:48:37 -08:00
Collins Abitekaniza 325637d9d5 test image pull done
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
2019-01-10 15:48:37 -08:00
Collins Abitekaniza bab8b3985e check for started containers only on service_start
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
2019-01-10 15:48:37 -08:00
Joffrey F 532d00fede
Merge pull request #6451 from docker/bump_sdk
Bump SDK version -> 3.7.0
2019-01-10 14:52:48 -08:00
Joffrey F ab0a0d69d9 Bump SDK version -> 3.7.0
Signed-off-by: Joffrey F <joffrey@docker.com>
2019-01-10 14:25:20 -08:00
Stephan Müller 56fbd22825
fix race condition after pulling image
Signed-off-by: Stephan Müller <mail@stephanmueller.eu>
2019-01-09 23:14:12 +01:00
Quentin Brunet 8419a670ae Upgrade pyyaml to 4.2b1
Signed-off-by: Quentin Brunet <hello@quentinbrunet.com>
2019-01-08 14:19:57 +01:00
Joffrey F 4bd93b95a9
Merge pull request #6406 from collin5/b5948
Error on duplicate mount points.
2019-01-02 10:11:50 -08:00
Collins Abitekaniza 47ff8d710c test create from config with duplicate mount points
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
2019-01-02 17:51:22 +03:00
Collins Abitekaniza d980d170a6 error on duplicate mount points
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
2019-01-02 17:34:26 +03:00
Joffrey F f9061720b5
Merge pull request #6434 from docker/and800-master
Lower severity to "warning" if `down` tries to remove nonexisting image
2018-12-28 14:25:33 -08:00
Andriy Maletsky 01eb4b6250 Lower severity to "warning" if `down` tries to remove nonexisting image
Signed-off-by: Andriy Maletsky <andriy.maletsky@gmail.com>
2018-12-28 13:21:23 -08:00
Ulysses Souza f4ed9b2ef5 Detects the execution on an`exec` command and sets the environment to `silent` mode.
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2018-12-28 02:43:41 +01:00