Skip to content

Commit

Permalink
Pin base image tag
Browse files Browse the repository at this point in the history
Co-Authored-By: Mark Goddard <[email protected]>
Co-Authored-By: Matt Anson <[email protected]>
  • Loading branch information
3 people committed Dec 12, 2023
1 parent c42fce3 commit 157fdb8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions etc/kayobe/kolla/kolla-build.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
[DEFAULT]
{# Packages in the latest upstream Ubuntu base image can be ahead of our package repo #}
{# snapshots, so pin to a specific tag. #}
{# This tag should be updated when Ubuntu package repo snapshot versions are changed. #}
{% if kolla_base_distro == 'ubuntu' %}
base_tag = jammy-20231004
{# Similarly pinning to Rocky 9 minor version used in our repos #}
{% elif kolla_base_distro == 'rocky' %}
base_tag = 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
{% endif %}
build_args = {{ kolla_build_args.items() | map('join', ':') | join(',') }}
7 changes: 7 additions & 0 deletions releasenotes/notes/pin-baseimage-3d224df5b6f56b10.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fixes:
- |
Pin the OCI image tag used for the base-image of Kolla image
builds. This prevents packages in the image with
the latest tag getting in front of StackHPC release-train
package repositories. Ubuntu tag should be bumped when new
packages are available in StackHPC release-train.

0 comments on commit 157fdb8

Please sign in to comment.