Skip to content

Commit 12fca42

Browse files
committed
pwru
1 parent 1fcec5f commit 12fca42

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,26 @@ jobs:
8181
fetch-depth: 0
8282
fetch-tags: 1
8383

84+
- name: Install and run pwru
85+
run: |
86+
set -eux
87+
88+
VERSION="1.0.9"
89+
ARCH="amd64"
90+
URL="https://github.com/cilium/pwru/releases/download/v${VERSION}/pwru-linux-${ARCH}.tar.gz"
91+
92+
wget -qO- "$URL" | tar xz
93+
94+
chmod +x pwru
95+
sudo mv pwru /usr/local/bin/
96+
97+
if ! mountpoint -q /sys/kernel/debug; then
98+
echo "Mounting debugfs..."
99+
sudo mount -t debugfs none /sys/kernel/debug
100+
fi
101+
102+
sudo /usr/local/bin/pwru --output-json '192.168.253.150'
103+
84104
- name: "Install deps..."
85105
run: |
86106
sudo add-apt-repository universe

0 commit comments

Comments
 (0)