Skip to content

Commit

Permalink
gh actions: add cgroup checker
Browse files Browse the repository at this point in the history
Display the cgroup version from the worker

Signed-off-by: Douglas Landgraf <[email protected]>
  • Loading branch information
dougsland committed Aug 23, 2024
1 parent 8b7ff62 commit 6640439
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/check-cgroup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check Cgroup Version

on: [push, pull_request] # Trigger on push or pull request. Adjust as needed.

jobs:
check-cgroup:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Check cgroup version
run: |
echo "Checking cgroup version and settings..."
grep cgroup /proc/filesystems
mount | grep cgroup
cat /proc/cgroups

0 comments on commit 6640439

Please sign in to comment.