Skip to content

Commit

Permalink
Fix tarball url
Browse files Browse the repository at this point in the history
  • Loading branch information
uvegla committed Nov 7, 2024
1 parent 18761b3 commit 737f9da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions integration/key/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ func TestAppVersion() string {
return "1.0.0"
}

func TestAppArtifact() string {
return fmt.Sprintf("%s/%s-%s.tgz", DefaultCatalogName(), TestAppName(), TestAppVersion())
func TestAppTarballUrl() string {
return fmt.Sprintf("%s/%s-%s.tgz", DefaultCatalogStorageURL(), TestAppName(), TestAppVersion())
}

func UniqueAppVersion() string {
Expand Down
4 changes: 2 additions & 2 deletions integration/test/app/basic/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestAppLifecycle(t *testing.T) {
{
config.Logger.Debugf(ctx, "checking tarball URL in chart spec")

tarballURL := key.TestAppArtifact()
tarballURL := key.TestAppTarballUrl()
err = config.K8sClients.CtrlClient().Get(
ctx,
types.NamespacedName{Name: key.TestAppName(), Namespace: key.GiantSwarmNamespace()},
Expand Down Expand Up @@ -171,7 +171,7 @@ func TestAppLifecycle(t *testing.T) {
t.Fatalf("expected %#v got %#v", nil, err)
}

tarballURL := key.TestAppArtifact()
tarballURL := key.TestAppTarballUrl()
if chart.Spec.TarballURL != tarballURL {
t.Fatalf("expected tarballURL: %#v got %#v", tarballURL, chart.Spec.TarballURL)
}
Expand Down

0 comments on commit 737f9da

Please sign in to comment.