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 more subtleties about local testing and docker in Contributing docs page #648

Open
emiliom opened this issue Apr 25, 2022 · 0 comments · Fixed by #651
Open

Add more subtleties about local testing and docker in Contributing docs page #648

emiliom opened this issue Apr 25, 2022 · 0 comments · Fixed by #651
Assignees
Labels

Comments

@emiliom
Copy link
Collaborator

emiliom commented Apr 25, 2022

See https://echopype.readthedocs.io/en/stable/contributing.html#running-the-tests

  • setup-services.py --deploy creates a fresh new image every time it's run
  • To reuse a stopped an echopype tests:
    # see all the stopped containers
    docker ps -a
    # (re)start an existing docker container
    docker start <container id>
  • setup-services.py --tear-down doesn't remove the docker image and volume that were created
  • It's good to clean up your docker system time to time using docker system prune. They can take up a lot of space and potentially cause problems (we may have run into an issue with minio and the number of docker volumes).

cc @lsetiawan

@emiliom emiliom added the docs label Apr 25, 2022
@emiliom emiliom self-assigned this Apr 25, 2022
@leewujung leewujung moved this to Todo in Echopype Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant