Resolve pipeline resources from their source locations
This commit is contained in:
@@ -43,7 +43,7 @@ type projectedPipelineValue struct {
|
||||
segments []string
|
||||
}
|
||||
|
||||
func projectEffectivePipeline(cfg *PipelineConfig, logicalNotarius bool) effectivePipelineProjection {
|
||||
func projectEffectivePipeline(cfg *PipelineConfig) effectivePipelineProjection {
|
||||
projection := effectivePipelineProjection{
|
||||
Workspace: cfg.Workspace, Campaigns: cfg.Campaigns, Storage: cfg.Storage,
|
||||
Spool: cfg.Spool, Cache: cfg.Cache, Publish: cfg.Publish,
|
||||
@@ -59,12 +59,6 @@ func projectEffectivePipeline(cfg *PipelineConfig, logicalNotarius bool) effecti
|
||||
Artifacts: cfg.Scriptorium.Artifacts,
|
||||
}
|
||||
}
|
||||
if logicalNotarius && cfg.Notarius != nil && cfg.resolution != nil && cfg.resolution.logicalNotariusCaptured {
|
||||
notarius := *cfg.Notarius
|
||||
notarius.ConfigPath = cfg.resolution.logicalNotariusConfig
|
||||
notarius.WorkingDirectory = cfg.resolution.logicalNotariusWorking
|
||||
projection.Notarius = ¬arius
|
||||
}
|
||||
return projection
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user