Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
a257c753
Commit
a257c753
authored
Dec 12, 2012
by
Brad Fitzpatrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc/dashboard: don't email about netbsd failures
Too flaky. R=iant, rsc CC=golang-dev
https://golang.org/cl/6925056
parent
08ce7f1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
misc/dashboard/app/build/notify.go
misc/dashboard/app/build/notify.go
+11
-0
No files found.
misc/dashboard/app/build/notify.go
View file @
a257c753
...
...
@@ -21,6 +21,13 @@ const (
domain
=
"build.golang.org"
)
// failIgnore is a set of builders that we don't email about because
// they're too flaky.
var
failIgnore
=
map
[
string
]
bool
{
"netbsd-386-bsiegert"
:
true
,
"netbsd-amd64-bsiegert"
:
true
,
}
// notifyOnFailure checks whether the supplied Commit or the subsequent
// Commit (if present) breaks the build for this builder.
// If either of those commits break the build an email notification is sent
...
...
@@ -30,6 +37,10 @@ const (
// This must be run in a datastore transaction, and the provided *Commit must
// have been retrieved from the datastore within that transaction.
func
notifyOnFailure
(
c
appengine
.
Context
,
com
*
Commit
,
builder
string
)
error
{
if
failIgnore
[
builder
]
{
return
}
// TODO(adg): implement notifications for packages
if
com
.
PackagePath
!=
""
{
return
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment