Fix upload.

This commit is contained in:
sharpenedblade
2022-07-26 17:55:07 -07:00
parent 1a5c8be1e5
commit 9731ae673e
2 changed files with 2 additions and 41 deletions
-41
View File
@@ -1,41 +0,0 @@
#!/usr/bin/env bash
function info () {
echo >&2 "===]> Info: $* ";
}
info "Print information about agent..."
echo -e '\n'
info "uname -a"
uname -a
echo -e '\n'
info "CPU threads: $(nproc --all)"
info "CPU $(grep 'model name' /proc/cpuinfo | uniq)"
info "CPU freq:"
grep 'MHz' /proc/cpuinfo
echo -e '\n'
info "Egress Public IP: $(curl -4 -s ifconfig.co)"
echo -e '\n'
info "df -h"
df -h
echo -e '\n'
info "free -m"
free -m
echo -e '\n'
info "w"
w
echo -e '\n'
info "Top 5 processes sorted by CPU usage..."
ps -Ao user,uid,pid,pcpu,pmem,command,cmd --sort=-pcpu | head -n 6
echo -e '\n'
info "Top 5 processes sorted by MEM usage..."
ps -Ao user,uid,pid,pcpu,pmem,command,cmd --sort=-pmem | head -n 6
echo -e '\n'
+2
View File
@@ -18,11 +18,13 @@ jobs:
- name: "Build Fedora ISO"
run: |
mkdir -p /output
docker run \
--privileged \
--rm \
-t \
-v "$(pwd)":/repo \
-v "./output":/output \
fedora:36
/repo/build.sh