Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update test-app to v1.0.0 and architect to v5.11.4 #800

2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
architect: giantswarm/architect@5.10.1
architect: giantswarm/architect@5.11.4

workflows:
test:
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 12 additions & 6 deletions integration/test/basic/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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))
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -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() {
Expand Down
Loading