Add ipa_build_upper_constraints_file variable
This variable allows to customise the upper constraints file used to install packages inside the ipa-build-dib virtual environment. This can be used when we need a newer version of diskimage-builder than the one available in upper constraints for the current release. Change-Id: Idbe57e7edc3fae25153f5e24ad6b7847b1c4660c
This commit is contained in:
parent
d14aa37cd3
commit
56c1a886f5
@ -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.
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
------------------------------------
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user