Skip to content

Commit

Permalink
fix(compile): label when compile error is for test pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
  • Loading branch information
luhring committed Dec 1, 2024
1 parent a7083d9 commit f0b189f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/build/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f0b189f

Please sign in to comment.