-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add CI to the qemu-minimal project
Add two workflows to the GitHub CI flow for both spell-checking and smoke-testing. The smoke-test does a simple VM creation via the QEMU-based approach. Fixes #20.
- Loading branch information
1 parent
98f06b9
commit 5bd29b9
Showing
5 changed files
with
191 additions
and
7 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,25 @@ | ||
name: qemu-minimal-smoke-test | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
ubuntu-smoke-test: | ||
name: ubuntu-smoke-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code using action/checkout | ||
uses: actions/checkout@v4.1.1 | ||
- name: Install a couple of packages via the apt package manager | ||
run: sudo apt update && sudo apt install -y qemu-system-x86 cloud-image-utils | ||
- name: Generate an ssh key-pair for this test | ||
run: ssh-keygen -t rsa -q -f "$HOME/.ssh/id_rsa" -N "" | ||
- name: Run a qemu-based ./gen-vm smoke-test | ||
run: ./gen-vm | ||
working-directory: qemu | ||
env: | ||
VM_NAME: qemu-minimal-smoke-test | ||
KVM: none | ||
USERNAME: ubuntu | ||
PASS: password |
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,19 @@ | ||
name: qemu-minimal-spell-check | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- '**.md' | ||
- '.wordlist.txt' | ||
- '.spellcheck.yaml' | ||
|
||
jobs: | ||
ubuntu-spell-check: | ||
name: ubuntu-spell-check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code. | ||
uses: actions/checkout@v4.1.1 | ||
- name: GitHub Spellcheck Action | ||
uses: rojopolis/spellcheck-github-actions@v0 |
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,16 @@ | ||
spellchecker: aspell | ||
matrix: | ||
- name: markdown | ||
aspell: | ||
lang: en | ||
sources: | ||
- '**/*.md' | ||
pipeline: | ||
- pyspelling.filters.markdown | ||
dictionary: | ||
wordlists: | ||
- .wordlist.txt | ||
output: wordlist.dic | ||
encoding: utf-8 | ||
default_encoding: utf-8 | ||
expect_match: true |
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,124 @@ | ||
Ansible | ||
Bjorling's | ||
Busybox | ||
CMB | ||
CONFIG | ||
IPv | ||
Initramfs | ||
KVM | ||
LFS | ||
LightNVM | ||
Matias | ||
NVM | ||
NVMe | ||
NVMf | ||
OpenChannel | ||
OpenChannelSSD | ||
PMEM | ||
PRs | ||
QEMU | ||
QEMU's | ||
RoCE | ||
SSD | ||
SSDs | ||
Thie | ||
VM | ||
VMs | ||
VirtFS | ||
Virtfs | ||
addr | ||
alot | ||
ansible | ||
awhisten | ||
batesste | ||
bbs | ||
blogspot | ||
bss | ||
busybox | ||
busyboz | ||
bzImage | ||
bzimage | ||
cd | ||
chroot | ||
config | ||
cpio | ||
csortu | ||
currenly | ||
deboostrap | ||
dev | ||
differntly | ||
environemnt | ||
eth | ||
exe | ||
filesystem | ||
fs | ||
gdb | ||
github | ||
gz | ||
href | ||
html | ||
http | ||
https | ||
img | ||
infradead | ||
init | ||
initramfs | ||
initrd | ||
intel | ||
intresting | ||
jessie | ||
kbusch | ||
ko | ||
lfs | ||
li | ||
librxe | ||
libs | ||
libvirt | ||
linux | ||
localhost | ||
lt | ||
managable | ||
mnt | ||
modprobe | ||
mon | ||
multistrap | ||
nbd | ||
netdev | ||
nographic | ||
ntap | ||
nvme | ||
nvmef | ||
nvmf | ||
ol | ||
passthrough | ||
perfers | ||
powerdown | ||
qcow | ||
qemu | ||
queitly | ||
rc | ||
rdma | ||
repo | ||
roce | ||
rootfs | ||
runqemu | ||
rxe | ||
sbates | ||
seperate | ||
snapshotted | ||
stackoverflow | ||
sudo | ||
symlink | ||
sys | ||
targetted | ||
ttyS | ||
ubuntu | ||
usr | ||
virt | ||
virtfs | ||
virtio | ||
vm | ||
vmlinux | ||
wget | ||
www | ||
zerofree |
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