-
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.
Merge pull request #42 from sbates130272/dev/stephen/qemu-gen-vm
gen-vm and run-vm cleanup
- Loading branch information
Showing
4 changed files
with
38 additions
and
19 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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
name: qemu-minimal-smoke-test | ||
name: smoke-tests | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
ubuntu-smoke-test: | ||
name: ubuntu-smoke-test | ||
|
||
ubuntu-latest-x86: | ||
name: ubuntu-latest-x86 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code using action/checkout | ||
|
@@ -15,11 +16,31 @@ jobs: | |
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 | ||
- name: Generate a x86_64 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 | ||
|
||
ubuntu-latest-arm64: | ||
name: ubuntu-latest-arm64 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code using action/checkout | ||
uses: actions/[email protected] | ||
- name: Install a couple of packages via the apt package manager | ||
run: sudo apt update && sudo apt install -y qemu-system-arm 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 aarch64 qemu-based ./gen-vm smoke-test | ||
run: ./gen-vm | ||
working-directory: qemu | ||
env: | ||
VM_NAME: qemu-minimal-smoke-test-arm64 | ||
KVM: none | ||
USERNAME: ubuntu | ||
PASS: password | ||
ARCH: arm64 |
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
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
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