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 ubuntu 18 ARM #3118

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions utils/_context/_scenarios/auto_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
Ubuntu22amd64,
Ubuntu22arm64,
Ubuntu18amd64,
Ubuntu18arm64,
AmazonLinux2023arm64,
AmazonLinux2023amd64,
AmazonLinux2DotNet6,
Expand Down Expand Up @@ -39,6 +40,7 @@ def __init__(
include_ubuntu_22_amd64=False,
include_ubuntu_22_arm64=False,
include_ubuntu_18_amd64=False,
include_ubuntu_18_arm64=False,
include_amazon_linux_2_amd64=False,
include_amazon_linux_2_dotnet_6=False,
include_amazon_linux_2023_amd64=False,
Expand Down Expand Up @@ -75,6 +77,8 @@ def __init__(
self.required_vms.append(Ubuntu22arm64())
if include_ubuntu_18_amd64:
self.required_vms.append(Ubuntu18amd64())
if include_ubuntu_18_arm64:
self.required_vms.append(Ubuntu18arm64())
if include_amazon_linux_2_amd64:
self.required_vms.append(AmazonLinux2amd64())
if include_amazon_linux_2_dotnet_6:
Expand Down Expand Up @@ -226,6 +230,7 @@ def __init__(
include_ubuntu_22_amd64=True,
include_ubuntu_22_arm64=True,
include_ubuntu_18_amd64=True,
include_ubuntu_18_arm64=True,
include_amazon_linux_2_amd64=True,
include_amazon_linux_2_dotnet_6=True,
include_amazon_linux_2023_amd64=True,
Expand Down
18 changes: 17 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 @@ -267,6 +266,23 @@ def __init__(self, **kwargs) -> None:
)


class Ubuntu18arm64(_VirtualMachine):
def __init__(self, **kwargs) -> None:
super().__init__(
"Ubuntu_18_arm64",
aws_config=_AWSConfig(ami_id="ami-0cdc847843c239ff4", ami_instance_type="t4g.small", user="ubuntu"),
# vagrant_config=_VagrantConfig(box_name="generic/ubuntu1804"),
vagrant_config=None,
krunvm_config=None,
os_type="linux",
os_distro="deb",
os_branch="ubuntu18_arm64",
os_cpu="arm64",
default_vm=False,
**kwargs,
)


class AmazonLinux2amd64(_VirtualMachine):
def __init__(self, **kwargs) -> None:
super().__init__(
Expand Down
Loading