c0728ad8f877a144109493943db15ac914d166f4
Ensure that the same helm chart is not uploaded more than once to a
given Helm repository. Chart uniqueness is guaranteed by matching the
incoming chart's sha256 digest against the digest of the charts already
in the repository.
If there is a matching digest from a chart in the repository then the
upload is rejected and the script exits with error code 2.
Test Plan:
PASS: build-pkgs && build-image
TBD: AIO-SX fresh install
TBD: AIO-SX upgrade from stx-8
PASS: system application-upload vault-1.0-54.tgz
system application-delete vault
check if the chart tarball was removed from the Helm repository
check if the index.yaml file was regenerated accordingly
PASS: system application-upload vault-1.0-54.tgz
create test app with the same chart used on vault-1.0-54.tgz
upload the test app and verify that the upload process fails
PASS: system application-upload vault-1.0-54.tgz
system application-apply vault
system application-update vault-1.0-55.tgz
check if the chart tarball of the previous version was removed
from the Helm repository
check if the index.yaml file was regenerated accordingly
system application-delete vault
check if the chart tarball of the updated version was removed
from the Helm repository
check if the index.yaml file was regenerated accordingly
Change-Id: I974a627d31876c7e2cfd1df05b03c252d958a4d5
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
integ
StarlingX Integration
Description
Languages
Shell
27.9%
Python
22.5%
JavaScript
21.3%
Perl
12.6%
C++
5.7%
Other
9.9%