vmware-tanzu / package-for-kubeapps

This repo will house the carvel tooling specific configuration and templating for a deployment of Kubeapps (https://github.com/vmware-tanzu/kubeapps) that will be leveraged by TCE
Apache License 2.0
5 stars 0 forks source link

Automatic testing of new package before publishing release #7

Closed absoludity closed 2 years ago

absoludity commented 2 years ago

As part of publishing the Kubeapps carvel package, we want/need to ensure that the package passes CI before publishing the release.

I'd be keen to ensure that this includes upgrading from the previous published release to the new one.

Not sure if this also needs to test Kubeapps functionality (that we test in our own pipeline for the chart) or just the install/upgrade, but perhaps we can just start with the install/upgrade for now.

ppbaena commented 2 years ago

Not sure if this also needs to test Kubeapps functionality (that we test in our own pipeline for the chart) or just the install/upgrade, but perhaps we can just start with the install/upgrade for now.

+1 to start with the install/upgrade for now

absoludity commented 2 years ago

With #10 , the script was updated to automatically test new package before publishing the release, by spinning up a kind cluster and installing the carvel tooling. It was a bit of a pain to find a way to ensure that the carvel-specific CR's could be added (have to wait for the apiservice to be available), but working now.

I've also documented the use of the script in the CONTRIBUTING.md doc, and created a couple of smaller related issues for later.

I can't yet test the upgrade as we only have one version of the package (8.0.10) that works. So have moved that to #13 . The other remaining piece will be to run this script automatically when a new version of the bitnami chart is published #14.