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

Local Test Environment with Docker Compose #445

Closed
wants to merge 2 commits into from
Closed

Local Test Environment with Docker Compose #445

wants to merge 2 commits into from

Conversation

44203
Copy link
Contributor

@44203 44203 commented Sep 18, 2017

This PR includes a Dockerfile.dev and docker-compose.yml configured to give folks who want to hack on Tahoe-LAFS the option to stand up a minimal test environment by cloning the repository and simply running:

docker-compose up

The environment does the following:

  • Create and run an introducer
  • Create and run a storage server configured to connect to the introducer via docker's virtual network
  • Create and run a client configured to connect to both of the above via docker's virtual network
  • Publish ports for all three to the host
  • Volume mount the repository on the host to the containers so changes are reflected

tahoe

@codecov-io
Copy link

codecov-io commented Sep 19, 2017

Codecov Report

Merging #445 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #445      +/-   ##
==========================================
- Coverage   87.98%   87.98%   -0.01%     
==========================================
  Files         148      148              
  Lines       27557    27557              
  Branches     3953     3953              
==========================================
- Hits        24247    24245       -2     
- Misses       2602     2604       +2     
  Partials      708      708
Impacted Files Coverage Δ
src/allmydata/immutable/upload.py 95.25% <0%> (-0.28%) ⬇️
src/allmydata/web/status.py 82.86% <0%> (+0.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5483c86...23cd10b. Read the comment docs.

@warner
Copy link
Member

warner commented Sep 19, 2017

Looks good! Landing (in rebased form) momentarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants