diff options
| author | Michael Tews <michael@tews.dev> | 2026-04-01 16:09:38 +0200 |
|---|---|---|
| committer | Michael Tews <michael@tews.dev> | 2026-04-01 16:09:38 +0200 |
| commit | bb099ac767df6c8097135f6533d6d52197a59bc5 (patch) | |
| tree | e33482f175fac8db9e1d4c1af1f129e57550fb35 | |
| parent | a26599fbf098f8227d82537195ff3ab93a79329d (diff) | |
chore(build): docker compose plain progress output
| -rw-r--r-- | magefile.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/magefile.go b/magefile.go index 506252b..8ef5d22 100644 --- a/magefile.go +++ b/magefile.go @@ -104,7 +104,7 @@ func TestAgainstContainer() error { defer func() { fmt.Println(">> stopping Stud.IP demo stack") - if downErr := runCommandWithEnv(nil, "docker", "compose", "down", "--volumes", "--remove-orphans"); downErr != nil { + if downErr := runCommandWithEnv(nil, "docker", "compose", "--progress", "plain", "down", "--volumes", "--remove-orphans"); downErr != nil { fmt.Fprintf(os.Stderr, "failed to stop Stud.IP demo stack: %v\n", downErr) } }() @@ -352,11 +352,11 @@ func prepareStudIPTestEnvironment() (studIPTestConfig, studIPCourse, error) { func recreateStudIPDemoStack() error { fmt.Println(">> recreating fresh Stud.IP demo stack") - if err := runCommandWithEnv(nil, "docker", "compose", "down", "--volumes", "--remove-orphans"); err != nil { + if err := runCommandWithEnv(nil, "docker", "compose", "--progress", "plain", "down", "--volumes", "--remove-orphans"); err != nil { return err } - return runCommandWithEnv(nil, "docker", "compose", "up", "-d", "--build") + return runCommandWithEnv(nil, "docker", "compose", "--progress", "plain", "up", "-d", "--build") } func waitForStudIPDemoCourse(baseURL, username, password string, timeout time.Duration) (studIPCourse, error) { |
