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

Add stack volume support #355

Merged
merged 1 commit into from
Oct 20, 2016
Merged

Add stack volume support #355

merged 1 commit into from
Oct 20, 2016

Conversation

freignat91
Copy link
Contributor

@freignat91 freignat91 commented Oct 20, 2016

related to Engage team request: #354

add volume management in stack file

test:

  • make install
    • ./swarm start

test 1: create service with internal volume

  • amp stack up test1 -f api/rpc/stack/test_samples/sample-14.yml
  • docker ps | grep test1.pinger -> get the id
  • docker exec -it [id] sh
  • cd /tmp2 : to verify that we well have a dir /tmp2 in the container created by the volume

test 2: create service with volume linked to host directory

  • amp stack up test2 -f api/rpc/stack/test_samples/sample-15.yml
  • docker ps | grep test2.pinger -> get the id
  • docker exec -it [id] sh
  • ls /tmp2 : list the host /tmp files

test 3: create service with a named volume

  • amp stack up test3 -f api/rpc/stack/test_samples/sample-16.yml
  • docker volume ls -> show "myvolume" in the list
  • docker ps | grep test3.pinger -> get the id
  • docker exec -it [id] sh
  • cd /tmp2 : to verify that we well have a dir /tmp2 in the container created by the volume

@freignat91 freignat91 changed the title add stack volumes Engage: add stack volumes Oct 20, 2016
Copy link
Contributor

@generalhenry generalhenry left a comment

Choose a reason for hiding this comment

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

Tested locally

@generalhenry generalhenry merged commit 9e1adb7 into master Oct 20, 2016
@generalhenry generalhenry deleted the stack_volumes branch October 20, 2016 20:22
@subfuzion subfuzion restored the stack_volumes branch October 20, 2016 20:22
@subfuzion subfuzion changed the title Engage: add stack volumes Add stack volume support Oct 20, 2016
@bquenin bquenin deleted the stack_volumes branch October 24, 2016 12:41
@subfuzion subfuzion added this to the 0.2.1 milestone Oct 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants