You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-29 21:48:14 +02:00
Option to change temp dir for local backend (#2702)
--- *Sponsored by Kithara Software GmbH*
This commit is contained in:
@@ -15,7 +15,16 @@
|
||||
package local
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
var Flags = []cli.Flag{}
|
||||
var Flags = []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "backend-local-temp-dir",
|
||||
EnvVars: []string{"WOODPECKER_BACKEND_LOCAL_TEMP_DIR"},
|
||||
Usage: "set a different temp dir to clone workflows into",
|
||||
Value: os.TempDir(),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user