Skip to content

Commit

Permalink
chore: set correct sparse checkout order
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinPJK committed Nov 7, 2024
1 parent 473520b commit e2bf7ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/cmd/helm/release/release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit e2bf7ac

Please sign in to comment.