Skip to content

Commit a7c9696

Browse files
committed
feat(playbooks): add installation command for the latest Go version
1 parent 2fd1985 commit a7c9696

5 files changed

Lines changed: 289 additions & 150 deletions

File tree

playbooks/arch_up.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ set -euo pipefail
33

44
# @REMOTE sui
55
# @SHELL zsh
6+
sudo pacman -Syyu --noconfirm
7+
paru -Syyu --noconfirm
8+
rustup update
9+
sudo podman auto-update
610
mise install go@latest

playbooks/test_mixed_output.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
# Test script to verify mixed stdout/stderr output is handled correctly
3+
4+
# @REMOTE sui
5+
6+
# Command that produces output to stdout
7+
echo "=== Systemd Status ==="
8+
echo "This is stdout from systemctl status"
9+
10+
# Command that produces output to stderr (simulating curl progress)
11+
echo "Downloading file..." >&2
12+
echo " 0 0 0 0 0 0 0 0 0" >&2
13+
14+
# Command that produces output to both stdout and stderr
15+
echo "=== Another Status ==="
16+
echo "This is stdout from another command"
17+
echo "This is stderr from another command" >&2
18+
19+
# Final command
20+
echo "=== Done ==="

playbooks/test_stdout_stderr.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
# Test script to verify stdout and stderr are handled correctly
3+
4+
# @REMOTE sui
5+
6+
# Command with stdout only
7+
echo "=== Systemd Status ==="
8+
echo "Main PID: 420746 (openobserve)"
9+
echo "Tasks: 38 (limit: 154407)"
10+
11+
# Command with stderr only (simulating curl progress)
12+
echo "Downloading file..." >&2
13+
echo " 0 0 0 0 0 0 0 0 0" >&2
14+
echo " 0 105.1M 0 8949 0 0 8780 0 3:29:14 00:01 3:29:13 8781" >&2
15+
16+
# Command with both stdout and stderr
17+
echo "=== Another Status ==="
18+
echo "This is stdout from another command"
19+
echo "This is stderr from another command" >&2
20+
21+
# Final command
22+
echo "=== Done ==="

0 commit comments

Comments
 (0)