Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test debian 12 #3119

Merged
merged 14 commits into from
Oct 3, 2024
10 changes: 10 additions & 0 deletions utils/_context/_scenarios/auto_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
OracleLinux88amd64,
OracleLinux88arm64,
OracleLinux79amd64,
Debian12amd64,
Debian12arm64,
)

from .core import Scenario
Expand Down Expand Up @@ -45,6 +47,8 @@ def __init__(
include_oraclelinux_8_8_amd64=False,
include_oraclelinux_8_8_arm64=False,
include_oraclelinux_7_9_amd64=False,
include_debian_12_amd64=False,
include_debian_12_arm64=False,
agent_env=None,
app_env=None,
scenario_groups=None,
Expand Down Expand Up @@ -88,6 +92,10 @@ def __init__(
self.required_vms.append(OracleLinux88arm64())
if include_oraclelinux_7_9_amd64:
self.required_vms.append(OracleLinux79amd64())
if include_debian_12_amd64:
self.required_vms.append(Debian12amd64())
if include_debian_12_arm64:
self.required_vms.append(Debian12arm64())

def print_installed_components(self):
logger.terminal.write_sep("=", "Installed components", bold=True)
Expand Down Expand Up @@ -220,5 +228,7 @@ def __init__(
include_oraclelinux_8_8_amd64=True,
include_oraclelinux_8_8_arm64=True,
include_oraclelinux_7_9_amd64=True,
include_debian_12_amd64=True,
include_debian_12_arm64=True,
scenario_groups=scenario_groups,
)
30 changes: 30 additions & 0 deletions utils/_context/virtual_machines.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,3 +426,33 @@ def __init__(self, **kwargs) -> None:
default_vm=False,
**kwargs,
)


class Debian12amd64(_VirtualMachine):
def __init__(self, **kwargs) -> None:
super().__init__(
"Debian_12_amd64",
aws_config=_AWSConfig(ami_id="ami-064519b8c76274859", ami_instance_type="t2.medium", user="ubuntu"),
vagrant_config=None,
krunvm_config=None,
os_type="linux",
os_distro="deb",
os_branch="debian12_amd64",
os_cpu="amd64",
**kwargs,
)


class Debian12arm64(_VirtualMachine):
def __init__(self, **kwargs) -> None:
super().__init__(
"Debian_12_arm64",
aws_config=_AWSConfig(ami_id="ami-0789039e34e739d67", ami_instance_type="t2.medium", user="ubuntu"),
vagrant_config=None,
krunvm_config=None,
os_type="linux",
os_distro="deb",
os_branch="debian12_arm64",
os_cpu="arm64",
**kwargs,
)
Loading