Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Updated upstream repo to https://github.com/quintush/helm-unittest #15

Open
wants to merge 238 commits into
base: master
Choose a base branch
from

Conversation

rawmind0
Copy link

Original upstream repo https://github.com/helm-unittest/helm-unittest is not maintained anymore. Updating upstream repo to https://github.com/quintush/helm-unittest. The new upstream repo is maintained and provides new features as supporting helm v3 testing.

nlqvh and others added 30 commits October 8, 2019 15:37
…vers. For simplicity started with JUnit, but created a factory pattern to easy expand to other formats. Also updated the test to ensure to original version is still working.
Update ci to use golang 1.13 for distribution, this version supports …
Add NUnitTest format, including some verification.
Fix setting right variable for flag output-type.
…m charts as helm3 charts (helm-unittest#87, helm-unittest#98). Also updated helm2 libraries to support last rendering (helm-unittest#96).
quintush and others added 23 commits March 31, 2021 20:56
…tation

Add initial FAQ and update related documentation to point to the FAQ.
Trying to install the plugin from more than one user on the same machine
fails when it is unpacking the tar.  The error looks like this:

[ktest@k8s-rhel7-01 ~]$ helm plugin install https://github.com/quintush/helm-unittest
Support linux-amd64
Retrieving https://api.github.com/repos/quintush/helm-unittest/releases/tags/v0.2.6
Downloading https://github.com/quintush/helm-unittest/releases/download/v0.2.6/helm-unittest-linux-amd64-0.2.6.tgz to location /tmp/_dist/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   643  100   643    0     0   2485      0 --:--:-- --:--:-- --:--:--  2492
100 17.8M  100 17.8M    0     0  23.2M      0 --:--:-- --:--:-- --:--:-- 23.2M
Validating Checksum.
tar: untt: Cannot open: File exists
tar: README.md: Cannot open: File exists
tar: LICENSE: Cannot open: File exists
tar: plugin.yaml: Cannot open: File exists
tar: Exiting with failure status due to previous errors
Failed to install helm-unittest
For support, go to https://github.com/kubernetes/helm
Error: plugin install hook for "unittest" exited with error

The root of the problem is that a temporary dir is not cleand up.  The fix I
applied was to remove this temp dir.
Allow plugin install on shared machine
After a test job executes, chart.Metadata.Dependencies.ImportValues type is changed from <map[string]interface {}> to <map[string]string>, which breaks the next job execution, as helm simply ignores ImportValues when type is <map[string]string>.
…rdetails, fixed and updated import-values including subsubcharts tests.
Clone chart.Metadata.Dependencies between test job executions
dependend -> dependent
Documenting `jq`-like path selection syntax
…-type

Update readme to add missing -t flag and fix description of -o flag
@rawmind0 rawmind0 force-pushed the helmv3 branch 2 times, most recently from 65a87c5 to d916134 Compare August 22, 2021 18:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants