Skip to content

Commit

Permalink
Add Ubuntu 24 to end-to-end tests (#3041)
Browse files Browse the repository at this point in the history
* Add Ubuntu 24 to end-to-end tests

* disable AzureMonitorLinuxAgent

---------

Co-authored-by: narrieta <narrieta>
  • Loading branch information
narrieta authored Feb 7, 2024
1 parent e97d63b commit 8bc876d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions tests_e2e/test_suites/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ image-sets:
- "ubuntu_1804"
- "ubuntu_2004"
- "ubuntu_2204"
- "ubuntu_2404"

# Endorsed distros (ARM64) that are tested on the daily runs
endorsed-arm64:
Expand Down Expand Up @@ -177,3 +178,9 @@ images:
locations:
AzureChinaCloud: []
AzureUSGovernment: []
ubuntu_2404:
# TODO: Currently using the daily build, update to the release build once it is available
urn: "Canonical 0001-com-ubuntu-server-noble-daily 24_04-daily-lts-gen2 latest"
locations:
AzureChinaCloud: []
AzureUSGovernment: []
2 changes: 1 addition & 1 deletion tests_e2e/tests/lib/vm_extension_identifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, publisher: str, ext_type: str, version: str):

unsupported_distros: Dict[str, List[str]] = {
"Microsoft.OSTCExtensions.VMAccessForLinux": ["flatcar"],
"Microsoft.Azure.Monitor.AzureMonitorLinuxAgent": ["flatcar", "mariner_1"]
"Microsoft.Azure.Monitor.AzureMonitorLinuxAgent": ["flatcar", "mariner_1", "ubuntu_2404"]
}

def supports_distro(self, system_info: str) -> bool:
Expand Down

0 comments on commit 8bc876d

Please sign in to comment.