Files
vms/lib/provider.py
T
Greg HellingsandGitHub 255f6f68e6 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
2023-12-12 11:57:09 -06:00

16 lines
376 B
Python

class Provider:
def __init__(self, name, arch):
self.name = name
self.arch = arch
def __str__(self) -> str:
return f"{self.name}.{self.arch}"
@property
def runner(self) -> str:
if self.name == "qemu":
return "isaiah"
elif self.name.startswith("virtualbox"):
return "isaiah"
return None