Skip to content

Add support for read_only services in stack deploy#73

Merged
dnephin merged 1 commit intodocker:masterfrom
vdemeester:stack-deploy-support-readonly
May 11, 2017
Merged

Add support for read_only services in stack deploy#73
dnephin merged 1 commit intodocker:masterfrom
vdemeester:stack-deploy-support-readonly

Conversation

@vdemeester
Copy link
Collaborator

The read_only key in a composefile is not taken into account right
now. Now that services support --read-only, so should stack deploy

Ref: moby/moby#32994

🦁

Signed-off-by: Vincent Demeester vincent@sbr.pm

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

apparenty it was already in the compose-file schema 😅

Copy link
Contributor

@dnephin dnephin left a comment

Choose a reason for hiding this comment

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

You'll need to remove it from UnsupportedProperties in cli/compose/types/types.go as well. I guess the tests are still passing because it's just printing a warning.

The `read_only` key in a composefile is not taken into account right
now. Now that services support `--read-only`, so should `stack deploy`

Ref: moby/moby#32994

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
@vdemeester vdemeester force-pushed the stack-deploy-support-readonly branch from e5fac26 to 0ab760a Compare May 11, 2017 15:33
@vdemeester
Copy link
Collaborator Author

@dnephin updated 👼

Copy link
Contributor

@dnephin dnephin 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 green

@diogomonica
Copy link
Contributor

LGTM

@dnephin dnephin merged commit c0cbb65 into docker:master May 11, 2017
@vdemeester vdemeester deleted the stack-deploy-support-readonly branch May 11, 2017 17:56
nobiit pushed a commit to nobidev/docker-cli that referenced this pull request Nov 19, 2025
nobiit pushed a commit to nobidev/docker-cli that referenced this pull request Nov 19, 2025
Remove Ubuntu Zesty
Upstream-commit: f8f8219caef8a92c6c87b92377d476af44d76b7c
Component: packaging
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.

5 participants