Test on SHR (#15)

* Test on SHR

* Fix name? Maybe?

* Restore proper Bash syntax

* Simplify build

* Pin to Isaiah

* Update to checktout v4

* Bring back the caching

* Set plugin path locally

* Separate jobs, just so I can handle this

* Allow easier target switching

* Test just qemu

* Constrain HTTP ports

* Prevent resource collision for network

* Re-enable building all

* Try only vbox
This commit is contained in:
Greg Hellings
2023-12-12 11:57:09 -06:00
committed by GitHub
parent ebbc8a7371
commit 255f6f68e6
4 changed files with 28 additions and 35 deletions
+10
View File
@@ -74,6 +74,16 @@ variable "http_directory" {
default = ""
}
variable "http_port_min" {
type = number
default = 8000
}
variable "http_port_max" {
type = number
default = 9000
}
variable "cpu_model" {
type = string
default = "host"
+3 -3
View File
@@ -28,16 +28,16 @@ source "qemu" "amd64" {
qemuargs = [
#["-chardev", "stdio,id=char0,logfile=serial-output-qemu-${var.arch}-${var.distro}-${var.version},signal=off"],
#["-serial", "chardev:char0"],
["-chardev", "socket,host=localhost,port=9876,server=on,wait=off,id=qga0"],
["-chardev", "socket,path=${local.name}.qga.sock,server=on,wait=off,id=qga0"],
["-device", "virtio-serial"],
["-device", "virtserialport,chardev=qga0,name=org.qemu.guest_agent.0"],
["-qmp", "tcp:localhost:4444,server,wait=off"],
]
accelerator = var.qemu_accelerator
http_content = var.http_files
http_directory = var.http_directory
http_port_min = var.http_port_min
http_port_max = var.http_port_max
cd_content = var.cd_content
cd_files = var.cd_files
cd_label = var.cd_label