Build artifact inventories only for pipeline run reports
Some checks failed
ci/woodpecker/push/verify Pipeline was canceled
Some checks failed
ci/woodpecker/push/verify Pipeline was canceled
This commit is contained in:
@@ -76,11 +76,11 @@ func inspectConfiguredSessionReadiness(ctx context.Context, cfg *config.Config,
|
||||
newObjectStore: func(ctx context.Context, cfg *config.Config) (storage.ObjectStore, error) {
|
||||
return initializeObjectStoreBackend(ctx, cfg, deps.newObjectStore)
|
||||
}}
|
||||
summary, err := withLockedInvocation(ctx, cfg, plan, RunOptions{Reporter: deps.reporter}, invocationDeps, func(runtime *invocationRuntime) error {
|
||||
result, err := withLockedInvocation(ctx, cfg, plan, RunOptions{Reporter: deps.reporter}, invocationDeps, func(runtime *invocationRuntime) error {
|
||||
report.RunID = runtime.identity.RunID
|
||||
return assessSessionReadiness(runtime, report, deps)
|
||||
})
|
||||
if summary == nil && err != nil {
|
||||
if result == nil && err != nil {
|
||||
report.Findings = append(report.Findings, errorFinding("workspace", err.Error()))
|
||||
report.Checks = append(report.Checks, readinessCheck{Group: "workspace/storage", Outcome: "failed", Message: err.Error()})
|
||||
} else if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user