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,
AlmaLinux8amd64,
AlmaLinux8arm64,
AlmaLinux9amd64,
Expand Down Expand Up @@ -49,6 +51,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,
include_almalinux_8_amd64=False,
include_almalinux_8_arm64=False,
include_almalinux_9_amd64=False,
Expand Down Expand Up @@ -96,6 +100,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())
if include_almalinux_8_amd64:
self.required_vms.append(AlmaLinux8amd64())
if include_almalinux_8_arm64:
Expand Down Expand Up @@ -236,6 +244,8 @@ 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,
include_almalinux_8_amd64=True,
include_almalinux_8_arm64=True,
include_almalinux_9_amd64=True,
Expand Down
33 changes: 32 additions & 1 deletion utils/_context/virtual_machines.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import hashlib

from utils.tools import logger
from utils._context.library_version import Version
from utils import context
from utils.onboarding.debug_vm import extract_logs_to_file

Expand Down Expand Up @@ -428,6 +427,38 @@ def __init__(self, **kwargs) -> None:
)


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="admin"),
vagrant_config=None,
krunvm_config=None,
os_type="linux",
os_distro="deb",
os_branch="debian12_amd64",
os_cpu="amd64",
default_vm=False,
**kwargs,
)


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


# 8.10.20240820
# https://wiki.almalinux.org/cloud/AWS.html#community-amis
class AlmaLinux8amd64(_VirtualMachine):
Expand Down
Loading