From 6389d3d3f372e93b261e79f2643dfc9eb537e83c Mon Sep 17 00:00:00 2001 From: William Banfield Date: Tue, 29 Nov 2022 13:44:11 -0500 Subject: [PATCH] remove runner exec --- test/e2e/runner/exec.go | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 test/e2e/runner/exec.go diff --git a/test/e2e/runner/exec.go b/test/e2e/runner/exec.go deleted file mode 100644 index eedc44733..000000000 --- a/test/e2e/runner/exec.go +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "path/filepath" - - "github.com/tendermint/tendermint/test/e2e/pkg/exec" - "golang.org/x/net/context" -) - -// execCompose runs a Docker Compose command for a testnet. -func execCompose(dir string, args ...string) error { - return exec.Command(context.Background(), append( - []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 exec.CommandVerbose(context.Background(), append( - []string{"docker-compose", "-f", filepath.Join(dir, "docker-compose.yml")}, - args...)...) -} - -// execDocker runs a Docker command. -func execDocker(args ...string) error { - return exec.Command(context.Background(), append([]string{"docker"}, args...)...) -}