Skip to content

Commit 70400c3

Browse files
author
Jan Wozniak
committed
add OOMKilled failure reason to build
1 parent 04a26bf commit 70400c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/v1/consts.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ const (
8484
// range of build failures.
8585
StatusReasonGenericBuildFailed StatusReason = "GenericBuildFailed"
8686

87+
// StatusReasonOOMKilled indicates that the build pod was killed for its memory consumption
88+
StatusReasonOOMKilled StatusReason = "OOMKilled"
89+
8790
// StatusCannotRetrieveServiceAccount is the reason associated with a failure
8891
// to look up the service account associated with the BuildConfig.
8992
StatusReasonCannotRetrieveServiceAccount StatusReason = "CannotRetrieveServiceAccount"

0 commit comments

Comments
 (0)