forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 150
CI cleanups #633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
CI cleanups #633
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d0bc681
lkl: use ARCH_HAS_DMA_OPS instead of DMA_OPS
tavip b2395f1
lkl: simplify PCI VFIO test
tavip 99e6cd5
lkl/ci: run the PCI VFIO test on github
tavip 88aee9b
lkl/ci: remove duplicated circleci jobs
tavip bba15fc
lkl tests: make yaml logging more robust
tavip d95ef31
lkl: explicitly uses asan mem* functions when kasan is enabled
tavip 8b61f60
lkl tests: avoid variable test names
tavip File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,20 @@ | ||
| #!/bin/sh | ||
| # SPDX-License-Identifier: GPL-2.0 | ||
|
|
||
| wget -q https://cloud-images.ubuntu.com/releases/noble/release-20260321/ubuntu-24.04-server-cloudimg-amd64.img | ||
| wget -q https://cloud-images.ubuntu.com/releases/noble/release-20260321/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic | ||
| wget -q https://cloud-images.ubuntu.com/releases/noble/release-20260321/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic | ||
|
|
||
| dd if=/dev/zero of=nvme.img bs=1024 count=102400 | ||
| cat > cloud.txt <<EOF | ||
| #cloud-config | ||
| user: lkl | ||
| password: lkl | ||
| sudo: ['ALL=(ALL) NOPASSWD:ALL'] | ||
| chpasswd: { expire: False } | ||
| groups: sudo | ||
| ssh_pwauth: True | ||
| shell: /bin/bash | ||
| EOF | ||
| cloud-localds cloud.img cloud.txt | ||
| rm cloud.txt |
This file contains hidden or 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,17 @@ | ||
| #!/bin/sh | ||
| # SPDX-License-Identifier: GPL-2.0 | ||
|
|
||
| qemu-system-x86_64 --enable-kvm -m 512 -machine q35,kernel-irqchip=split \ | ||
| -device intel-iommu,intremap=on \ | ||
| -net nic,model=e1000 -net user,hostfwd=tcp::2222-:22 \ | ||
| -drive file=nvme.img,if=none,id=D22 -device nvme,drive=D22,serial=1234 \ | ||
| -hda ubuntu-24.04-server-cloudimg-amd64.img -hdb cloud.img \ | ||
| -kernel ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic \ | ||
| -initrd ubuntu-24.04-server-cloudimg-amd64-initrd-generic \ | ||
| -append 'root=LABEL=cloudimg-rootfs ro intel_iommu=on console=tty1 console=ttyS0' \ | ||
| -display none -serial mon:telnet::5555,server,nowait -daemonize | ||
|
|
||
| SSH_OPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" | ||
| export MYHOST=lkl@localhost | ||
| export MYSSH="sshpass -p lkl ssh $SSH_OPTS -p 2222 $MYHOST" | ||
| export MYSCP="sshpass -p lkl scp -O $SSH_OPTS -P 2222" |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.