Commit Graph

1236 Commits

Author SHA1 Message Date
Guillaume Tardif d6c8039562
Merge pull request #533 from docker/more_ecs_e2e
More ECS E2E tests (secrets), in // of compose
2020-08-21 16:38:19 +02:00
Guillaume Tardif d85d963705
Merge pull request #534 from docker/interupt
Poll ECS logs until context is canceled
2020-08-21 16:20:36 +02:00
Nicolas De Loof 1b43e0c1d6
Poll ECS logs until context is canceled
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-21 16:03:49 +02:00
Guillaume Tardif e05603a5ca More ECS E2E tests (secrets), in // of compose
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 15:56:00 +02:00
Guillaume Tardif 69ce33321f
Merge pull request #528 from docker/secrets
Secrets
2020-08-21 14:52:36 +02:00
Guillaume Tardif 4c3b563182 ECS context type is not for delegation to Moby !
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 14:32:46 +02:00
Nicolas De Loof 32adf3e4e6
Introduce `secret` management command and ECS implementation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-21 13:56:52 +02:00
Guillaume Tardif 92025607c7
Merge pull request #517 from docker/acr_fix
Acr : do not require refresh token, and work fine with Service Principal Login
2020-08-21 12:52:25 +02:00
Guillaume Tardif 0f4d766f19 Revert "Add E2E test on deploying ACR images"
This reverts commit 5cab129c10.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 12:45:01 +02:00
Guillaume Tardif dc1e313858 Revert "Debug for CI failing tests (green locally)"
This reverts commit 1d875674357c7c5a5c26349f62c6f2ef71f74e38.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 12:45:01 +02:00
Guillaume Tardif a8548de5dd Debug for CI failing tests (green locally)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 12:44:41 +02:00
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