Commit Graph

5540 Commits

Author SHA1 Message Date
Ulysses Souza 186aa6e5c3
Merge pull request #6914 from lukas9393/6913-progress-arg
Fix --progress arg when run docker-compose build
2019-10-07 12:28:49 +02:00
Guillaume LOURS bc57a1bd54
Merge pull request #6925 from ulyssessouza/fix-secrets-warning-message
Fix secret missing warning
2019-09-27 10:51:37 +02:00
ulyssessouza eca358e2f0 Fix secret missing warning
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
2019-09-27 09:10:49 +02:00
Lukas Hettwer 32ac6edb86
Fix --progress arg when run docker-compose build
--progress is no longer processed as flag but as argument with value.

Signed-off-by: Lukas Hettwer <lukas.hettwer@aboutyou.de>

Resolve: [#6913]
2019-09-24 16:02:12 +02:00
Dimitar Dimitrov 475f8199f7 Fixing features broken link
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@docker.com>
2019-09-24 13:31:30 +03:00
Zuhayr Elahi 98d7cc8d0c
ADDED a stage for executing License Scans
Signed-off-by: Zuhayr Elahi <elahi.zuhayr@gmail.com>
2019-09-13 14:25:06 -07:00
Ulysses Souza d7c7e21921
Merge pull request #6131 from sagarafr/fix-5920-missing-secret-message
Add a warning message to secret file
2019-09-09 17:45:08 +02:00
Ulysses Souza 70ead597d2 Add tests to 'get_secret' warnings
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-09-09 10:04:05 +02:00
Marian Gappa b9092cacdb Fix missing secret error message
Add a warning message when the secret file doesn't exist

Fixes #5920

Signed-off-by: Marian Gappa <marian.gappa@gmail.com>
2019-09-09 10:04:05 +02:00
Silvin Lubecki 1566930a70
Merge pull request #6862 from deathtracktor/master
Fix KeyError when remote network labels are None.
2019-09-06 11:13:48 +02:00
Danil Kister a5fbf91b72 Prevent KeyError when remote network labels are None.
Signed-off-by: Danil Kister <danil.kister@gmail.com>
2019-09-05 21:36:10 +02:00
Ulysses Souza ecf03fe280
Merge pull request #6882 from ulyssessouza/fix_attach_restarting_container
Fix race condition on watch_events
2019-09-05 16:46:14 +02:00
Ulysses Souza 47d170b06a Fix race condition on watch_events
Avoid to attach to restarting containers and ignore
race conditions when trying to attach to already
dead containers

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-09-04 17:55:05 +02:00
Chris Crone 9973f051ba
Merge pull request #6878 from ulyssessouza/bump-debian
Bump runtime debian
2019-08-30 16:42:56 +02:00
Ulysses Souza 2199278b44
Merge pull request #6865 from ulyssessouza/support-cli-build
Add support to CLI build
2019-08-30 13:46:21 +02:00
Ulysses Souza 5add9192ac Rename envvar switch to COMPOSE_DOCKER_CLI_BUILD
From `COMPOSE_NATIVE_BUILDER` to `COMPOSE_DOCKER_CLI_BUILD`

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-08-30 12:11:09 +02:00
Ulysses Souza 0c6fce271e Bump runtime debian
From `stretch-20190708-slim` to `stretch-20190812-slim`

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-08-29 17:45:21 +02:00
Ulysses Souza 9d7ad3bac1 Add comment on native build and fix typo
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-08-29 16:30:50 +02:00
Nao YONASHIRO 719a1b0581 fix: use subprocess32 for python2
Signed-off-by: Nao YONASHIRO <yonashiro@r.recruit.co.jp>
2019-08-29 14:21:19 +02:00
Ulysses Souza bbdb3cab88 Add integration tests to native builder
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-08-29 09:31:16 +02:00
Ulysses Souza ee8ca5d6f8 Rephrase warnings when building with the cli
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-08-28 17:24:15 +02:00
Nao YONASHIRO 15e8edca3c feat: add a warning if someone uses the --compress or --parallel flag
Signed-off-by: Nao YONASHIRO <yonashiro@r.recruit.co.jp>
2019-08-28 17:24:15 +02:00
Nao YONASHIRO 81e223d499 feat: add --progress flag
Signed-off-by: Nao YONASHIRO <yonashiro@r.recruit.co.jp>
2019-08-28 17:24:14 +02:00
Nao YONASHIRO 862a13b8f3 fix: add build flags
Signed-off-by: Nao YONASHIRO <yonashiro@r.recruit.co.jp>
2019-08-28 17:24:14 +02:00
Nao YONASHIRO cacbcccc0c Add support to CLI build
This includes can be enabled by setting the env var
`COMPOSE_NATIVE_BUILDER=1`.

Signed-off-by: Nao YONASHIRO <yonashiro@r.recruit.co.jp>

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-08-28 17:24:14 +02:00
Samuel Searles-Bryant 672ced8742 Change Formatter.table method to staticmethod
Make this a staticmethod so it's easier to use without needing to init a
Formatter object first.

Signed-off-by: Samuel Searles-Bryant <samuel.searles-bryant@unipart.io>
2019-08-22 14:25:15 +01:00
Djordje Lukic 4cfa622de8
Merge pull request #6631 from chibby0ne/update_jsonschema_dependency
requirements: update jsonschema dependency
2019-08-22 12:54:48 +02:00
Ulysses Souza 525bc9ef7a
Merge pull request #6856 from aiordache/bump-alpine
update alpine version to 3.10.1
2019-08-21 15:49:14 +02:00
aiordache 60dcf87cc0 update alpine version to 3.10.1
Signed-off-by: aiordache <anca.iordache@docker.com>
2019-08-20 12:10:26 +02:00
Ulysses Souza 2c668e237d
Merge pull request #6835 from docker/bump-1.25.0-rc2
Bump 1.25.0-rc2
2019-08-07 15:03:32 +02:00
Ulysses Souza 661ac20e5d "Bump 1.25.0-rc2"
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-08-06 15:28:46 +02:00
Ulysses Souza ab93b87f04 Merge remote-tracking branch 'upstream/release' into bump-1.25.0-rc2 2019-08-06 15:05:08 +02:00
Jean-Christophe Sirot cf3c07d6ee
Merge pull request #6826 from ulyssessouza/env_override_integration_test
Add integration tests regarding environment
2019-07-31 14:15:53 +02:00
Ulysses Souza b03889ac2a Add integration tests regarding environment
This covers what was included in #6800

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-07-31 02:09:41 +02:00
Antonio Gutierrez 66856e884c
requirements: update jsonschema dependency
Fixes: https://github.com/docker/compose/issues/6347

Signed-off-by: Antonio Gutierrez <chibby0ne@gmail.com>
2019-07-27 21:43:40 +02:00
Djordje Lukic 7a7c9ff67a
Merge pull request #6800 from KlaasH/revise-env-file-option
Make '--env-file' option top-level only and fix failure with subcommands
2019-07-25 12:15:11 +02:00
Klaas Hoekema 413e5db7b3 Add shell completions for --env-file option
Adds completions for the --env-file toplevel option to the bash, fish,
and zsh completions files.

Signed-off-by: Klaas Hoekema <khoekema@azavea.com>
2019-07-24 09:25:10 -04:00
Klaas Hoekema 69c0683bfe Pass toplevel_environment to run_one_off_container
Instead of passing `project_dir` from `TopLevelCommand.run` to
`run_one_off_container` then using it there to load the toplevel
environment (duplicating the logic that `TopLevelCommand.toplevel_environment`
encapsulates), pass the Environment object.

Signed-off-by: Klaas Hoekema <khoekema@azavea.com>
2019-07-24 09:25:10 -04:00
Klaas Hoekema 088a798e7a Fix typo in 'split_env' error message
Signed-off-by: Klaas Hoekema <khoekema@azavea.com>
2019-07-24 09:25:10 -04:00
Klaas Hoekema 35eb40424c Call TopLevelCommand's environment 'toplevel_environment'
To help prevent confusion between the different meanings and sources
of "environment", rename the method that loads the environment from
the .env or --env-file (i.e. the one that applies at a project level)
to 'toplevel_environment'.

Signed-off-by: Klaas Hoekema <khoekema@azavea.com>
2019-07-24 09:25:05 -04:00
Klaas Hoekema 99464d9c2b Handle environment file override within TopLevelCommand
Several (but not all) of the subcommands are accepting and processing the
`--env-file` option, but only because they need to look for a specific
value in the environment. The work of applying the override makes more
sense as the domain of TopLevelCommand, and moving it there and removing
the option from the subcommands makes things simpler.

Signed-off-by: Klaas Hoekema <khoekema@azavea.com>
2019-07-24 09:24:06 -04:00
Silvin Lubecki cd8e2f870f
Merge pull request #6813 from ulyssessouza/fix_stdin_open
Fix stdin_open when running docker-compose run
2019-07-24 11:20:20 +02:00
Ulysses Souza c641ea08ae Fix stdin_open when running docker-compose run
This fix makes sure that stdin_open specified in the service
is considering when shelling out to the CLI

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-07-22 17:27:10 +02:00
Jean-Christophe Sirot d285ba6aee
Merge pull request #6803 from ulyssessouza/pin-image-tags
Pin test images on a non rolling tag
2019-07-19 16:35:22 +02:00
Ulysses Souza cd098e0cad Pin test images on a non rolling tag
Mainly busybox:latest to the current latest which is 1.31.0-uclibc

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-07-18 11:10:37 +02:00
Djordje Lukic d212fe68a6
Merge pull request #6728 from albers/completion-config--no-interpolate
Add bash completion for `config --no-interpolate`
2019-07-16 11:59:18 +02:00
Djordje Lukic c8279bc4db
Merge pull request #6738 from Inconnu08/set-optimization
Replace sets with set literal syntax for efficiency
2019-07-15 15:23:24 +02:00
Djordje Lukic 61aa2e346e
Merge pull request #6797 from chris-crone/macos-bump-python-3.7.4
Bump macOS build dependency
2019-07-15 10:33:45 +02:00
Djordje Lukic 98932e9cb4
Merge pull request #6754 from Goryudyuma/6740-fix-display
fix: The correct number is displayed
2019-07-15 10:30:59 +02:00
Goryudyuma 59491c7d77
add: test for units
Signed-off-by: Kei Matsumoto <umaretekyoumade@gmail.com>
2019-07-14 04:31:16 +09:00