Skip to content

Commit f8215ce

Browse files
authored
Merge pull request #71 from wozniakjan/bug-1596440/surface_oomkilled_in_build
add OOMKilled failure reason to build
2 parents 04a26bf + d38fb28 commit f8215ce

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+
// StatusReasonOutOfMemoryKilled indicates that the build pod was killed for its memory consumption
88+
StatusReasonOutOfMemoryKilled StatusReason = "OutOfMemoryKilled"
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)