Commit Graph

1911 Commits

Author SHA1 Message Date
Nicolas De loof e9d20d512a
Merge pull request #989 from docker/build_command
introduce `compose build` command
2020-11-30 13:06:38 +01:00
Nicolas De Loof 5952183eca
introduce `compose build` command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-30 12:43:38 +01:00
Djordje Lukic 1148ed8837 Add platform when running containers
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-11-30 11:51:46 +01:00
Guillaume Tardif ab41285a07
Merge pull request #980 from docker/by_service
filter compose project to remove all services not required by command
2020-11-30 10:59:17 +01:00
Guillaume Tardif 96d21fe448
Merge pull request #983 from docker/refactor_progress_events
Refactor progress events
2020-11-30 10:58:30 +01:00
Nicolas De Loof b1a4dfd659
filter compose project to remove all services not required by command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-30 10:46:11 +01:00
Guillame Tardif fd54682109 Display “Creating”, not “Creating...”
Signed-off-by: Guillame Tardif <guillaume.tardif@gmail.com>
2020-11-27 18:21:22 +01:00
Guillame Tardif 4d1f265c62 Adding error progress indication when errors
Signed-off-by: Guillame Tardif <guillaume.tardif@gmail.com>
2020-11-27 18:18:14 +01:00
Guillame Tardif 7ddd8e5e97 Helper methods to create progress events, more homogeneous display for “creating”, “Created”, …
Signed-off-by: Guillame Tardif <guillaume.tardif@gmail.com>
2020-11-27 17:55:36 +01:00
Guillaume Tardif f1565a52b2
Merge pull request #982 from gtardif/compose_down_networks
Remove project network on compose down
2020-11-27 17:49:37 +01:00
Guillame Tardif 8b60c76684 Remove project network on compose down
Signed-off-by: Guillame Tardif <guillaume.tardif@gmail.com>
2020-11-27 17:42:29 +01:00
Guillaume Tardif 9b140930a7
Merge pull request #979 from docker/console
Don't start buildx' build with empty opts
2020-11-27 14:54:39 +01:00
Nicolas De loof e94646f56a
Merge pull request #978 from gtardif/fix_compose_up_display
Ensure images are pulled/build with build first, before creating networks / volumes.
2020-11-27 14:32:50 +01:00
Nicolas De Loof a542b5d37f
Don't start buildx' build with empty opts
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-27 14:18:06 +01:00
Guillame Tardif bc9099de9b Ensure images are pulled/build with build first, before creating networks / volumes and starting containers.
Will also avoid mixing build output and compose-cli progress display

Signed-off-by: Guillame Tardif <guillaume.tardif@gmail.com>
2020-11-27 13:52:58 +01:00
Nicolas De loof c0805464f5
Merge pull request #976 from docker/volume_labels
Volume labels
2020-11-27 12:15:38 +01:00
Nicolas De Loof b42b61e307
rename method for clarity
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-27 12:05:57 +01:00
Nicolas De Loof 3ff6923d2e
align coding-style with network labels
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-27 10:51:58 +01:00
Nicolas De Loof 49e653f142
unused context parameter
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-27 10:29:08 +01:00
Nicolas De Loof f65a0d3720
Create volume with labels
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-27 10:21:36 +01:00
Nicolas De Loof 646aca82d9
composeService to rely on apiClient
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-27 10:21:36 +01:00
Nicolas De loof a60b008819
Merge pull request #973 from gtardif/compose_name_workingDir
Latest compose-go, keeping “-“ in project names derived from workingDir
2020-11-27 09:38:27 +01:00
Guillaume Tardif 3c073b51a2 Latest compose-go, keeping “-“ in project names derived from workingDir
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-27 09:13:05 +01:00
Guillaume Tardif de3b6cb450 Add compose labels for composefiles
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-26 17:13:24 +00:00
Nicolas De loof f7905efc36
Merge pull request #960 from docker/build 2020-11-26 17:58:22 +01:00
Nicolas De loof 775c46084c
Merge pull request #969 from gtardif/compose-network_labels
Add compose labels for network
2020-11-26 16:28:52 +01:00
Guillaume Tardif efdf80ebb8
Merge pull request #962 from gtardif/fix_panic_terminal_size_debug
Avoid panic in some weird cases (debug in VSCode for example)
2020-11-26 16:00:20 +01:00
Guillaume Tardif e441fbba5a Add compose labels for network
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-26 15:45:25 +01:00
Nicolas De Loof 1e2f0c75c5
fix path to build context
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-26 14:22:45 +01:00
Nicolas De Loof 0f4bcb9f17
Build and pull in parallel with BuildKit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-26 14:11:40 +01:00
Nicolas De Loof a0b609a5dd
implement service image build by BuildKit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-26 14:07:53 +01:00
Guillaume Tardif 426b333dd8
Merge pull request #961 from gtardif/compose_container_labels
Add container labels to improve compatibility with docker-compose
2020-11-25 18:14:18 +01:00
Guillaume Tardif f997d7a128 Avoid panic in some weird cases (debug in VSCode for example)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-25 18:07:22 +01:00
Guillaume Tardif 24328c4620 Add container labels to improve compatibility with docker-compose
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-25 17:53:12 +01:00
Nicolas De loof 9e1de51f82
Merge pull request #956 from docker/fix-port-collision
Avoid port collision with compose up test
2020-11-24 18:20:41 +01:00
Guillaume Tardif a80998e0b2
Merge pull request #958 from docker/bump-azure-go-sdk
Bump `azure-sdk-for-go`: v43.3.0 -> v48.2.0
2020-11-24 16:06:54 +01:00
Ulysses Souza fe566d24e6 Bump `azure-sdk-for-go`: v43.3.0 -> v48.2.0
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-11-24 11:48:26 -03:00
Ulysses Souza 794a182bdd Avoid port collision with compose up test
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-11-24 11:10:17 -03:00
Nicolas De loof b473c6db63
Merge pull request #959 from docker/update-make-pre-commit
Update `make pre-commit` with more checks
2020-11-24 10:00:39 +01:00
Nicolas De loof 3c8938dc76
Merge pull request #955 from docker/bump-deps 2020-11-24 09:00:21 +01:00
Nicolas De loof bdde820989
Merge pull request #957 from docker/linter-dependencies-local
Fix some linter issues when running `make lint`
2020-11-24 09:00:04 +01:00
Ulysses Souza 1ecf8b5c5b Update `make pre-commit` with more checks
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-11-23 18:37:13 -03:00
Ulysses Souza 8f8b97d031 Fix linter issues when running `make lint`
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-11-23 17:05:40 -03:00
Chris Crone 03e95839c8 deps: Update Go modules, remove duplicate
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-23 15:03:03 +01:00
Chris Crone 7a740aebf5 deps: Bump Go and golangci-lint
* Go to 1.15.5
* golangci-lint 1.33.0

Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-23 15:01:02 +01:00
Guillaume Tardif 97560f8ffc
Merge pull request #953 from docker/windows_e2e_docker_logout
On GH Actions windows nodes, ensure there is no automatic docker login before running ACI E2E tests
2020-11-23 14:56:00 +01:00
Guillaume Tardif 1f8fbe5f11 On GH Actions windows nodes, ensure there is no automatic docker login before running ACI E2E tests
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-23 14:32:49 +01:00
Nicolas De loof e984f76544
Merge pull request #948 from docker/fix-compose-pull 2020-11-23 10:05:38 +01:00
Djordje Lukic 5ffdaa5cca Use json progress message
It contains the same output that `docker pull` shows

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-11-23 10:00:13 +01:00
Guillaume Tardif 8d7f213ba8
Merge pull request #886 from docker/auto-create-aci-fileshare
Add auto creation of fileshares
2020-11-23 09:31:57 +01:00