Skip to content

Commit 95fd537

Browse files
committed
Merge remote-tracking branch 'origin/sync/zed-into-2023.1' into HEAD
2 parents 806f838 + 210d2f5 commit 95fd537

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

etc/kayobe/kolla-image-tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ kolla_image_tags:
1010
ubuntu-jammy: 2023.1-ubuntu-jammy-20231228T140806
1111
cloudkitty:
1212
ubuntu-jammy: 2023.1-ubuntu-jammy-20231115T110235
13-
haproxy-ssh:
13+
haproxy_ssh:
1414
ubuntu-jammy: 2023.1-ubuntu-jammy-20240104T071640
1515
letsencrypt:
1616
ubuntu-jammy: 2023.1-ubuntu-jammy-20240104T071640

etc/kayobe/pulp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ stackhpc_pulp_distribution_container_kolla_common:
566566
stackhpc_pulp_distribution_container_kolla: >-
567567
{%- set distributions = [] -%}
568568
{%- for image in stackhpc_pulp_images_kolla_filtered -%}
569-
{%- if image not in stackhpc_kolla_unbuildable_images[kolla_base_distro]-%}
569+
{%- if image not in stackhpc_kolla_unbuildable_images[kolla_base_distro_and_version]-%}
570570
{%- set image_repo = kolla_docker_namespace ~ "/" ~ image -%}
571571
{%- set distribution = {"name": image_repo, "repository": image_repo, "base_path": image_repo} -%}
572572
{%- set _ = distributions.append(stackhpc_pulp_distribution_container_kolla_common | combine(distribution)) -%}

tools/kolla-images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def get_parent_tag_name(kolla_image_tags: KollaImageTags, base_distro: Optional[
152152

153153
if container in CONTAINER_TO_PREFIX_VAR_EXCEPTIONS:
154154
prefix_var = CONTAINER_TO_PREFIX_VAR_EXCEPTIONS[container]
155-
if prefix_var in kolla_image_tags:
155+
if prefix_var in kolla_image_tags and (base_distro is None or base_distro in kolla_image_tags[prefix_var]):
156156
return prefix_var
157157
else:
158158
prefix_var = container
@@ -221,7 +221,7 @@ def get_openstack_release() -> str:
221221

222222
def validate(kolla_image_tags: KollaImageTags):
223223
"""Validate the kolla_image_tags variable."""
224-
tag_var_re = re.compile(r"^[a-z0-9_-]+$")
224+
tag_var_re = re.compile(r"^[a-z0-9_]+$")
225225
openstack_release = get_openstack_release()
226226
tag_res = {
227227
base_distro: re.compile(f"^{openstack_release}-{base_distro}-[\d]{{8}}T[\d]{{6}}$")

0 commit comments

Comments
 (0)