Skip to content

Commit 954829d

Browse files
bbezakmarkgoddardm-bull
committed
Pin base image tag
Co-Authored-By: Mark Goddard <[email protected]> Co-Authored-By: Matt Anson <[email protected]>
1 parent c42fce3 commit 954829d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

etc/kayobe/kolla/kolla-build.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
[DEFAULT]
2+
{# Packages in the latest upstream Ubuntu base image can be ahead of our package repo #}
3+
{# snapshots, so pin to a specific tag. #}
4+
{# This tag should be updated when Ubuntu package repo snapshot versions are changed. #}
5+
{% if kolla_base_distro == 'ubuntu' %}
6+
base_tag = jammy-20231004
7+
{# Similarily pinning to Rocky 9 minor version used in our repos #}
8+
{% elif kolla_base_distro == 'rocky' %}
9+
base_tag = 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
10+
{% endif %}
211
build_args = {{ kolla_build_args.items() | map('join', ':') | join(',') }}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
fixes:
2+
- |
3+
Pin the OCI image tag used for the base-image of Kolla image
4+
builds. This prevents packages in the image with
5+
the latest tag getting in front of StackHPC release-train
6+
package repositories. Ubuntu tag should be bumped when new
7+
packages are available in StackHPC release-train.

0 commit comments

Comments
 (0)