diff options
| author | Zuul <zuul@review.opendev.org> | 2026-07-30 21:22:19 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2026-07-30 21:22:19 +0000 |
| commit | 495b6b8fe437a06f32575b7308192ffc4f76f7b9 (patch) | |
| tree | 2a3e1131ae44f7376ed92f2610d9409597f5a0df /releasenotes | |
| parent | 4b869009c3336ab0f68353e71fcef30dd4cf44b3 (diff) | |
| parent | 71867b8e57273ffcc26f4fedd84919b2608da3f2 (diff) | |
| download | kolla-495b6b8fe437a06f32575b7308192ffc4f76f7b9.tar.gz kolla-495b6b8fe437a06f32575b7308192ffc4f76f7b9.zip | |
Merge "Move PIP_* env variables to ARG and config"
Diffstat (limited to 'releasenotes')
| -rw-r--r-- | releasenotes/notes/pip-build-args-3e222f6a67c57407.yaml | 19 |
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. |
