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

Major Refactor WIP #61

Merged
merged 16 commits into from
Apr 27, 2019
Merged

Major Refactor WIP #61

merged 16 commits into from
Apr 27, 2019

Conversation

Leopere
Copy link
Collaborator

@Leopere Leopere commented Apr 25, 2019

This refactor PR is a work in progress, @EnigmaCurry, and I are cleaning up this repository now that we've committed ourselves to just doing all of the container orchestration from within this repository rather than getting in the way of others within the LBRY Inc organization.

@Leopere Leopere added type: improvement Existing (or partially existing) functionality needs to be changed help wanted Extra attention is needed level: 3 Significant knowledge of the existing code is recommended type: new feature New functionality that does not exist yet type: refactor Minimal user-visible changes, but significant internal work on hold Temporarily paused priority: blocker Issue is blocking release, do ASAP labels Apr 25, 2019
@Leopere Leopere added this to the 1.0 stable containers milestone Apr 25, 2019
@Leopere Leopere requested a review from tiger5226 April 25, 2019 23:45
@Leopere
Copy link
Collaborator Author

Leopere commented Apr 26, 2019

Depends on updates to this issue referenced #36 (comment)

@tiger5226
Copy link
Contributor

this needs to be squashed something fierce.

image

@Leopere
Copy link
Collaborator Author

Leopere commented Apr 27, 2019

The refactor needs documentation updates and a twice over to ensure that there are no dangling references and a final squash & rebase.

@Leopere
Copy link
Collaborator Author

Leopere commented Apr 27, 2019

I've read through all of the documentation to verify things are copacetic, and I feel that things are relatively concise and functional no dangling URL or tag references I've set up the following repositories to build the docker files within this repository.

https://hub.docker.com/r/lbry/lbrynet
https://hub.docker.com/r/lbry/chainquery
https://hub.docker.com/r/lbry/lbrycrd

There will need to be a huge overhaul of documentation but that's out of scope for this refactor.

Leopere and others added 6 commits April 27, 2019 14:37
Moved data dir and removed traefik label

Moved readme for testnet compose

Adding RUN_MODEs regtest and testnet

Adding advance_blocks.sh into all lbrycrd containers

Adding advance cmd and moved Dockerfile to appropriate dir

Cleanup and moved Dockerfiles

Moved lbrycrd Dockerfiles to appropriate subdirectories and removed.

More moving and deletions

Adding catchall output

Updated default runmode in example

Removed incomplete container directory

This should not be in a production branch at this point now that we have stable containers published.

Removed incomplete container for now

Deleted compile directory and README.md

Cleaning up chainquery

Deleting placeholders

Updated start.sh

Removing superfluous .dockerignores & more

Adjusted start.sh source path

Updated ignores

Updated readme in prep for build tags and ship armhf-prod dir

start.sh's should be recycled when possible.

No sense in code duplication lets try and aim for unification.

Docker prefers WORKDIR over cd

docker prefers WORKDIR over cd
Replaced build with image docker-compose.yml-prod-example

Adjusted paths in volumes

Removed a few more things

healthcheck.sh which can be added later when completed.
renamed the Dockerfile to Dockerfile-x86_64-production

Updated image tag and added RUN_MODE

Updated image and added RUN_MODE

updated tag

Updated tag
Renamed to fit with new nomenclature

Removed directory and renamed/moved Dockerfile

Updated COPY path

Moved docker-compose.yml for Lbrynet
Cleaned up comments a bit

Important notice to users in new comment

Updated compose example for image instead of build

updated paths

Added a step for chainquery-bootstrap setup

Moved and updated lbrycrd's env_file

Created lbrynet env_file

Moved and updated chainquery's env_file

Moved and updated lbrynet's compose file

More Cleanup

Added TODO's for checkmount.sh

Renamed compiler

Renamed production container

Final rename

fixup

fixup

Updated README refs

Just readability improvements

Packing directories with the repo

Git won't track empty directories but if you take the path of running these containers locally from within this repo you should have this directory.

Updated image refs to final production locations
@Leopere
Copy link
Collaborator Author

Leopere commented Apr 27, 2019

Closes #35 and closes #22

@Leopere
Copy link
Collaborator Author

Leopere commented Apr 27, 2019

Closes #49

@Leopere
Copy link
Collaborator Author

Leopere commented Apr 27, 2019

Closes #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed level: 3 Significant knowledge of the existing code is recommended on hold Temporarily paused priority: blocker Issue is blocking release, do ASAP type: improvement Existing (or partially existing) functionality needs to be changed type: new feature New functionality that does not exist yet type: refactor Minimal user-visible changes, but significant internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants