Commit Graph

1117 Commits

Author SHA1 Message Date
CI GitHub Action 43853c5ea0 Update go.sum after dependabot PR
Signed-off-by: CI GitHub Action <compose-cli-ci@docker.com>
2020-08-21 10:01:44 +00:00
dependabot-preview[bot] 36f3b5cf5c
build(deps): bump github.com/awslabs/goformation/v4
Bumps [github.com/awslabs/goformation/v4](https://github.com/awslabs/goformation) from 4.14.0 to 4.15.0.
- [Release notes](https://github.com/awslabs/goformation/releases)
- [Changelog](https://github.com/awslabs/goformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/awslabs/goformation/compare/v4.14.0...v4.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-21 10:01:13 +00:00
Guillaume Tardif 38f5f8b0ef
Merge pull request #527 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.34.8
build(deps): bump github.com/aws/aws-sdk-go from 1.34.6 to 1.34.8
2020-08-21 11:26:44 +02:00
Guillaume Tardif bff1fa1872
Merge pull request #525 from docker/workingdir
workdir default value is defined by compose file
2020-08-21 10:22:31 +02:00
Guillaume Tardif ad36ef6a6e
Merge pull request #514 from docker/dependabot/go_modules/github.com/Azure/go-autorest/autorest-0.11.4
build(deps): bump github.com/Azure/go-autorest/autorest from 0.11.3 to 0.11.4
2020-08-21 10:09:57 +02:00
Guillaume Tardif e19a740102 Adapt aci compose test reflecting the change.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 09:59:50 +02:00
Guillaume Tardif dc7df90115
Merge pull request #523 from docker/test_triggers
Trigger tests manually with “/“ instead of “@“
2020-08-21 09:49:34 +02:00
Djordje Lukic 35242f89d3
Merge pull request #520 from docker/fix-nil-panic
Return a default implementation when nil
2020-08-20 16:05:40 +02:00
CI GitHub Action 491adb5d2c Update go.sum after dependabot PR
Signed-off-by: CI GitHub Action <compose-cli-ci@docker.com>
2020-08-20 13:56:45 +00:00
dependabot-preview[bot] 7c0c87fb56
build(deps): bump github.com/Azure/go-autorest/autorest
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.3...autorest/v0.11.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-20 13:56:05 +00:00
CI GitHub Action c2c51de95a Update go.sum after dependabot PR
Signed-off-by: CI GitHub Action <compose-cli-ci@docker.com>
2020-08-20 13:55:15 +00:00
dependabot-preview[bot] d019924e57
build(deps): bump github.com/aws/aws-sdk-go from 1.34.6 to 1.34.8
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.6 to 1.34.8.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.6...v1.34.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-20 13:54:39 +00:00
Guillaume Lours 59e77fc05d
Merge pull request #526 from glours/update_dependabot_pusher_name2
CI update dependabot PR - Check that the pusher equal dependabot-prev…
2020-08-20 15:42:45 +02:00
Guillaume Lours c3bf09a986 CI update dependabot PR - Check that the pusher equal dependabot-preview[bot]
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 15:35:20 +02:00
Guillaume Lours 0ffa7fc129
Merge pull request #524 from glours/update_dependabot_pusher_name
CI update dependabot PR - Check that the pusher startWith depandabot-…
2020-08-20 15:29:53 +02:00
Nicolas De Loof 838937c907
workdir default value is defined by compose file
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-20 15:18:03 +02:00
Guillaume Lours 70b3bffaf0 CI update dependabot PR - Check that the pusher startWith depandabot-preview
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 14:41:47 +02:00
Guillaume Lours 789f556876
Merge pull request #519 from glours/update_dependabot_pr
Update dependabot PR to update go.sum file
2020-08-20 14:34:27 +02:00
Djordje Lukic 635ecd7b99 Return a default implementation when nil
Some backends can decide not to implement a whole set of APIs (compose
for example), we now return a default implementation that returns a
`errdefs.ErrNotImplemented` for each action making it easy for the cli
to print a helpful error message. We also remove any possible nil
panics.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-08-20 14:32:03 +02:00
Guillaume Lours 9e5c122f74 Update dependabot PR to update go.sum file
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 14:28:39 +02:00
Guillaume Tardif 666b859f71 Trigger tests manually with “/“ instead of “@“
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-20 12:19:43 +02:00
Guillaume Tardif 2df4112913
Merge pull request #511 from docker/ecs-e2e
First ECS E2E test
2020-08-20 10:57:23 +02:00
Anca Iordache 0d276665f2
Merge pull request #476 from docker/ecs_progress
Make ECS UX consistent with the ACI one
2020-08-20 10:18:35 +02:00
Guillaume Tardif 9b0b1129a6 Build without ecs build flag, not required anymore. Fix context create ecs command not build
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-20 10:11:23 +02:00
Guillaume Tardif d49d4473c3 Allow running ECS E2E tests locally
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-20 09:59:24 +02:00
Nicolas De loof 56979d2ba4
Merge pull request #512 from docker/warn_on_aws_context
Ask to recreate context when running on an `aws` type
2020-08-20 09:33:19 +02:00
Guillaume Tardif 3a83d85d7a First ECS E2E test
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 19:13:23 +02:00
aiordache 6657dd2774 Add error message for aws context
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-19 18:22:07 +02:00
aiordache 44b2b8b21d integrate functionality from ecs-plugin
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-19 17:49:21 +02:00
Guillaume Tardif 23bb628724
Merge pull request #518 from docker/fix_down_cmd
Add progress.Run to down cmd
2020-08-19 17:38:06 +02:00
aiordache fe0cc0d2cc Add progress.Run to down cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-19 16:19:21 +02:00
Guillaume Tardif 2bb5614501
Merge pull request #515 from docker/aci_login_empty
Check that AZURE creds are defined when running E2E tests
2020-08-19 13:40:09 +02:00
Nicolas De loof f5a2c4c663
Merge pull request #516 from docker/ecs-import 2020-08-19 13:33:27 +02:00
Djordje Lukic 464316d4fc
Merge pull request #507 from docker/chore-import-restrictions
Add tool to check inter-dependencies between packages
2020-08-19 12:38:14 +02:00
Djordje Lukic b41d216aaa Add import restrictions check
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-08-19 12:31:30 +02:00
Guillaume Tardif 64dd7a5674 Check that AZURE creds are defined when running E2E tests
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 11:58:02 +02:00
Nicolas De Loof 66e25937c6
Merge remote-tracking branch 'origin/main' into ecs-import
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-19 11:28:31 +02:00
Nicolas De Loof ec4615ae57
Apply linter recommendations
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-19 08:16:19 +02:00
Nicolas De Loof 0a6d7b1c6d
Reduce cyclomatic complexity
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 16:25:26 +02:00
Nicolas De Loof 55a21122d0
Copytight header
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 15:34:40 +02:00
Guillaume Lours c9158a7c37
Merge pull request #509 from glours/add_go_mod_check
Add a script to check if go.mod and go.sum are up-to-date
2020-08-18 15:16:46 +02:00
Guillaume Lours b4e45bf597 Add a script to check if go.mod and go.sum are up-to-date
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-18 14:57:53 +02:00
Guillaume Tardif 8e84e09bdc
Merge pull request #508 from docker/aci_container_status
Aci container status
2020-08-18 14:46:55 +02:00
Guillaume Lours 42be57927a
Merge pull request #504 from glours/add_issue_and_pr_templates
Add issue template, contributing guide and maintainers list
2020-08-18 12:48:27 +02:00
Guillaume Tardif 6ad48b9212 Updated ACI e2e flaky test to avoid failing when https://github.com/docker/desktop-microsoft/issues/49 happens
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-18 12:42:01 +02:00
Guillaume Tardif 87cee4d1e5 Returns `Node <Group_status>` when container group status is available and not container status (instead of `Unknown`)
Impacts output for ps, inspect

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-18 12:42:00 +02:00
Nicolas De Loof 2791542fea
Merge remote-tracking branch 'origin/main' into ecs
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 10:36:17 +02:00
Nicolas De Loof cfbd963c3d
Adjust commands to latest compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 10:01:32 +02:00
Guillaume Lours 8cfcfc8645 Add issue template, Contributing guide and maintainers list
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-18 09:53:57 +02:00
Djordje Lukic c1fbf996a3
Merge pull request #506 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.34.6
build(deps): bump github.com/aws/aws-sdk-go from 1.34.2 to 1.34.6
2020-08-18 09:46:39 +02:00