You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details:
- change rm and clean commands to remove only subfolder for tmp_log folder- justification - tmp_log folder needed for the log aggregator, prevent removal on the go when log stack is running
- fix promtail config to point it to the right place
- add named volume to the docker-compose to store Loki indexed between localnet runs
- echance debug-start-log - it checking that localnet is running, exits
if not
- add debug-delete-volume-log to make, it removes loki named volume,
warns about sudo rm for the loki files
Copy file name to clipboardexpand all lines: Makefile
+13-5
Original file line number
Diff line number
Diff line change
@@ -55,10 +55,13 @@ help:
55
55
@echo "travis_rpc_checker - run the Travis RPC checker script, defaulting the test branch to 'master' unless overridden by TEST_REPO_BRANCH"
56
56
@echo "travis_rosetta_checker - run the Travis Rosetta checker script, defaulting the test branch to 'master' unless overridden by TEST_REPO_BRANCH"
57
57
@echo "debug_external - cleans up environment, rebuilds the binary, and deploys with external nodes"
58
+
@echo "debug-multi-bls - cleans up environment, rebuilds the binary, and deploys with external nodes in configuration 1 harmony process -> 2 validators"
58
59
@echo "build_localnet_validator - imports validator keys, funds validator accounts, waits for the epoch, and creates external validators on a local network"
59
-
@echo "debug-start-log - start a docker compose Promtail->Loki->Grafana stack against localnet logs, needs docker compose and started localnet"
60
+
@echo "debug-start-log - start a docker compose Promtail->Loki->Grafana stack against localnet logs, creates"\
61
+
"persistent volume to store parsed logs between localnet runs, needs docker compose and started localnet"
60
62
@echo "debug-stop-log - stops a docker compose Promtail->Loki->Grafana stack"
61
63
@echo "debug-restart-log - restart a docker compose Promtail->Loki->Grafana stack"
64
+
@echo "debug-delete-volume-log - removes persistent volume for the Loki and host folder for it"
62
65
63
66
libs:
64
67
make -C $(TOP)/mcl -j8
@@ -101,7 +104,7 @@ debug-multi-bls:
101
104
echo sleep 10s before creating the external validator
102
105
sleep 10
103
106
bash ./test/build-localnet-validator.sh
104
-
107
+
105
108
debug-multi-bls-with-terminal:
106
109
# add VERBOSE=true before bash or run `export VERBOSE=true` on the shell level for have max logging
107
110
# add LEGACY_SYNC=true before bash or run `export LEGACY_SYNC=true` on the shell level to switch to the legacy sync
0 commit comments