diff --git a/.circleci/config.yml b/.circleci/config.yml index 1216a675..18daa935 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - architect: giantswarm/architect@5.10.1 + architect: giantswarm/architect@5.11.4 workflows: test: diff --git a/go.mod b/go.mod index f155d39a..fd6ce8f3 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/giantswarm/helmclient/v4 go 1.23.0 -toolchain go1.23.5 - require ( github.com/giantswarm/backoff v1.0.1 github.com/giantswarm/kubeconfig/v4 v4.1.2 diff --git a/integration/test/basic/basic_test.go b/integration/test/basic/basic_test.go index 570fa128..1afd98e8 100644 --- a/integration/test/basic/basic_test.go +++ b/integration/test/basic/basic_test.go @@ -39,7 +39,7 @@ func TestBasic(t *testing.T) { var chartPath string { - tarballURL := "https://giantswarm.github.io/default-catalog/test-app-0.1.1.tgz" + tarballURL := "https://giantswarm.github.io/default-catalog/test-app-1.0.0.tgz" config.Logger.LogCtx(ctx, "level", "debug", "message", fmt.Sprintf("pulling tarball %#q", tarballURL)) chartPath, err = config.HelmClient.PullChartTarball(ctx, tarballURL) @@ -60,7 +60,13 @@ func TestBasic(t *testing.T) { } expectedChart := helmclient.Chart{ - Version: "0.1.1", + Version: "1.0.0", + Annotations: map[string]string{ + "application.giantswarm.io/metadata": "https://giantswarm.github.io/default-catalog/test-app-1.0.0.tgz-meta/main.yaml", + "application.giantswarm.io/readme": "https://giantswarm.github.io/default-catalog/test-app-1.0.0.tgz-meta/README.md", + "application.giantswarm.io/team": "honeybadger", + "application.giantswarm.io/values-schema": "https://giantswarm.github.io/default-catalog/test-app-1.0.0.tgz-meta/values.schema.json", + }, } if !cmp.Equal(chart, expectedChart) { t.Fatalf("want matching Chart \n %s", cmp.Diff(chart, expectedChart)) @@ -117,7 +123,7 @@ func TestBasic(t *testing.T) { Revision: 1, Status: helmclient.StatusDeployed, Values: values, - Version: "0.1.1", + Version: "1.0.0", } if releaseContent.LastDeployed.IsZero() { @@ -170,7 +176,7 @@ func TestBasic(t *testing.T) { var updatedChartPath string { - tarballURL := "https://giantswarm.github.io/default-catalog/test-app-0.1.2.tgz" + tarballURL := "https://giantswarm.github.io/default-catalog/test-app-1.0.0.tgz" config.Logger.LogCtx(ctx, "level", "debug", "message", fmt.Sprintf("pulling tarball %#q", tarballURL)) updatedChartPath, err = config.HelmClient.PullChartTarball(ctx, tarballURL) @@ -216,7 +222,7 @@ func TestBasic(t *testing.T) { Revision: 2, Status: helmclient.StatusDeployed, Values: updatedValues, - Version: "0.1.2", + Version: "1.0.0", } if releaseContent.LastDeployed.IsZero() { @@ -262,7 +268,7 @@ func TestBasic(t *testing.T) { Revision: 3, Status: helmclient.StatusDeployed, Values: values, - Version: "0.1.1", + Version: "1.0.0", } if releaseContent.LastDeployed.IsZero() {