This commit is contained in:
parent
f096319f11
commit
ebfe18a6a8
1 changed files with 17 additions and 1 deletions
18
hello.sh
18
hello.sh
|
|
@ -1,4 +1,20 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "👋 Hello from Forgejo Runner!"
|
echo "👋 Hello from Forgejo Runner!"
|
||||||
echo "Running on host: $(hostname)"
|
|
||||||
echo "Date: $(date)"
|
echo "Date: $(date)"
|
||||||
|
echo "=== Runner env infos ==="
|
||||||
|
echo "Running on host: $(hostname)"
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "Kernel : $(uname -a)"
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "CPU info : $(lscpu)"
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "Memory ingo: $(free -h)"
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "Disk $(df -h)"
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
echo "END"
|
||||||
|
echo "=== === === === === === ==="
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue