summaryrefslogtreecommitdiff
path: root/misc/dashboard/builder
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dashboard/builder')
-rw-r--r--misc/dashboard/builder/doc.go6
-rw-r--r--misc/dashboard/builder/exec.go2
-rw-r--r--misc/dashboard/builder/main.go2
3 files changed, 5 insertions, 5 deletions
diff --git a/misc/dashboard/builder/doc.go b/misc/dashboard/builder/doc.go
index a28658a95..7bb7ccbe3 100644
--- a/misc/dashboard/builder/doc.go
+++ b/misc/dashboard/builder/doc.go
@@ -39,7 +39,7 @@ Optional flags:
-release: Build and deliver binary release archive
-rev=N: Build revision N and exit
-
+
-cmd="./all.bash": Build command (specify absolute or relative to go/src)
-v: Verbose logging
@@ -47,8 +47,8 @@ Optional flags:
-external: External package builder mode (will not report Go build
state to dashboard, issue releases, or run benchmarks)
-The key file should be located at $HOME/.gobuilder or, for a builder-specific
-key, $HOME/.gobuilder-$BUILDER (eg, $HOME/.gobuilder-linux-amd64).
+The key file should be located at $HOME/.gobuildkey or, for a builder-specific
+key, $HOME/.gobuildkey-$BUILDER (eg, $HOME/.gobuildkey-linux-amd64).
The build key file is a text file of the format:
diff --git a/misc/dashboard/builder/exec.go b/misc/dashboard/builder/exec.go
index 53ea93ac5..3c6fbdced 100644
--- a/misc/dashboard/builder/exec.go
+++ b/misc/dashboard/builder/exec.go
@@ -49,7 +49,7 @@ func runLog(envv []string, logfile, dir string, argv ...string) (output string,
b := new(bytes.Buffer)
var w io.Writer = b
if logfile != "" {
- f, err := os.Open(logfile, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644)
+ f, err := os.OpenFile(logfile, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0666)
if err != nil {
return
}
diff --git a/misc/dashboard/builder/main.go b/misc/dashboard/builder/main.go
index fc11d365e..735717e28 100644
--- a/misc/dashboard/builder/main.go
+++ b/misc/dashboard/builder/main.go
@@ -64,7 +64,7 @@ var (
var (
goroot string
- releaseRegexp = regexp.MustCompile(`^release\.[0-9\-.]+`)
+ releaseRegexp = regexp.MustCompile(`^(release|weekly)\.[0-9\-.]+`)
benchRequests vector.Vector
)