From f0b189fd5551795e0ecc4e3bb8ac3c7302babbcf Mon Sep 17 00:00:00 2001 From: Dan Luhring Date: Sun, 1 Dec 2024 11:17:54 -0500 Subject: [PATCH] fix(compile): label when compile error is for test pipeline Signed-off-by: Dan Luhring --- pkg/build/compile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/build/compile.go b/pkg/build/compile.go index d79ad6216..c67c7f1ab 100644 --- a/pkg/build/compile.go +++ b/pkg/build/compile.go @@ -103,7 +103,7 @@ func (t *Test) Compile(ctx context.Context) error { } if err := test.CompilePipelines(ctx, sm, cfg.Test.Pipeline); err != nil { - return fmt.Errorf("compiling main pipelines: %w", err) + return fmt.Errorf("compiling main test pipelines: %w", err) } // Append anything the main package test needs. @@ -172,7 +172,7 @@ func (b *Build) Compile(ctx context.Context) error { } if err := tc.CompilePipelines(ctx, sm, cfg.Test.Pipeline); err != nil { - return fmt.Errorf("compiling main pipelines: %w", err) + return fmt.Errorf("compiling main test pipelines: %w", err) } te := &b.Configuration.Test.Environment.Contents