integ/kubernetes
Igor Soares 61f9198a3e Use diff tool to differentiate charts
This commit changes how we differentiate Helm charts when uploading new
StarlingX applications. The method previously used was based on
comparing SHA256 digests, which was causing the helm-upload script to
mistakenly report charts with the same implementation as different
after rebuilding them with no changes.

The new implementation uses the diff tool to perform such comparison so
that charts with the same implementation are reported as equals
regardless of whether they were rebuilt.

In addition, two new parameters were added to the helm-upload script:
    * 'check-only':  check if charts are valid without uploading them to
                     the given repository.
    * 'upload-only': upload charts to the given repository bypassing the
                     preliminary checks.

The new parameters aim for more flexibility when integrating with other
pieces of software such as sysinv.

Test Plan:
PASS: build-pkgs -a && build-image
PASS: AIO-SX fresh install.
PASS: Update platform-integ-apps containing a rebuilt version of
      ceph-pools-audit with no changes.
      Confirm that the app was successfully updated.
PASS: Update platform-integ-apps containing a rebuilt version of
      ceph-pools-audit containing changes to values.yaml but keeping the
      same version number.
      Confirm that the app update failed.
PASS: Run helm-upload with the 'check-only' parameter and confirm that
      no charts were uploaded.
PASS: Run helm-upload with the 'upload-only' parameter and confirm that
      charts were correctly uploaded.
PASS: Run helm-upload without the new parameters and confirm that the
      original behavior was preserved.

Partial-Bug: 2053074

Change-Id: I45f6482118f5ecf9da1b51f21fbaf0db63eb321c
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2024-04-02 12:12:54 -03:00
..
chartmuseum Upversion chartmuseum from 0.12.0 to 0.13.0 2023-08-08 09:59:54 -03:00
cni debian-pkg: Update golang for cni plugins 2024-02-23 16:43:30 +00:00
containerd Improve shutdown of containerd 2023-11-09 12:12:48 -05:00
crictl/debian Fix lint errors identified by Zuul pylint job 2023-03-15 12:07:17 +00:00
docker-distribution Upversion docker-distribution to v2.8.2+ds1-1 2023-11-10 12:44:09 -03:00
etcd Etcd upversion from 3.3.25 to 3.4.27 2024-01-31 18:49:54 +00:00
helm Use diff tool to differentiate charts 2024-04-02 12:12:54 -03:00
k8s-cni-cache-cleanup Update k8s-cni-cache-cleanup ver based on git 2023-02-21 21:19:18 +00:00
k8s-pod-recovery Update k8s-pod-recovery pkg ver based on git 2023-02-22 15:57:27 +00:00
kubernetes-1.24.4/debian Set kubernetes kubeadm UpgradeManifestTimeout to 3 minutes 2024-03-17 23:03:19 -04:00
kubernetes-1.25.3/debian Set kubernetes kubeadm UpgradeManifestTimeout to 3 minutes 2024-03-17 23:03:19 -04:00
kubernetes-1.26.1/debian Set kubernetes kubeadm UpgradeManifestTimeout to 3 minutes 2024-03-17 23:03:19 -04:00
kubernetes-1.27.5/debian Set kubernetes kubeadm UpgradeManifestTimeout to 3 minutes 2024-03-17 23:03:19 -04:00
kubernetes-1.28.4/debian Set kubernetes kubeadm UpgradeManifestTimeout to 3 minutes 2024-03-17 23:03:19 -04:00
kubernetes-1.29.2/debian Add kubernetes 1.29.2 patches 2024-03-06 10:20:55 -05:00
kubernetes-unversioned Update kubelet.kubeconfig environment variable 2023-07-17 17:58:48 -04:00
n3000 cengn reference removal 2023-09-14 09:56:20 -04:00
plugins Fix for dwz compression error in isolcpus-device-plugin 2023-09-06 09:45:39 -04:00
runc/debian Up-rev runc package to 1.1.12 2024-03-20 09:43:36 -04:00