Collect previous history for artifact prerequisites
This commit is contained in:
@@ -56,7 +56,11 @@ func composeInvocation(runtime *invocationRuntime, stages []stage.Stage) error {
|
||||
if err := runtime.ctx.Err(); err != nil {
|
||||
return err
|
||||
}
|
||||
if env.ObjectStore == nil && needsObjectStoreForRun(env.Config, stages, runtime.effectiveArtifacts) {
|
||||
needStore, err := needsObjectStoreForRun(env.Config, stages, runtime.effectiveArtifacts)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if env.ObjectStore == nil && needStore {
|
||||
objectStore, err := dependencies.newObjectStore(runtime.ctx, env.Config)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user