-
Notifications
You must be signed in to change notification settings - Fork 4
mainnet launch script add more features #350
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
Conversation
- function to prune images - argument for network - argument for plot_size - argument for cache_percentage - function to restart compose - better handling of ssh connection with retries - improve sed logic
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
62b1143 to
57e84f0
Compare
update readme file update readme file
57e84f0 to
b53e008
Compare
|
|
||
| ```bash | ||
| source subspace_env/bin/activate | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These shouldn't be removed
| --pot_external_entropy random_value --network gemini-3h --plot-size 10G --cache-percentage 15 | ||
|
|
||
| # prune images | ||
| python manage_subspace.py --config nodes.toml --release_version gemini-3h-2024-sep-17 --subspace_dir /home/ubuntu/subspace/subspace --prune |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this prune the release specified in the release_version or it will prune all other releases except the one specified?
User description
PR Type
Enhancement
Description
run_commandfunction, allowing SSH commands to be retried multiple times with a delay.modify_env_filefunction to update additional environment variables such asplot_size,cache_percentage, andnetwork.docker_compose_restartto restart Docker services,docker_cleanupto prune Docker images and containers, andhandle_nodeto manage node operations.network,plot_size, andcache_percentage, providing more flexibility in node management.Changes walkthrough 📝
manage_subspace.py
Enhance SSH command execution and Docker managementscripts/launch-nodes/manage_subspace.py
run_commandfunction for SSH command execution.modify_env_fileto update multiple environment variables.docker_compose_restart,docker_cleanup, andhandle_node.network,plot_size, andcache_percentage.