Commit Graph

15 Commits

Author SHA1 Message Date
Luis Sampaio c89f11529e Update debian package versions to use git commits
The Debian packaging has been changed to reflect all the
git commits under the directory, and not just the commits
to the metadata folder.

This ensures that any new code submissions under those
directories will increment the versions.

Test Plan:
  PASS: build-pkgs -p config-gate
  PASS: build-pkgs -p controllerconfig
  PASS: build-pkgs -p storageconfig
  PASS: build-pkgs -p cert-alarm
  PASS: build-pkgs -p cert-mon
  PASS: build-pkgs -p cgts-client
  PASS: build-pkgs -p sysinv-agent
  PASS: build-pkgs -p sysinv
  PASS: build-pkgs -p tsconfig
  PASS: build-pkgs -p workerconfig

Story: 2010550
Task: 47305
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: I50ac37d06740cc096711c136ad815dcdf54528bf
2023-02-10 20:11:06 +00:00
Charles Short ddf7f070dc debian: Remove package preset install for config
Remove the installation of per-package preset installs
since they are centrally managed now by the ISO install
for the following packages:

- config-gate-worker
- config-gate
- controllerconfig
- sysinv-agent
- sysinv-fpga-agent

Story: 2009968
Task: 46406

Test Plan

PASS Build package
PASS Build ISO
PASS Check for non-existant preset file in /etc/systemd/system-preset

Depends-On: https://review.opendev.org/c/starlingx/integ/+/853653

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I4204f75d3a7cfc25ab8b5f303d12023eafc212f0
2022-09-27 08:20:41 +00:00
Chuck Short 01a6f9880b debian: Fix config-gate packaging
This commit does several things at once:

- Ensures that the config.service starts
- Ensures that the preset are installed when the
  packages are installed.

Test Plan
PASS Build packaage
PASS Build and Install ISO
PASS Ensure config.service is enabled.

Story: 2009101
Task: 44678

Depends-On: https://review.opendev.org/c/starlingx/integ/+/831950

Signed-off-by: Chuck Short <charles.short@windriver.com>
Change-Id: Ice4cb8e1139b73fe63d12253d8d3a86b0fa3dd80
2022-03-08 20:19:15 +00:00
Charles Short 4d2ba548dc Add debian package for config-gate
Add debian directory to build config-gate for Debian.

Story: 2009101
Task: 43020

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: If34ac97e66cf1ba07c9cd6cdf9811d48b9700950
2021-10-05 03:58:30 -04:00
Don Penney 320cc40de8 Add auto-versioning to starlingx/config packages
This update makes use of the PKG_GITREVCOUNT variable to auto-version
the packages in this repo.

Change-Id: I3a2c8caeb4b4647608978b1f2ccfcf0661508803
Depends-On: https://review.opendev.org/727837
Story: 2006166
Task: 39766
Signed-off-by: Don Penney <don.penney@windriver.com>
2020-05-20 14:11:21 +00:00
Sharath Kumar K d9f2aea0fb De-branding in starlingx/config: CGCS -> StarlingX
1. Rename CGCS to StarlingX for .spec files

Test:
After the de-brand change, bootimage.iso has been built in the flock
Layer and installed on the dev machine to validate the changes.

Please note, doing de-brand changes in batches, this is batch9 changes.

Story: 2006387
Task: 39524

Change-Id: Ia1fe0f2baafb78c974551100f16e6a7d99882f15
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>

De-branding in starlingx/config: CGCS -> StarlingX

1. Rename CGCS to StarlingX for .spec file
2. Rename TIS to StarlingX for .service files

Test:
After the de-brand change, bootimage.iso has been built in the flock
Layer and installed on the dev machine to validate the changes.

Please note, doing de-brand changes in batches, this is batch10 changes.

Story: 2006387
Task: 36202

Change-Id: I404ce0da2621495175ad31489e9ad6f7b0211e26
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
2020-05-19 17:03:07 +02:00
Saul Wold 9bdfbe8942 Update opensuse RPM spec-file version to 1.0.0
Standardize the version numbering to X.Y.Z

Story: 2006623
Task: 37134
Change-Id: I13b320ed57840064e2bca3cdf8aa7f2f2b1534c8
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-10-16 14:54:29 -07:00
Saul Wold 2d8eff32fb Fix-up config-gate opensuse spec-file
The %post section referred to the wrong service file, use
workerconfig not sysinv-agent.

Story: 2006723
Task: 37136
Change-Id: I5d8f82c7e08f714bad1490015bed969ce32cd039
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-10-15 07:57:18 -07:00
Saul Wold 7a5b6e9555 Add rpmlintrc for openSUSE Build System (OBS)
These files will be extracted by the _service file that is managed
by OBS.

These do not affect the CentOS build

Story: 2006723
Task: 37133
Change-Id: Iec8329ca2c7d6442cd41436c291eae79326052fb
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-10-15 07:57:15 -07:00
Hayde Martinez 0bf8acbee6 openSUSE: Open Build Service Artifacts
Build Service Management using Open Build Service (OBS) with the following
base artifacts:
- Specfile
- Changelog

OBS is a generic system to build and distribute binary packages from
sources [0], StarlingX OBS Project:
- Cloud:starlingx:2.0 [1]

[0] openbuildservice.org
[1] https://build.opensuse.org/project/show/Cloud:StarlingX:2.0

Story: 2006508
Task: 36549
Task: 36550

Change-Id: Ie42be9038b8ddb2257a2b97c26404b82e428a680
Signed-off-by: Hayde Martinez <hayde.martinez.landa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-09-18 09:53:05 -07:00
Erich Cordoba 05a26e9061 Add notices on Intel authored files.
Story: 2005265
Task: 30083

Change-Id: Ibcae6539747beb9d641e7d5eef4c4ff7574a8b13
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-03-20 10:03:44 -06:00
Tao Liu 6256b0d106 Change compute node to worker node personality
This update replaced the compute personality & subfunction
to worker, and updated internal and customer visible
references.

In addition, the compute-huge package has been renamed to
worker-utils as it contains various scripts/services that
used to affine running tasks or interface IRQ to specific CPUs.
The worker_reserved.conf is now installed to /etc/platform.

The cpu function 'VM' has also been renamed to 'Application'.

Tests Performed:
Non-containerized deployment
AIO-SX: Sanity and Nightly automated test suite
AIO-DX: Sanity and Nightly automated test suite
2+2 System: Sanity and Nightly automated test suite
2+2 System: Horizon Patch Orchestration
Kubernetes deployment:
AIO-SX: Create, delete, reboot and rebuild instances
2+2+2 System: worker nodes are unlock enable and no alarms

Story: 2004022
Task: 27013

Change-Id: I0e0be6b3a6f25f7fb8edf64ea4326854513aa396
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2018-12-13 14:15:55 -05:00
Erich Cordoba 0cfa34f45f Add makefile for config-gate
Story: 2004043
Task: 27551

Change-Id: I92d38ba07cafbf08f77df1235bb947bf1a9ca404
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2018-11-06 11:34:15 -06:00
SidneyAn 47ac546217 Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042
Listed below are the errors which were fixed as well as the actions
    taken to fix them:
    E010: do not on the same line as for
    --> let do and for in the same line
    E011: then not on the same line as if or elif
    --> let then and if or elif in the same line
    E020: Function declaration not in format ^function name {$
    --> fix the format to suit ^function name {$
    E041: Usage of $[ for arithmetic is deprecated for $((
    --> fix from $[ to $((
    E043: arithmetic compound has inconsistent return semantics
    --> do not use +=, ++, -=, --; use value=value+?  instead.
    E001: check that lines do not end with trailing whitespace
    --> delete trailing whitespace
    E003: ensure all indents are a multiple of 4 spaces
    --> add/delete spaces
    E042: local declaration hides errors
    --> let declaration and assignment in two lines.

    Listed below are test cases done which run one controller
    and one compute in KVMs
    Test-Install      ----  success

Related: https://review.openstack.org/#/c/600663/
         https://review.openstack.org/#/c/601221/

Story: 2003360
Task: 26213

Change-Id: I3ece37db3a326ea58bd344f43beefcbbbd4f0ad4
Signed-off-by: SidneyAn <ran1.an@intel.com>
2018-09-11 21:47:40 +08:00
Dean Troyer 9b95aa0a35 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:35:52 -07:00