Skip to content

Commit

Permalink
chore: try something else
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabarbakadze committed Aug 14, 2024
1 parent 326e4f7 commit 0c0d8da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/runner/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ func execVerbose(args ...string) error {
// execCompose runs a Docker Compose command for a testnet.
func execCompose(dir string, args ...string) error {
return exec(append(
[]string{"docker compose", "-f", filepath.Join(dir, "docker-compose.yml")},
[]string{"docker", "compose", "-f", filepath.Join(dir, "docker-compose.yml")},
args...)...)
}

func execComposeOutput(dir string, args ...string) ([]byte, error) {
return execOutput(append(
[]string{"docker compose", "-f", filepath.Join(dir, "docker-compose.yml")},
[]string{"docker", "compose", "-f", filepath.Join(dir, "docker-compose.yml")},
args...)...)
}

// execComposeVerbose runs a Docker Compose command for a testnet and displays its output.
func execComposeVerbose(dir string, args ...string) error {
return execVerbose(append(
[]string{"docker compose", "-f", filepath.Join(dir, "docker-compose.yml")},
[]string{"docker", "compose", "-f", filepath.Join(dir, "docker-compose.yml")},
args...)...)
}

Expand Down

0 comments on commit 0c0d8da

Please sign in to comment.