Commit Graph

  • 63e27f31ac Remove grpc-balancer.py and update deployment configuration main-22aug vvzvlad 2025-01-20 23:55:26 +0300
  • 64d57407e0 Refactor grpc-balancer to use Gunicorn and update playbook.yml for deployment vvzvlad 2025-01-20 19:32:16 +0300
  • e40e14dea5 Add SSL support to grpc-balancer and update playbook for certificate management vvzvlad 2025-01-20 19:21:12 +0300
  • b988582553 Refactor grpcbalancer setup in playbook.yml and remove legacy files. Replaced shell commands with Ansible copy module for grpcbalancer service file creation and enabled the service using systemd. Deleted grpc-balancer.py and grpc-balancer.service files as part of the cleanup process, streamlining the deployment configuration. vvzvlad 2025-01-20 18:57:00 +0300
  • 22ce6c07c3 Refactor check_logs function in checker.py to improve log output. Moved the subscription ID logging to ensure it is always checked and logged before returning the status, enhancing clarity in the synchronization status reporting. vvzvlad 2025-01-20 13:47:29 +0300
  • 834ddb4438 Fix log status message in checker.py to return head_sub_id directly instead of formatted number. This change improves clarity in log output. vvzvlad 2025-01-20 13:33:54 +0300
  • 7e8587660d Refactor config.json to enhance snapshot synchronization settings. Moved snapshot_sync parameters to a new location, ensuring clarity and organization. This change maintains the same values for sleep, batch_size, starting_sub_id, and sync_period, improving overall configuration structure. vvzvlad 2025-01-20 13:24:04 +0300
  • 6b431823f5 Refactor config.json to enhance snapshot synchronization settings and remove Docker credentials. Updated snapshot_sync parameters: increased sleep time to 3 seconds, adjusted batch_size to 800, changed starting_sub_id to 210000, and extended sync_period to 30 seconds for improved performance. vvzvlad 2025-01-20 12:59:53 +0300
  • 82e6047e86 Comment out the apt update and upgrade steps in playbook.yml to prevent unnecessary package updates during execution, streamlining the playbook's operation. vvzvlad 2025-01-20 10:25:43 +0300
  • 15f277057e Comment out Docker login and credential removal steps in playbook.yml for security reasons, ensuring sensitive information is not exposed in the playbook. vvzvlad 2025-01-20 09:43:09 +0300
  • 04d44aeadf Update playbook.yml to configure Docker daemon for journald logging and add registry mirrors. This change enhances logging capabilities and allows for the use of a custom Docker registry. vvzvlad 2025-01-20 09:42:41 +0300
  • b006ea31b0 Refactor playbook.yml to improve contract deployment and execution handling. Added asynchronous execution with polling for contract deployment and call commands, ensuring successful completion checks. Updated shell command execution to use /bin/bash for consistency. vvzvlad 2025-01-19 19:29:37 +0300
  • 04efc25a48 Add Docker pull command for hello-world image in playbook.yml vvzvlad 2025-01-19 18:09:09 +0300
  • cccbc07db1 Update docker-compose.yaml and config.json for improved performance and configuration adjustments vvzvlad 2025-01-19 17:51:52 +0300
  • 7d5889553d Update playbook.yml to reduce RestartSec from 1800 to 600 for improved service responsiveness vvzvlad 2025-01-19 12:19:03 +0300
  • 34776214d6 Downgrade Docker image version in docker-compose.yaml from 1.4.0 to 1.2.0 to revert to a previous stable release. vvzvlad 2025-01-19 12:08:08 +0300
  • 0cc12c5446 Update Docker image version in docker-compose.yaml from 1.2.0 to 1.4.0 for improved functionality and performance. vvzvlad 2025-01-19 12:00:20 +0300
  • 57c8b81c13 Add format_number function to checker.py for improved subscription ID formatting vvzvlad 2025-01-19 11:56:00 +0300
  • 382a910856 Enhance check_logs function in checker.py to capture and log head subscription ID. Added logic to extract "head sub id" from logs and return it in the status message, improving clarity in subscription state reporting. This update complements existing functionality for tracking last subscription ID, ensuring comprehensive log analysis. vvzvlad 2025-01-19 11:54:47 +0300
  • a0d2e74115 Update check_logs function in checker.py to modify subscription status reporting. Changed the return message from "Subscription" to "Sync" for improved clarity in log analysis. This adjustment enhances the understanding of the subscription state in the context of log processing. vvzvlad 2025-01-19 11:51:00 +0300
  • c1f23386b5 Refactor check_logs function in checker.py to improve logging and subscription status reporting. Renamed parameter from log_handler to logger for clarity. Added logging for cases where no subscription is found, enhancing the visibility of log analysis outcomes. vvzvlad 2025-01-19 11:42:55 +0300
  • e5a0eef020 Enhance check_logs function in checker.py to capture last subscription ID from logs. Added logic to identify and return the most recent subscription ID when "Ignored subscription creation" messages are detected. This improves the clarity of log analysis by providing specific subscription status, while maintaining the existing error handling for Docker log retrieval. vvzvlad 2025-01-19 11:42:14 +0300
  • c95fce1b69 Add clean_ansi function to checker.py for log processing vvzvlad 2025-01-19 11:40:43 +0300
  • cd119be631 Update check_logs function in checker.py to suppress color output in docker logs retrieval. This change enhances log readability by ensuring that the output is plain text, improving clarity for subsequent log analysis. vvzvlad 2025-01-19 11:38:25 +0300
  • a5a27829de Refactor check_logs function in checker.py to simplify log handling. Removed subscription message detection logic and replaced it with a basic line printing mechanism. The function now returns a default status of "Idle", streamlining the process and reducing complexity in log analysis. vvzvlad 2025-01-19 11:37:27 +0300
  • 246e073092 Update subscription pattern in check_logs function of checker.py to improve error message handling. Enhanced regex to capture error types more accurately, ensuring whitespace is stripped from error messages. This change refines log analysis and improves clarity in health check reporting. vvzvlad 2025-01-19 11:34:57 +0300
  • 43dbcd0a17 Refactor check_logs function in checker.py to enhance subscription message handling. Updated regex to capture error types alongside subscription IDs, improving log analysis. Added logging for cases with no matches and refined status messages based on error type, enhancing clarity in health check reporting. vvzvlad 2025-01-19 11:34:16 +0300
  • c062ad8e66 Enhance package management in checker.py by implementing version control for required packages. Added warnings filter to suppress warning messages. The script now checks for specific package versions and installs them accordingly, improving dependency management and ensuring compatibility. This change enhances the robustness of the environment setup for the checker process. vvzvlad 2025-01-19 11:32:51 +0300
  • da56ef57f0 Comment out random sleep functionality in checker.py to simplify execution flow. This change removes unnecessary delays, enhancing the responsiveness of the checker process while maintaining existing logging and error handling mechanisms. vvzvlad 2025-01-19 11:31:51 +0300
  • b89e6c20ce Refactor self_update function in checker.py to accept a logger parameter for improved logging. This change enhances the update process by providing consistent logging messages for update checks, successes, and errors, thereby improving the clarity and maintainability of the script's update functionality. vvzvlad 2025-01-19 11:29:48 +0300
  • b93e5f890a Refactor check_logs function in checker.py to improve subscription message detection. Changed from single match to iterating over all matches, allowing retrieval of the last subscription ID found in logs. Updated logging to reflect the last subscription message or indicate absence, enhancing clarity in log analysis. vvzvlad 2025-01-19 11:11:38 +0300
  • 625a8f71ae Update subscription pattern in check_logs function of checker.py to include a wildcard for error messages. This change enhances the regex matching for subscription completion, improving the accuracy of log analysis in health checks. vvzvlad 2025-01-19 09:54:48 +0300
  • 8acb4768e3 Reduce random sleep duration in checker.py from 10 minutes to 1 minute to improve responsiveness of the checker process. This change enhances the overall efficiency of the health check execution. vvzvlad 2025-01-19 09:48:54 +0300
  • b9d966ff90 Update check_logs function in checker.py to retrieve logs from the 'infernet-node' container instead of using 'docker compose'. This change improves log retrieval efficiency by reducing the time window from 2 hours to 10 minutes, while also updating error handling to reflect the new command. Enhances clarity in log management for health checks. vvzvlad 2025-01-19 09:45:18 +0300
  • 1e38b5aca6 Refactor check_logs function in checker.py to focus on subscription completion detection. Removed dynamic error and proof speed logging, simplifying the health check process. Now returns a status based on subscription completion, enhancing clarity and maintainability of the health check logic. vvzvlad 2025-01-19 09:44:17 +0300
  • 3abc4e0a81 Update playbook.yml to add journalctl command for node-checker service and comment out grpcbalancer service installation steps. This change enhances logging capabilities while simplifying the playbook by removing unnecessary service setup commands. vvzvlad 2025-01-19 09:26:27 +0300
  • 49c13d9e42 Enhance health check in checker.py by adding a print statement for the fixed message "test ok". This improves visibility of the health status during execution while maintaining the existing error handling structure. vvzvlad 2025-01-18 17:57:29 +0300
  • 4e50ee554b Comment out dynamic log data retrieval in checker.py, maintaining a fixed health status callback message "test ok". This change simplifies the health check process while preserving error handling functionality. vvzvlad 2025-01-18 15:03:02 +0300
  • f5706ac887 Update health status callback in checker.py to return a fixed message "test ok" instead of dynamic log data vvzvlad 2025-01-18 14:52:59 +0300
  • da787935df Add node-checker service vvzvlad 2025-01-18 13:59:41 +0300
  • 77a5f1a071 Refactor upload_stats_to_grist function in grpc-balancer.py to consolidate server statistics into a single dictionary, improving clarity and maintainability. Update error logging to include exception details. vvzvlad 2025-01-17 07:20:54 +0300
  • 8425114abf Refactor update_contracts.sh to remove unnecessary directory change and streamline contract address handling vvzvlad 2025-01-16 09:16:28 +0300
  • 92f6cdcd40 Update playbook.yml to remove unnecessary '--no-dependencies' argument from grpcbalancer installation command vvzvlad 2025-01-16 09:05:42 +0300
  • f2cce2f592 Refactor grpcbalancer installation in playbook.yml to use shell commands for copying and setting permissions; update service file path in grpc-balancer.service; remove deprecated grpcbalancer.py file. vvzvlad 2025-01-16 08:51:07 +0300
  • 5d8a2cfdd6 Refactor update.sh to simplify usage by removing wallet address, private key, and RPC URL parameters; streamline script for improved clarity and maintainability. vvzvlad 2025-01-16 08:32:17 +0300
  • 4c0268823b Add execute permission to update.sh in playbook.yml vvzvlad 2025-01-16 08:26:06 +0300
  • bbd1de0020 Fix variable name in update script call in playbook.yml vvzvlad 2025-01-16 07:56:19 +0300
  • 3a2847295a Refactor playbook to use 'node' directory instead of 'ritual'; add grpcbalancer installation steps vvzvlad 2025-01-16 07:48:51 +0300
  • 671c7a4507 update v9 vvzvlad 2025-01-16 07:31:53 +0300
  • e0913ece08 edit retries/delay vvzvlad 2024-09-28 03:34:11 +0300
  • 1a775c6b87 add bashrc vvzvlad 2024-09-28 03:30:42 +0300
  • 26323e9c41 revert to 1.2.0 vvzvlad 2024-09-26 02:36:31 +0300
  • a79bdc94d0 bump ver vvzvlad 2024-09-25 17:52:04 +0300
  • 272ee7522b add cmd in bash history vvzvlad 2024-09-24 14:54:38 +0300
  • e85f0b987e remove unless stopped vvzvlad 2024-09-23 02:42:05 +0300
  • 7eab098a99 add logs setting vvzvlad 2024-09-23 02:39:45 +0300
  • c0502193b2 remove unused vvzvlad 2024-09-22 00:50:19 +0300
  • 9be7df6bcf add sh files vvzvlad 2024-09-21 23:51:36 +0300
  • 8183934d09 add commands to bashhistory vvzvlad 2024-09-21 20:05:18 +0300
  • 1558f60810 change settings vvzvlad 2024-09-21 20:05:07 +0300
  • 138fcfc321 add bash history vvzvlad 2024-09-21 19:25:29 +0300
  • 153ccfd4db fix Install Forge and Infernet SDK vvzvlad 2024-09-18 01:25:24 +0300
  • eaceb3ecfa many fixes vvzvlad 2024-09-18 01:18:25 +0300
  • c0fd0330af fix bug vvzvlad 2024-09-18 01:12:07 +0300
  • fc49f06d75 big update vvzvlad 2024-09-18 01:06:32 +0300
  • 17702b1396 add git_version vvzvlad 2024-09-15 03:00:16 +0300
  • aedfc0374b add files main vvzvlad 2024-09-15 00:42:15 +0300
  • bf45c32758 Update 'projects/hello-world/container/config.json' vvzvlad 2024-08-22 05:02:20 +0300
  • 8ee55c5172 Update 'projects/hello-world/container/config.json' vvzvlad 2024-08-22 05:01:20 +0300
  • 65ffe60540 Update 'deploy/docker-compose.yaml' vvzvlad 2024-08-22 04:58:33 +0300
  • 83bcb52887 Update 'projects/hello-world/container/Makefile' vvzvlad 2024-06-17 03:39:51 +0300
  • 017d055aaa Update 'Makefile' vvzvlad 2024-06-17 03:36:18 +0300
  • 99eb3ed087 Update 'deploy/docker-compose.yaml' vvzvlad 2024-06-17 03:35:17 +0300
  • 6d1f826e42 Update 'deploy/docker-compose.yaml' vvzvlad 2024-06-17 03:09:26 +0300
  • 781cb24d36 Update 'update.sh' vvzvlad 2024-06-09 03:32:34 +0300
  • fc0ab5feb5 Update 'update.sh' vvzvlad 2024-06-09 03:28:21 +0300
  • a6ea49764e Update 'projects/hello-world/contracts/Makefile' vvzvlad 2024-06-09 03:26:26 +0300
  • 9300121088 Update 'projects/hello-world/container/config.json' vvzvlad 2024-06-09 03:25:22 +0300
  • 4b14b6d51b Add 'toChecksumAddress.py' vvzvlad 2024-06-08 23:55:36 +0300
  • 552641d06c Update 'projects/hello-world/contracts/script/Deploy.s.sol' vvzvlad 2024-06-08 23:20:16 +0300
  • 0612b4800f Update 'projects/hello-world/container/config.json' vvzvlad 2024-06-08 23:19:47 +0300
  • 19825d5561
    Create update.sh vvzvlad 2024-06-08 20:13:10 +0300
  • f6bcbb181e
    Update config.json vvzvlad 2024-06-08 20:05:41 +0300
  • 1fc54cf829
    Update Deploy.s.sol vvzvlad 2024-06-08 20:04:41 +0300
  • d2ae25aaed
    Update Makefile vvzvlad 2024-06-08 19:56:19 +0300
  • 261871db75
    Update config.json vvzvlad 2024-06-08 19:42:35 +0300
  • ba94d1563d
    fix: quickfix index arshan-ritual 2024-06-06 13:54:55 -0400
  • 40a6c590da
    infernet-1.0.0 update arshan-ritual 2024-06-06 13:18:48 -0400
  • 2a11fd3953
    Merge pull request #1 from ritual-net/staging ritual-all 2024-03-29 11:51:10 -0400
  • e531664d14
    fix: add gitmodules to repo arshan-ritual 2024-03-29 11:18:34 -0400
  • 4545223364
    feat: publishing infernet-container-starter v0.2.0 ritual-all 2024-03-29 10:50:13 -0400
  • 41aaa152e6
    feat: publishing infernet-container-starter v0.1.0 ritual-all 2024-03-29 10:49:24 -0400