Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e8ec74e
add working documentation
yonch Aug 10, 2025
4d5ab97
add kernfs file pointer writeup
yonch Aug 13, 2025
18c2027
add script to build the kernel, initrd and test, and upload to s3
yonch Aug 13, 2025
c40f255
split the initrd compilation to a separate file, increase caching
yonch Aug 14, 2025
514b3ae
move kernel module building to initrd script
yonch Aug 14, 2025
93d276a
add github actions to run kernel test
yonch Aug 14, 2025
efded5a
install awscli to be able to fetch kernel image from s3
yonch Aug 14, 2025
c18361c
switch to action version that debug prints cloud init
yonch Aug 14, 2025
dbcf829
install AWS CLI via curl (recommended by AWS docs)
yonch Aug 14, 2025
3db64c2
extract the initrd and bzImage filenames from the metadata json
yonch Aug 14, 2025
2b69d07
reorder pre-requisites in github action
yonch Aug 14, 2025
1ddecbd
reduce logging verboseness for aws cli installation
yonch Aug 14, 2025
6336755
fail the self-hosted runner start if the ec2-github-runner action fails
yonch Aug 14, 2025
65a246d
add action trigger script
yonch Aug 14, 2025
e2aca16
add workflow to extract config and initrd information from ubuntu AMI
yonch Aug 14, 2025
24ff93d
remove the user data debugging info in action
yonch Aug 14, 2025
1ccbc9c
fix self hosted runner setup
yonch Aug 14, 2025
148b1cc
add more checks for resctrl support to debug why the test is being sk…
yonch Aug 15, 2025
aba737d
add more sysfs debugging
yonch Aug 15, 2025
3380247
first try and fix /sys, then mount resctrl
yonch Aug 16, 2025
50f235e
add JSON output to triggering kernel test
yonch Aug 16, 2025
d1c3bbc
add hard reboot kernel test
yonch Aug 16, 2025
c55d8fe
reference grub entry with index
yonch Aug 16, 2025
9ee5c9e
add job logs to json output
yonch Aug 16, 2025
e6e923f
find root device and boot partition UUIDs, reference with / prefix no…
yonch Aug 16, 2025
5b27088
explicitly umount all filesystems under /sys before kexec
yonch Aug 16, 2025
49ef9f0
capture dmesg output
yonch Aug 16, 2025
a63e889
add filesystem mount print
yonch Aug 16, 2025
4c6895f
try to increase reliability of hard reboot
yonch Aug 16, 2025
1d29c38
attempt to increase reliability of github runner after kexec
yonch Aug 16, 2025
344ddb2
remove invalid attribute from systemd config
yonch Aug 16, 2025
b7158aa
disable s3 progress bar so as to not spam the console
yonch Aug 17, 2025
070ba87
try to avoid emergency mode
yonch Aug 17, 2025
5177693
reduce verbosity of kernel at boot
yonch Aug 17, 2025
48b3b52
fix issue with read-only filesystems
yonch Aug 17, 2025
00ffa7d
add early fs remounting after kexec
yonch Aug 17, 2025
ed82af7
enable dhcp in kexec kernel
yonch Aug 17, 2025
1238fb5
strip modules as part of modules_install
yonch Aug 29, 2025
60a50ed
use dracut to make initrd
yonch Aug 29, 2025
9620f56
move helper diagrams and docs to scratchpad/ directory
yonch Aug 29, 2025
77891d2
add more scratchpad docs on resctrl pmu integration
yonch Aug 29, 2025
42ad987
add diagrams
yonch Aug 29, 2025
47c9e73
save rdtgroup reference in mon_data open files
yonch Aug 16, 2025
21cdaec
refactor: split mon_event_read into setup and perform functions
yonch Aug 29, 2025
a1a1b44
refactor: separate metric read logic from decision what to measure an…
yonch Aug 29, 2025
8626927
separate setting up event reads from performing the reads
yonch Aug 29, 2025
65f09ec
add skeleton PMU
yonch Aug 29, 2025
6af368f
tooling: avoid make olddefconfig if config hasn't changed
yonch Aug 29, 2025
7183c46
fix function ordering so destroy is defined before reference
yonch Aug 29, 2025
f18cd9d
remove fd path getting that we had for demo
yonch Aug 29, 2025
d3a9421
selftests/resctrl: add safety test for resctrl PMU file access
yonch Aug 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reorder pre-requisites in github action
  • Loading branch information
yonch committed Aug 29, 2025
commit 2b69d07e5872fcbb6bc42a657de894fc76af9f70
22 changes: 11 additions & 11 deletions .github/workflows/custom-kernel-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ jobs:
echo "Build ID: $BUILD_ID" | tee -a /var/log/kexec-setup.log
echo "Metadata S3 key: $METADATA_S3_KEY" | tee -a /var/log/kexec-setup.log

# Install AWS CLI
echo "Installing AWS CLI" | tee -a /var/log/kexec-setup.log
cd /tmp
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install | tee -a /var/log/kexec-setup.log

# Download and parse metadata JSON to get kernel and initrd paths
echo "Downloading metadata.json from S3..." | tee -a /var/log/kexec-setup.log
aws s3 cp "s3://${S3_BUCKET}/${METADATA_S3_KEY}" /tmp/metadata.json --region "$S3_REGION"
Expand All @@ -85,17 +92,6 @@ jobs:

echo "Kernel S3 key from metadata: $KERNEL_S3_KEY" | tee -a /var/log/kexec-setup.log
echo "Initrd S3 key from metadata: $INITRD_S3_KEY" | tee -a /var/log/kexec-setup.log

# Install AWS CLI
echo "Installing AWS CLI" | tee -a /var/log/kexec-setup.log
cd /tmp
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install | tee -a /var/log/kexec-setup.log

# Create persistent directory and download the GitHub Actions runner
mkdir -p /persist/actions-runner
cd /persist/actions-runner

# Download custom kernel artifacts from S3
echo "Downloading custom kernel from S3..." | tee -a /var/log/kexec-setup.log
Expand All @@ -109,6 +105,10 @@ jobs:

echo "Custom kernel artifacts downloaded successfully" | tee -a /var/log/kexec-setup.log
ls -la /tmp/custom-* | tee -a /var/log/kexec-setup.log

# Create persistent directory and download the GitHub Actions runner
mkdir -p /persist/actions-runner
cd /persist/actions-runner

# Create post-kexec init script that starts the runner
cat > /persist/kexec-runner.sh << 'EOF'
Expand Down