7 Commits

Author SHA1 Message Date
Zuul
59f38c1ec3 Merge "Add apt-ostree Debian package" 2023-10-10 15:36:45 +00:00
Jessica Castelino
af133fec2f Build Software Client python wheels package
USM needs to build a python wheels package containing ONLY the
‘software’ cli client for inclusion in the Remote CLI Container.

Test Plan:
PASS Build software-client package
PASS Build ISO
PASS Install ISO
PASS Run "software list" and "software upload"

Story: 2010676
Task: 48851
Change-Id: Idb6d69a66d625291094501cacdb0bb84f511f81d
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
2023-10-05 20:16:14 +00:00
Charles Short
9ce981bc35 Add apt-ostree Debian package
Apt-ostree is a hybrid image/package management system
that leverages Ostree.

Test Plan
PASS Build/install Debian package.
PASS Build ISO
PASS Run install
PASS Run apt-ostree version.

Story: 2010867
Task: 48556

Depends-On: https://review.opendev.org/c/starlingx/tools/+/894566

Change-Id: I2bd6104660e4b384b5bc7d83d09332ef68888438
Signed-off-by: Charles Short <charles.short@windriver.com>
2023-09-11 14:15:55 -04:00
Al Bailey
7f76bea9d3 Upload skeleton for unified software management
Current Status:
 - minimal debian packaging
 - python skeleton
 - tox
 - zuul integration
 - pecan API skeleton
 - unit tests

Next Steps:
 - CLI commands
 - API endpoints
 - controller
 - agent
 - expanded packaging

Test Plan:
  PASS: Build and Install ISO
  PASS: tox
  PASS: 'software' is in the PATH and can be invoked.
  PASS:  wget http://127.0.0.1:5490 returns 204 when
    software-api is running

Story: 2010676
Task: 47754
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I8e2d993ac85dcff7bb970ddf05fd63db9f2abe11
2023-04-03 14:03:04 +00:00
Al Bailey
be09ccc584 Fork cgcs-patch package as sw-patch for Debian
The original cgcs-patch is rpm based which requires a
complete re-write to work on ostree/dpkg systems like Debian.

The code has been forked, since the older Centos env and
python2.7 are end-of-life.

Forking the code allows all new development to not
require re-testing on Centos.

The debian folder under cgcs-patch has been moved
under sw-patch

Renaming and refactoring will be done in later commits.

pylint is un-clamped in order to work on python3.9
Some minor pylint suppressions have been added.

Test Plan:
 Verify that this builds on Debian
 Verify that the ISO installs the new content on Debian without
breaking packages that import cgcs_patch.
 Verify patching service runs on Debian

Co-Authored-By: Jessica Castelino <jessica.castelino@windriver.com>
Story: 2009101
Task: 43076
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I3f1bca749404053bae63d4bcc9fb2477cf909fcd
2022-03-29 20:35:14 +00:00
Tracey Bogue
0131cd569c Add Debian packaging for patch packages
Create Debian packages for patch-alarm and enable-dev-patch.

Story: 2009101
Task: 43897

Signed-off-by: Tracey Bogue <tracey.bogue@windriver.com>
Change-Id: Iaa0958cc857d914a99c69e063b46ded59b4af285
2021-12-02 10:19:42 -06:00
Charles Short
e60858b9a7 Add debian packaging for cgcs-patch
Add debian packaging infrastructure for cgcs-patch.

Story: 2009101
Task: 43076

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I6becf1c9cae10af78a4c4e75a2da3afa8b8420dd
2021-10-19 13:24:28 -04:00