Refactor stx-node-feature-discovery-helm package name
Previous changes enabled the auto-versioning of helm charts to ensure FluxCD helm controller recognizes chart changes. As a result of the helm charts being moved to another Debian package, the `stx-node-feature-discovery-helm` package name became outdated. This commit updates its name to `stx-node-feature-discovery`. Story: 2011126 Task: 50085 Test Plan: PASS: Build all packages generating an application tarball and check whether the charts' versions are correct. PASS: Validate basic application lifecycle operations: upload/apply/remove/delete. PASS: Check whether older package is replaced upon new package installation. PASS: Check whether application upgrade executes successfully Author: Guilherme Santos <guilherme.santos@windriver.com> Change-Id: If288b79f1e20d8299a9374f4a604e256ef72879e Signed-off-by: Guilherme Santos <guilherme.santos@windriver.com>
This commit is contained in:
parent
c797c5f989
commit
6a3afa87e4
@ -1,2 +1 @@
|
||||
#stx-node-feature-discovery-helm
|
||||
stx-node-feature-discovery-helm
|
||||
stx-node-feature-discovery
|
||||
|
@ -1,3 +1,3 @@
|
||||
helm-charts/upstream/node-feature-discovery-helm
|
||||
python3-k8sapp-node-feature-discovery
|
||||
stx-node-feature-discovery-helm
|
||||
stx-node-feature-discovery
|
||||
|
@ -1,3 +1,9 @@
|
||||
stx-node-feature-discovery (1.2-0) unstable; urgency=medium
|
||||
|
||||
* Rename package.
|
||||
|
||||
-- Guilherme Santos <guilherme.santos@windriver.com> Tue, 22 May 2024 11:48:32 +0000
|
||||
|
||||
stx-node-feature-discovery-helm (1.1-1) unstable; urgency=medium
|
||||
|
||||
* Update image tag.
|
@ -1,4 +1,4 @@
|
||||
Source: stx-node-feature-discovery-helm
|
||||
Source: stx-node-feature-discovery
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
|
||||
@ -11,9 +11,11 @@ Build-Depends: debhelper-compat (= 13),
|
||||
Standards-Version: 4.5.1
|
||||
Homepage: https://www.starlingx.io
|
||||
|
||||
Package: stx-node-feature-discovery-helm
|
||||
Package: stx-node-feature-discovery
|
||||
Replaces: stx-node-feature-discovery-helm
|
||||
Conflicts: stx-node-feature-discovery-helm
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}
|
||||
Description: StarlingX Node Feature Discovery Application FluxCD Helm Charts
|
||||
Description: StarlingX Node Feature Discovery FluxCD Application
|
||||
This package contains FluxCD manifests for the node feature discovery application.
|
@ -1,5 +1,5 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: stx-node-feature-discovery-helm
|
||||
Upstream-Name: stx-node-feature-discovery
|
||||
Source: https://opendev.org/starlingx/app-node-feature-discovery/
|
||||
|
||||
Files: *
|
@ -32,7 +32,7 @@ override_dh_auto_build:
|
||||
chart_name=$${chart%-*}; \
|
||||
chart_version=$${chart##*-}; \
|
||||
echo "Found $$chart; name: $$chart_name, version: $$chart_version"; \
|
||||
chart_manifest=$$(find $(STAGING)/fluxcd-manifests -name helmrelease.yaml -exec grep -q $$chart_name {} \; -print); \
|
||||
chart_manifest=$$(find $(STAGING)/fluxcd-manifests/$$chart_name -name helmrelease.yaml -exec grep -q $$chart_name {} \; -print); \
|
||||
echo "Updating manifest: $$chart_manifest"; \
|
||||
sed -i "s/REPLACE_HELM_CHART_VERSION/$$chart_version/g" $$chart_manifest; \
|
||||
grep version $$chart_manifest; \
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
debname: stx-node-feature-discovery-helm
|
||||
debver: 1.1-1
|
||||
src_path: stx-node-feature-discovery-helm
|
||||
debname: stx-node-feature-discovery
|
||||
debver: 1.2-0
|
||||
src_path: stx-node-feature-discovery
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
GITREVCOUNT:
|
Loading…
x
Reference in New Issue
Block a user