-
Notifications
You must be signed in to change notification settings - Fork 20
chore(dashmate)!: update to version v3 #727
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
base: v1.0-dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,10 +19,9 @@ dashmate_platform_gateway_max_connections: 5000 | |
| dashmate_platform_gateway_listeners_dapi_and_drive_http2_max_concurrent_streams: 100 | ||
| dashmate_platform_gateway_listeners_dapi_and_drive_wait_for_st_result_timeout: "125s" | ||
| dashmate_platform_gateway_max_heap_size_in_bytes: 125000000 # 1 Gb | ||
| dashmate_platform_gateway_upstreams_drive_grpc_max_requests: 10000 | ||
| dashmate_platform_gateway_upstreams_dapi_api_max_requests: 10000 | ||
| dashmate_platform_gateway_upstreams_dapi_core_streams_max_requests: 100 | ||
| dashmate_platform_gateway_upstreams_dapi_json_rpc_max_requests: 10000 | ||
| dashmate_platform_gateway_upstreams_drive_grpc_max_requests: 10000 | ||
| dashmate_platform_gateway_upstreams_rs_dapi_max_requests: 10000 | ||
| dashmate_platform_gateway_metrics_enabled: false | ||
| dashmate_platform_gateway_metrics_port: 9090 | ||
| dashmate_platform_gateway_rate_limiter_enabled: true | ||
|
|
@@ -32,8 +31,21 @@ dashmate_platform_gateway_rate_limiter_metrics_docker_image: "prom/statsd-export | |
| dashmate_platform_gateway_rate_limiter_metrics_port: 9102 | ||
| dashmate_platform_gateway_rate_limiter_unit: "minute" | ||
| dashmate_platform_gateway_rate_limiter_requests_per_unit: 150 | ||
|
|
||
| # DAPI rs-dapi configuration | ||
| dashmate_platform_dapi_api_docker_deploy_replicas: 1 | ||
| dashmate_platform_dapi_rs_dapi_wait_for_st_result_timeout: 120000 | ||
| # Legacy - kept for backward compatibility | ||
| dashmate_platform_dapi_api_wait_for_st_result_timeout: 120000 | ||
| # rs-dapi metrics | ||
| dashmate_platform_dapi_rs_dapi_metrics_enabled: false | ||
| dashmate_platform_dapi_rs_dapi_metrics_host: "127.0.0.1" | ||
| dashmate_platform_dapi_rs_dapi_metrics_port: 9091 | ||
| # rs-dapi logging | ||
| dashmate_platform_dapi_rs_dapi_log_level: "debug" | ||
| dashmate_platform_dapi_rs_dapi_log_json_format: false | ||
| dashmate_platform_dapi_rs_dapi_access_log_path: | ||
| dashmate_platform_dapi_rs_dapi_access_log_format: "combined" | ||
| dashmate_platform_drive_abci_metrics_enabled: false | ||
| dashmate_platform_drive_abci_metrics_port: 29090 | ||
| dashmate_platform_drive_tenderdash_p2p_flush_throttle_timeout: "100ms" | ||
|
|
@@ -68,6 +80,7 @@ platform_drive_instant_lock_quorum_dkg_interval: | |
| platform_drive_instant_lock_quorum_active_signers: | ||
| platform_drive_instant_lock_quorum_rotation: | ||
| dashmate_core_rpc_dashmate_password: | ||
| dashmate_core_rpc_quorum_list_password: | ||
| dashmate_core_rpc_dapi_password: | ||
| dashmate_core_rpc_drive_consensus_password: | ||
| dashmate_core_rpc_drive_check_tx_password: | ||
|
|
@@ -76,6 +89,14 @@ platform_drive_grovedb_visualizer_enabled: false | |
| platform_drive_grovedb_visualizer_port: 8083 | ||
| initial_platform_protocol_version: | ||
|
|
||
| dashmate_platform_quorum_list_enabled: false | ||
| dashmate_platform_quorum_list_docker_image: "dashpay/quorum-list-server:latest" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # First, let's examine the actual file to understand the full context
git ls-files | grep -E "ansible.*defaults.*main.yml" | head -20Repository: dashpay/dash-network-deploy Length of output: 424 🏁 Script executed: # Check the quorum-list configuration section and surrounding context
if [ -f "ansible/roles/dashmate/defaults/main.yml" ]; then
echo "=== File found, showing context around line 93 ==="
sed -n '85,105p' ansible/roles/dashmate/defaults/main.yml
echo ""
echo "=== Checking for other Docker image definitions ==="
grep -n "docker_image" ansible/roles/dashmate/defaults/main.yml | head -20
fiRepository: dashpay/dash-network-deploy Length of output: 1451 🏁 Script executed: # Search for versioning patterns in the repository
echo "=== Checking for Docker image tags used in Ansible files ==="
rg 'docker_image.*:' ansible/ --type yml -A 0 -B 0 | head -40Repository: dashpay/dash-network-deploy Length of output: 176 🏁 Script executed: # Check if there's any documentation about versioning
echo "=== Looking for version-related documentation ==="
find . -maxdepth 2 -type f \( -name "*.md" -o -name "*.yml" \) | xargs grep -l "quorum-list" 2>/dev/null || echo "No quorum-list references found in top-level docs"Repository: dashpay/dash-network-deploy Length of output: 170 🌐 Web query:
💡 Result: Do you mean the Docker Hub tags (image versions) for dashpay/quorum-list-server, or the upstream GitHub releases? Which exactly do you want me to list? 🏁 Script executed: # Check if there are any version references or tags for quorum-list-server in the codebase
rg "quorum.list" . --type yaml -i -C 3Repository: dashpay/dash-network-deploy Length of output: 1837 🏁 Script executed: # Look for any documentation or comments about image versioning strategy
echo "=== Checking for version/tag documentation ==="
rg "docker_image|:latest|:dev" ansible/roles/dashmate/defaults/main.yml -B 2 -A 1 | head -50Repository: dashpay/dash-network-deploy Length of output: 693 🏁 Script executed: # Check git history to see if this has been a concern before
echo "=== Checking recent changes to this file ==="
git log --oneline -20 -- ansible/roles/dashmate/defaults/main.ymlRepository: dashpay/dash-network-deploy Length of output: 139 🌐 Web query:
💡 Result: Here are the released tag versions for dashpay/quorum-list-server (GitHub):
Source: GitHub tags for dashpay/quorum-list-server. [1] (github.com) Citations: 🌐 Web query:
💡 Result: Do you want me to fetch the full list of tags for dashpay/quorum-list-server from Docker Hub (I'll query the Hub API and return the tags)? 🏁 Script executed: # Query Docker Hub API for quorum-list-server tags
pip install requests -q
python3 << 'EOF'
import requests
import json
# Query Docker Hub API for image tags
url = "https://registry.hub.docker.com/v2/repositories/dashpay/quorum-list-server/tags"
try:
response = requests.get(url)
if response.status_code == 200:
data = response.json()
print("Available tags for dashpay/quorum-list-server on Docker Hub:")
for result in data.get('results', [])[:20]: # First 20 tags
print(f" - {result['name']}")
else:
print(f"Status code: {response.status_code}")
except Exception as e:
print(f"Error: {e}")
EOFRepository: dashpay/dash-network-deploy Length of output: 182 🏁 Script executed: # Check if there are any comments or documentation about version choice
echo "=== Searching for version-related comments in dashmate defaults ==="
grep -n "version\|latest\|tag" ansible/roles/dashmate/defaults/main.yml -i | head -20Repository: dashpay/dash-network-deploy Length of output: 382 🏁 Script executed: # Check if quorum-list is optional/experimental (disabled by default)
echo "=== Checking quorum-list configuration context ==="
sed -n '88,100p' ansible/roles/dashmate/defaults/main.ymlRepository: dashpay/dash-network-deploy Length of output: 703 Pin the Docker image version for reproducibility. The Available versions for dashpay/quorum-list-server are: 0.6.0, 0.5.0, 0.4.0, 0.3.0. Consider pinning to 0.6.0 or another stable release appropriate for your deployment. 🤖 Prompt for AI Agents |
||
| dashmate_platform_quorum_list_api_host: "127.0.0.1" | ||
| dashmate_platform_quorum_list_api_port: 2444 | ||
| dashmate_platform_quorum_list_previous_blocks_offset: 8 | ||
| dashmate_platform_quorum_list_version_check_host: "" | ||
| dashmate_platform_quorum_list_address_host_override: "" | ||
|
|
||
| # Unsafe params. Use only if you understand what you are doing. | ||
| dashmate_platform_drive_tenderdash_consensus_unsafe_override_propose_timeout: | ||
| dashmate_platform_drive_tenderdash_consensus_unsafe_override_propose_delta: | ||
|
|
||
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.
🧩 Analysis chain
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 1884
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 372
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 630
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 1068
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 53
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 2702
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 1854
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 2447
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 53
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 780
🏁 Script executed:
Repository: dashpay/dash-network-deploy
Length of output: 53
Add inline comments to document the behavior of
access_log_pathandaccess_log_formatconfiguration.The empty
dashmate_platform_dapi_rs_dapi_access_log_pathdisables access logging (sets to null in the rendered config), and the"combined"format follows the standard HTTP combined log format. These behaviors should be documented with inline comments in the defaults file for clarity.🤖 Prompt for AI Agents