ソースを参照

ci: quieter near

Evan Gray 3 年 前
コミット
2dc4faa084
1 ファイル変更6 行追加2 行削除
  1. 6 2
      devnet/near-devnet.yaml

+ 6 - 2
devnet/near-devnet.yaml

@@ -32,10 +32,15 @@ spec:
       containers:
         - name: near-node
           image: near-node
+          env:
+            # this still results in DEBUG logs from "stats", but `warn,stats=warn` didn't work
+            - name: RUST_LOG
+              value: warn
           command:
             - /bin/sh
             - -c
-            - /tmp/start_node.sh
+            # because the above still left logs, redirecting stderr
+            - "/tmp/start_node.sh 2> /dev/null"
           ports:
             - containerPort: 3030
               name: node
@@ -57,6 +62,5 @@ spec:
               port: 3030
             periodSeconds: 1
             initialDelaySeconds: 15
-            periodSeconds: 5
 
       restartPolicy: Always