From a58b870e5ad24cc440f3fc40fc0db08a713591f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20Garc=C3=ADa=20Veytia=20=28Puerco=29?= Date: Wed, 10 Jul 2024 20:52:03 -0600 Subject: [PATCH] Handle SDLC entities in mindev --- cmd/dev/app/rule_type/rttst.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/dev/app/rule_type/rttst.go b/cmd/dev/app/rule_type/rttst.go index 129bb8ab6e..74b1457fe2 100644 --- a/cmd/dev/app/rule_type/rttst.go +++ b/cmd/dev/app/rule_type/rttst.go @@ -287,8 +287,10 @@ func readEntityFromFile(fpath string, entType minderv1.Entity) (protoreflect.Pro out = &minderv1.Artifact{} case minderv1.Entity_ENTITY_PULL_REQUESTS: out = &minderv1.PullRequest{} - case minderv1.Entity_ENTITY_BUILD_ENVIRONMENTS: - return nil, fmt.Errorf("build environments not yet supported") + case minderv1.Entity_ENTITY_BUILD_ENVIRONMENTS, minderv1.Entity_ENTITY_RELEASE, + minderv1.Entity_ENTITY_PIPELINE_RUN, + minderv1.Entity_ENTITY_TASK_RUN, minderv1.Entity_ENTITY_BUILD: + return nil, fmt.Errorf("entity type not yet supported") case minderv1.Entity_ENTITY_UNSPECIFIED: return nil, fmt.Errorf("entity type unspecified") default: