From 1bbb88d9a39f305cd9f18b5c8ab1fd5997a8d1e2 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Wed, 24 Dec 2025 19:14:44 -0300 Subject: [PATCH] crypto: fetch p2pool from github with debug --- services/crypto/xmr-miner/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/crypto/xmr-miner/deployment.yaml b/services/crypto/xmr-miner/deployment.yaml index cf64fa4..f7f4711 100644 --- a/services/crypto/xmr-miner/deployment.yaml +++ b/services/crypto/xmr-miner/deployment.yaml @@ -36,7 +36,7 @@ spec: command: ["/bin/sh","-c"] args: - | - set -euo pipefail + set -euxo pipefail apk add --no-cache curl tar openssl >/dev/null test -n "${P2POOL_URL}" echo "Downloading ${P2POOL_URL}" @@ -46,6 +46,7 @@ spec: fi mkdir -p /opt/p2pool tar -xzf /tmp/p2pool.tgz -C /opt/p2pool + ls -l /opt/p2pool BIN="$(find /opt/p2pool -maxdepth 1 -type f -name 'p2pool*' | head -n1)" test -n "${BIN}" install -m0755 "${BIN}" /opt/p2pool/p2pool