aboutsummaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2026-06-16 22:15:29 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2026-07-30 15:55:31 +0200
commit71867b8e57273ffcc26f4fedd84919b2608da3f2 (patch)
treea5b6b1a3d9f1d9c033db7312b033a055d54aedfc /releasenotes
parent5d77668da8167435e4ac860392994f19ec733a46 (diff)
downloadkolla-71867b8e57273ffcc26f4fedd84919b2608da3f2.tar.gz
kolla-71867b8e57273ffcc26f4fedd84919b2608da3f2.zip
Move PIP_* env variables to ARG and config
Leaving empty CI template_overrides file in case we need to use it in future. Change-Id: Ic46f1a594bcc330536bc78d93ece10e60622f6d4 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/pip-build-args-3e222f6a67c57407.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/releasenotes/notes/pip-build-args-3e222f6a67c57407.yaml b/releasenotes/notes/pip-build-args-3e222f6a67c57407.yaml
new file mode 100644
index 000000000..38830a328
--- /dev/null
+++ b/releasenotes/notes/pip-build-args-3e222f6a67c57407.yaml
@@ -0,0 +1,19 @@
+---
+features:
+ - |
+ Added ``pip_index_url``, ``pip_trusted_host`` and ``pip_extra_index_url``
+ options to ``kolla-build.conf``. These set the corresponding
+ ``PIP_INDEX_URL``, ``PIP_TRUSTED_HOST`` and ``PIP_EXTRA_INDEX_URL``
+ build-time ``ARG`` instructions in the base image, passed via
+ ``--build-arg`` so the values do not persist in the final image.
+upgrade:
+ - |
+ Pip index configuration for image builds should now be set via the new
+ ``pip_index_url``, ``pip_trusted_host`` and ``pip_extra_index_url``
+ options in ``kolla-build.conf``, instead of ``ENV PIP_*`` lines in a
+ ``base_pip_conf`` template override. If your ``template_overrides.j2``
+ still sets ``ENV PIP_INDEX_URL``/``ENV PIP_TRUSTED_HOST``/
+ ``ENV PIP_EXTRA_INDEX_URL`` in that block, it will continue to take
+ precedence over the new build ``ARG`` values (``ENV`` persists in the
+ image and is evaluated after ``ARG``). Remove those ``ENV`` overrides
+ and use the new config options instead.