Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Apr 8, 2024
0 parents commit 4db0442
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
pull_request:
branches:
- "*"
push:
branches:
- master
- main
workflow_dispatch:

jobs:
specs:
name: specs
# runs-on: actuated-arm64-2cpu-8gb
runs-on: actuated-arm64-2cpu-8gb
steps:
- uses: actions/checkout@v1
- name: Check specs
run: |
./specs.sh
36 changes: 36 additions & 0 deletions specs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

echo Information on main disk
df -h /

echo Memory info
free -h

echo Total CPUs:
echo CPUs: $(nproc)

echo CPU Model
cat /proc/cpuinfo |grep -i "Model"|head -n 2

echo Kernel and OS info
uname -a

echo Generally, KVM should not be available unless specifically enabled
if ! [ -e /dev/kvm ]; then
echo "/dev/kvm does not exist"
else
echo "/dev/kvm exists"
fi

echo OS
cat /etc/os-release

echo Egress IP:
curl -s -L -S https://checkip.amazonaws.com

echo Speed test of Internet
sudo pip install speedtest-cli
speedtest-cli

echo Checking Docker
docker run alpine:latest cat /etc/os-release

0 comments on commit 4db0442

Please sign in to comment.