Add --enable-execute-command support (requires an aws-sdk-go version bump) #1135
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support for boolean EnableExecuteCommand flag when using
ecs-cli compose service
commands.Modeled on how support for ForceNewDeployment was added way back in the olden days.
Addresses #1133
I wanted to use this flag to update some existing tasks and services, so I did my best to implement it, despite not being a golang expert. I included tests for the new functionality.
The required aws-sdk-go version bump led me to regenerate mocks, revendor, update Gopkg.toml, and run
dep ensure
.make
andmake docker-build
run successfuly on my dev machine.make docker-test
comes back with no failures.I used the generated binary to do some 'compose service create' and 'compose service up' actions, and it worked!
Hope this is a useful effort!
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Documentation
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.