Commit Graph

1325 Commits

Author SHA1 Message Date
Guillaume Tardif 5a36fb9f5d
Merge pull request #531 from docker/ecs_flaky_test
Fix flakiness in ECS E2E
2020-08-21 12:42:25 +02:00
Guillaume Tardif ffc6581f35
Merge pull request #532 from docker/revert_dependabot_530
Revert dependabot 530
2020-08-21 12:36:30 +02:00
Guillaume Tardif 48c8478f23 Revert "build(deps): bump github.com/awslabs/goformation/v4"
This reverts commit 36f3b5cf5c.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 12:31:00 +02:00
Guillaume Tardif 872e900b35 Revert "Update go.sum after dependabot PR"
This reverts commit 43853c5ea0.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 12:30:38 +02:00
Guillaume Tardif 75436abe75
Merge pull request #530 from docker/dependabot/go_modules/github.com/awslabs/goformation/v4-4.15.0
build(deps): bump github.com/awslabs/goformation/v4 from 4.14.0 to 4.15.0
2020-08-21 12:05:05 +02:00
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 73f5f030ac Fix flakiness in ECS E2E : wait when reaching nginx welcome page, sometimes stack is not fully up and we get 503 errors
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 11:53:01 +02: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 5cab129c10 Add E2E test on deploying ACR images
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 14:31:45 +02:00
Guillaume Tardif 04c678b099 Do not require refresh token to obtain ACR token. Especially this will make the ACR auto-login feature work with Service Principal login, that does not have a refresh token
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 14:31:35 +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