829555e0d9
Enable auto-versioning of helm charts to ensure the FluxCD helm controller recognizes chart changes. To guarantee the helm chart version is incremented when a helm chart change is submitted, the following is implemented: - Provide a top level hierarchy for helm charts to differentiate between upstream and custom charts: helm-charts/{custom,upstream} - Move platform-helm package to helm-charts/upstream - Move ceph-pools-audit to helm-charts/custom. - stx-APP-helm now contains only manifests and final application packaging rules. No custom helm charts should be delivered here. - Use StarlingX debian git revcount packaging mechanisms to derive the semver PATCH version for custom helm charts. Chart version (MAJOR.MINOR.PATCH) is passed to 'helm package' command to force the version, where PATCH == 'git revcount' - Use StarlingX debian git revcount packaging mechanisms to derive the semver BUILD version for upstream helm charts which maintains the upstream chart version and adds a versioned BUILD extension. <version core> ::= <major> "." <minor> "." <patch> <valid semver> ::= <version core> "+" <build> Chart version (MAJOR.MINOR.PATCH+STX.REV) is passed to 'helm package' command to force the version, where REV == 'git revcount' - Establish a new package for the custom 'ceph-pools-audit' chart called 'ceph-pools-audit-helm' - Enforce a baseline version for both 'platform-helm' and 'ceph-pools-audit-helm' based on existing pre-move chart changes. $ git rev-list --count HEAD platform-helm/ 16 $ git rev-list --count HEAD \ stx-platform-helm/stx-platform-helm/helm-charts/ceph-pools-audit 19 - Update 'stx-platform-helm' to: - Update the build dependencies to include the new helm chart package and remove dependency on helm - Update the rules to remove building the ceph-pools-audit chart and automatically update the chart versions in the fluxCD helmrelease.yaml files. - Fix ceph-csi-rbd storage-init.yaml Job chart label as it was generating an invalid label based on the new auto versioning scheme. Additional changes and cleanup: - Remove 'helm dep' commands from chart Makefile as no chart dependencies are present - Fix formatting in 'platform-helm' and 'stx-platform-helm' changelogs to avoid dpkg-genchanges errors. Test Plan: PASS - Build all packages generating an application tarball verifying all versions on the charts and application make sense. PASS - Introduce temporary chart changes and ensure that the versions increment as expected. PASS - Validate basic application lifecycle operations: upload/apply/remove/delete. Change-Id: Ie5d5b9c7bb080210be18b0d886631638e705657f Story: 2010929 Task: 49363 Signed-off-by: Robert Church <robert.church@windriver.com>
20 lines
549 B
Plaintext
20 lines
549 B
Plaintext
Source: stx-platform-helm
|
|
Section: libs
|
|
Priority: optional
|
|
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
|
|
Build-Depends: debhelper-compat (= 13),
|
|
build-info,
|
|
ceph-pools-audit-helm,
|
|
platform-helm,
|
|
python3-k8sapp-platform,
|
|
python3-k8sapp-platform-wheels
|
|
Standards-Version: 4.5.1
|
|
Homepage: https://www.starlingx.io
|
|
|
|
Package: stx-platform-helm
|
|
Section: libs
|
|
Architecture: any
|
|
Depends: ${misc:Depends}
|
|
Description: StarlingX Platform FluxCD Helm Charts
|
|
This package contains FluxCD manifests for the platform applications.
|