Ironic-lib code has been rolled into Ironic-Python-Agent and Ironic where used; we no longer should support installing ironic-lib on master versions of IPA-builder. Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent/+/937743 Change-Id: I29acfa275adc6aa3ec187883e6a096bf4038e9f6
25 lines
820 B
ReStructuredText
25 lines
820 B
ReStructuredText
===========================
|
|
Contributor Documentation
|
|
===========================
|
|
|
|
.. include:: ../../../CONTRIBUTING.rst
|
|
|
|
Testing changes in DIB images
|
|
=============================
|
|
|
|
Testing a local ironic-python-agent change in :doc:`/admin/dib` requires
|
|
rebuilding an image with the following procedure.
|
|
|
|
#. Make sure your changes are committed to your local repository. DIB needs to
|
|
know a branch name to use (``my-test-branch`` in the example below).
|
|
|
|
#. Build an image as described in :doc:`/admin/dib`, providing a location of
|
|
your local repository and the branch name, for example:
|
|
|
|
.. code-block:: bash
|
|
|
|
DIB_REPOLOCATION_ironic_python_agent=/home/user/path/to/repo \
|
|
DIB_REPOREF_ironic_python_agent=my-test-branch \
|
|
ironic-python-agent-builder -o my-ipa --release 9-stream centos
|
|
|