Merge "Add ipa_build_upper_constraints_file variable"

This commit is contained in:
Zuul 2021-03-04 11:58:52 +00:00 committed by Gerrit Code Review
commit df9174090b
6 changed files with 21 additions and 2 deletions

View File

@ -75,6 +75,10 @@ ipa_build_dib_git_elements: >-
# List of DIB packages to install. Default is none.
ipa_build_dib_packages: []
# Upper constraints file for installing packages in the virtual environment
# used for building IPA images. Default is {{ pip_upper_constraints_file }}.
ipa_build_upper_constraints_file: "{{ pip_upper_constraints_file }}"
###############################################################################
# Ironic Python Agent (IPA) images configuration.

View File

@ -29,7 +29,7 @@
vars:
os_images_venv: "{{ virtualenv_path }}/ipa-build-dib"
os_images_package_state: latest
os_images_upper_constraints_file: "{{ pip_upper_constraints_file }}"
os_images_upper_constraints_file: "{{ ipa_build_upper_constraints_file }}"
os_images_cache: "{{ image_cache_path }}"
os_images_common: ""
os_images_list:

View File

@ -20,7 +20,7 @@
vars:
os_images_venv: "{{ virtualenv_path }}/ipa-build-dib"
os_images_package_state: latest
os_images_upper_constraints_file: "{{ pip_upper_constraints_file }}"
os_images_upper_constraints_file: "{{ ipa_build_upper_constraints_file }}"
os_images_cache: "{{ image_cache_path }}"
os_images_common: ""
os_images_list:

View File

@ -84,6 +84,10 @@ image build``.
and ``ipa_build_dib_git_elements_extra``.
``ipa_build_dib_packages``
List of DIB packages to install. Default is none.
``ipa_build_upper_constraints_file``
Upper constraints file for installing packages in the virtual environment
used for building IPA images. Default is ``{{ pip_upper_constraints_file
}}``.
Example: Building IPA images locally
------------------------------------

View File

@ -61,6 +61,10 @@
# List of DIB packages to install. Default is none.
#ipa_build_dib_packages:
# Upper constraints file for installing packages in the virtual environment
# used for building IPA images. Default is {{ pip_upper_constraints_file }}.
#ipa_build_upper_constraints_file:
###############################################################################
# Ironic Python Agent (IPA) images configuration.

View File

@ -0,0 +1,7 @@
---
features:
- |
Adds the ``ipa_build_upper_constraints_file`` variable to select the upper
constraints file used to install diskimage-builder in the virtual
environment used for building IPA images. This allows you to install a
newer release than the one allowed by the default constraints.