Skip to content

Commit

Permalink
Merge pull request #835 from stackhpc/zed-pin-base-image
Browse files Browse the repository at this point in the history
Pin base image
  • Loading branch information
mnasiadka authored Dec 13, 2023
2 parents c42fce3 + 157fdb8 commit 0f5f21a
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 0f5f21a

Please sign in to comment.