Skip to content

[BUG] Test for SCS-0104 fails for other image source #1111

@mauhau

Description

@mauhau

The source of images is checked to be with prefixes documented as examples.

We added our prefix to the test but imho the test should only validate if the source is set to a correct url.

diff --git a/Tests/iaas/scs_0104_standard_images/standard_images.py b/Tests/iaas/scs_0104_standard_images/standard_images.py
index 6f8c827..4c35cf1 100644
--- a/Tests/iaas/scs_0104_standard_images/standard_images.py
+++ b/Tests/iaas/scs_0104_standard_images/standard_images.py
@@ -13,6 +13,7 @@ _specs = yaml.safe_load(r"""
   source:
   - https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2404-kube
   - https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube
+  - https://repo.uhurutec.io/content/umetal/k8s-node-images
 "ubuntu-capi-image-2":
   # this name_scheme uses `-` to separate base name "ubuntu-capi-image" from version
   # latest openstack-image-manager can be told to use `-` by setting `separator: "-"` on the image
@@ -20,6 +21,7 @@ _specs = yaml.safe_load(r"""
   source:
   - https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2404-kube
   - https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube
+  - https://repo.uhurutec.io/content/umetal/k8s-node-images
 "Ubuntu 24.04":
   source:
   - https://cloud-images.ubuntu.com/releases/noble/

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions