Track latest stage attempt diagnostics
This commit is contained in:
@@ -31,6 +31,10 @@ type extractStage struct{}
|
||||
|
||||
func (extractStage) Name() string { return "extract" }
|
||||
|
||||
func (extractStage) NeedsAttemptViews(env *Env) bool {
|
||||
return env == nil || env.Config == nil || env.Config.Pipeline == nil || env.Config.Pipeline.Notarius != nil && env.Config.Pipeline.Notarius.Enabled
|
||||
}
|
||||
|
||||
func (extractStage) Run(ctx context.Context, env *Env, m *manifest.Manifest) (result *StageResult, resultErr error) {
|
||||
if env == nil || env.Config == nil || env.Config.Pipeline == nil || env.Config.Session == nil {
|
||||
return nil, fmt.Errorf("extract: resolved stage environment config is required")
|
||||
|
||||
Reference in New Issue
Block a user