-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kyle Harding <kyle@balena.io>
- Loading branch information
0 parents
commit 4db0442
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |