gen-vm and run-vm cleanup #21
Workflow file for this run
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
name: smoke-tests | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
ubuntu-latest-x86: | |
name: ubuntu-latest-x86 | |
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-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: 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 | |
- 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 | |
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 |