Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly add --detach to service CLI calls #35007

Merged
merged 2 commits into from
Sep 28, 2017

Conversation

seemethere
Copy link
Contributor

@seemethere seemethere commented Sep 27, 2017

Signed-off-by: Eli Uriegas eli.uriegas@docker.com

- What I did
The behavior of service (create/update/ scale ) was changed in a recent PR
to docker/cli. This commit serves to remedy test failures experienced
when attempting to use service calls.

Should not affect current behavior.

- How I did it

find integration-cli | grep test.go | xargs sed -i.bak 's/"service", "update"/"service", "update", "--detach"/g'
find integration-cli | grep test.go | xargs sed -i.bak 's/"service", "create"/"service", "create", "--detach"/g'

- How to verify it

  • Running integration tests with both the current CLI packaged with moby and the master CLI

- Description for the changelog

  • Change service (create/update/scale) tests to include --detach flags

- A picture of a cute animal (not mandatory but encouraged)
Bird with arms

The behavior of service (create/update/scale) was changed in a recent PR
to docker/cli. This commit serves to remedy test failures experienced
when attempting to use service calls.

Should not affect current behavior.

Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
@seemethere
Copy link
Contributor Author

Relates to: docker/cli#525

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seemethere
Copy link
Contributor Author

Also related: docker-archive/docker-ce#255 (for testing purposes)

@vieux
Copy link
Contributor

vieux commented Sep 27, 2017

LGTM

Copy link
Member

@andrewhsu andrewhsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM when tests go green

@andrewhsu
Copy link
Member

@seemethere fyi we'll need to adjust the PR to not have --detach for scale. i think @vieux is taking care of that now and will update the commit

Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐮

@vdemeester vdemeester merged commit 5a48410 into moby:master Sep 28, 2017
@dnephin
Copy link
Member

dnephin commented Sep 28, 2017

Thanks for making this change.

@seemethere seemethere deleted the fix_service_detach_tests branch February 6, 2019 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants