16f9d2ebf8
There is a bug in the octavia-lib DIB element where it runs install actions that should only be ran when the amphora-agent is installed from source. This issue causes the amphora image build to fail when installing the amphora-agent from distribution packages (option -p in the diskimage-create.sh tool). Task: 40870 Story: 2008138 Change-Id: I46ba7798322f24255ab7d49db4b4df886e92cbf3 |
||
---|---|---|
.. | ||
install.d/octavia-lib-source-install | ||
post-install.d | ||
element-deps | ||
README.rst | ||
source-repository-octavia-lib |
Element to install octavia-lib from a Git source.
This element allows octavia-lib installs from an arbitraty Git repository. This is especially useful for development environments.
By default, octavia-lib is installed from upstream master branch or from an upstream stable branch for OpenStack release series.
To install from an alternative Git location, define the following:
DIB_REPOLOCATION_octavia_lib=<path/to/octavia-lib>
DIB_REPOREF_octavia_lib=<branch or ref>
If you wish to build an image using code from a Gerrit review, you
can set DIB_REPOLOCATION_octavia_lib
and
DIB_REPOREF_octavia_lib
to the values given by Gerrit in
the fetch/pull section of a review. For example, installing octavia-lib
with change 744519 at patchset 2:
DIB_REPOLOCATION_octavia_lib=https://review.opendev.org/openstack/octavia-lib
DIB_REPOREF_octavia_lib=refs/changes/19/744519/2