feature/sso-hardening #9

Merged
bstein merged 685 commits from feature/sso-hardening into main 2026-01-13 20:23:26 +00:00
Showing only changes of commit 1bbb88d9a3 - Show all commits

View File

@ -36,7 +36,7 @@ spec:
command: ["/bin/sh","-c"] command: ["/bin/sh","-c"]
args: args:
- | - |
set -euo pipefail set -euxo pipefail
apk add --no-cache curl tar openssl >/dev/null apk add --no-cache curl tar openssl >/dev/null
test -n "${P2POOL_URL}" test -n "${P2POOL_URL}"
echo "Downloading ${P2POOL_URL}" echo "Downloading ${P2POOL_URL}"
@ -46,6 +46,7 @@ spec:
fi fi
mkdir -p /opt/p2pool mkdir -p /opt/p2pool
tar -xzf /tmp/p2pool.tgz -C /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)" BIN="$(find /opt/p2pool -maxdepth 1 -type f -name 'p2pool*' | head -n1)"
test -n "${BIN}" test -n "${BIN}"
install -m0755 "${BIN}" /opt/p2pool/p2pool install -m0755 "${BIN}" /opt/p2pool/p2pool