Enzo Candotti cd0f5c38c2 Add stx-fm-rest-api loci image
This change reorganizes the source directories of the stx-fm-rest-api
container to be reused by both CentOS and Debian Dockerfiles in order
to build the images having the corresponding OS-specic base.

As part of this, the fm-api, fm-rest-api, fm-common and
python-fmclient packages have been ported in order to generate deb
files that contain .whl.

Test plan:
PASS: Build debian iso and perform fresh install. Verify fm commands are
working as expected.
PASS: Build python3 wheels tarball on Debian. Verify fm, fm_api, fm_core
and fmclient .whl files are added.
PASS: Build Debian-based container and push it to a public registry.
Apply openstack application and update the fm-rest-api url to pull
this new image. Verify that:
    - pods are up and running with the new image/tag specified.
    - the container is running on Debian.
    - from inside the container, fm querys are working as expected.

Story: 2009831
Task: 46634

Depends-On: https://review.opendev.org/c/starlingx/config/+/862498

Signed-off-by: Enzo Candotti <enzo.candotti@windriver.com>
Change-Id: I2b35139f8775141e39f97a5a6037c5de2b4d5d76
2022-10-27 15:29:06 +00:00

43 lines
998 B
Plaintext

Source: fm-rest-api
Priority: optional
Section: libs
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13),
dh-python,
python3-all,
python3-dev,
python3-fm-api,
python3-keystoneauth1,
python3-keystonemiddleware,
python3-oslo.config,
python3-oslo.db,
python3-oslo.log,
python3-oslo.messaging,
python3-oslo.middleware,
python3-oslo.policy,
python3-oslo.versionedobjects,
python3-pecan,
python3-setuptools,
python3-sqlalchemy,
python3-wsme,
python3-wheel,
tsconfig
Standards-Version: 4.5.1
Rules-Requires-Root: no
Package: fm-rest-api
Section: libs
Architecture: any
Depends: ${python3:Depends},
${misc:Depends},
python3-eventlet,
python3-webob,
python3-paste
Description: Fault Management Openstack REST API
This package contains the Openstack REST API for fault management.
Package: fm-rest-api-wheel
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}
Description: Contains python wheels for fm-rest-api