Some updates
Some checks failed
Lint / Run on Ubuntu (push) Has been cancelled
E2E Tests / Run on Ubuntu (push) Has been cancelled
Tests / Run on Ubuntu (push) Has been cancelled

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-07-15 20:30:21 +02:00
parent 7c2294d9df
commit 1659245f00
5 changed files with 23 additions and 32 deletions

View File

@@ -9,14 +9,14 @@ import (
func TestPullChart(t *testing.T) {
helmlib := &helm.HelmLib{}
path, err := helmlib.PullChart("https://coredns.github.io/helm", "coredns", "1.42.0")
path, err := helmlib.PullChart(t.Context(), "https://coredns.github.io/helm", "coredns", "1.42.0")
assert.NoError(t, err)
assert.Equal(t, "test", path)
}
func TestPullChartOci(t *testing.T) {
helmlib := &helm.HelmLib{}
path, err := helmlib.PullChart("oci://ghcr.io/allanger/allangers-charts", "memos", "0.6.0")
path, err := helmlib.PullChart(t.Context(), "oci://ghcr.io/allanger/allangers-charts", "memos", "0.6.0")
assert.NoError(t, err)
assert.Equal(t, "test", path)
}