Skip to content

Commit

Permalink
add OOMKilled failure reason to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wozniak committed Jul 12, 2018
1 parent 04a26bf commit 70400c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/v1/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ const (
// range of build failures.
StatusReasonGenericBuildFailed StatusReason = "GenericBuildFailed"

// StatusReasonOOMKilled indicates that the build pod was killed for its memory consumption
StatusReasonOOMKilled StatusReason = "OOMKilled"

// StatusCannotRetrieveServiceAccount is the reason associated with a failure
// to look up the service account associated with the BuildConfig.
StatusReasonCannotRetrieveServiceAccount StatusReason = "CannotRetrieveServiceAccount"
Expand Down

0 comments on commit 70400c3

Please sign in to comment.