From e2bf7acad4e6504b7002527090bf33d6a7bf91f3 Mon Sep 17 00:00:00 2001 From: GavinPJK Date: Thu, 7 Nov 2024 15:06:47 +0000 Subject: [PATCH] chore: set correct sparse checkout order --- pkg/cmd/helm/release/release_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/cmd/helm/release/release_test.go b/pkg/cmd/helm/release/release_test.go index f11b161b..769b39a7 100644 --- a/pkg/cmd/helm/release/release_test.go +++ b/pkg/cmd/helm/release/release_test.go @@ -168,7 +168,7 @@ func TestStepHelmReleaseWithChartPages(t *testing.T) { CLI: runner.OrderedCommands[0].Name + " " + strings.Join(runner.OrderedCommands[0].Args, " "), }, fakerunner.FakeResult{ - CLI: "git sparse-checkout set --no-cone .jx/gitops/source-config.yaml", + CLI: "git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml", }, fakerunner.FakeResult{ CLI: "git checkout", @@ -225,7 +225,7 @@ func TestStepHelmReleaseWithOCIUsingUserName(t *testing.T) { CLI: runner.OrderedCommands[0].Name + " " + strings.Join(runner.OrderedCommands[0].Args, " "), }, fakerunner.FakeResult{ - CLI: "git sparse-checkout set --no-cone .jx/gitops/source-config.yaml", + CLI: "git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml", }, fakerunner.FakeResult{ CLI: "git checkout", @@ -270,7 +270,7 @@ func TestStepHelmReleaseWithOCIUsingRegistryConfig(t *testing.T) { CLI: runner.OrderedCommands[0].Name + " " + strings.Join(runner.OrderedCommands[0].Args, " "), }, fakerunner.FakeResult{ - CLI: "git sparse-checkout set --no-cone .jx/gitops/source-config.yaml", + CLI: "git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml", }, fakerunner.FakeResult{ CLI: "git checkout", @@ -310,7 +310,7 @@ func TestStepHelmReleaseWithOCINoOCILogin(t *testing.T) { CLI: runner.OrderedCommands[0].Name + " " + strings.Join(runner.OrderedCommands[0].Args, " "), }, fakerunner.FakeResult{ - CLI: "git sparse-checkout set --no-cone .jx/gitops/source-config.yaml", + CLI: "git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml", }, fakerunner.FakeResult{ CLI: "git checkout",