octavia/elements/octavia-lib
Carlos Goncalves 16f9d2ebf8 Fix image build when installing agent from package
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
2020-09-14 18:56:36 +02:00
..
install.d/octavia-lib-source-install Fix image build when installing agent from package 2020-09-14 18:56:36 +02:00
post-install.d Add DIB element octavia-lib 2020-08-24 11:24:19 +02:00
README.rst Add DIB element octavia-lib 2020-08-24 11:24:19 +02:00
element-deps Add DIB element octavia-lib 2020-08-24 11:24:19 +02:00
source-repository-octavia-lib Add DIB element octavia-lib 2020-08-24 11:24:19 +02:00

README.rst

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