From d38fb28f492e2e7ac9a5afe6604a39e1f1cc46fe Mon Sep 17 00:00:00 2001 From: Jan Wozniak Date: Thu, 12 Jul 2018 15:05:44 +0200 Subject: [PATCH] add OutOfMemoryKilled failure reason to build --- build/v1/consts.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/v1/consts.go b/build/v1/consts.go index 91fa710a937..e79b658fa6b 100644 --- a/build/v1/consts.go +++ b/build/v1/consts.go @@ -84,6 +84,9 @@ const ( // range of build failures. StatusReasonGenericBuildFailed StatusReason = "GenericBuildFailed" + // StatusReasonOutOfMemoryKilled indicates that the build pod was killed for its memory consumption + StatusReasonOutOfMemoryKilled StatusReason = "OutOfMemoryKilled" + // StatusCannotRetrieveServiceAccount is the reason associated with a failure // to look up the service account associated with the BuildConfig. StatusReasonCannotRetrieveServiceAccount StatusReason = "CannotRetrieveServiceAccount"