Add retrieve to compilation spec

It allows to copy build artifact during buildtime. In this way
artifacts between different seed images can be shared

```
retrieve:
- a-test-1.0.package.*
- https://...
```

They will be available under WORKDIR
This commit is contained in:
Ettore Di Giacinto
2020-02-13 14:15:43 +01:00
parent 20bc250470
commit f329e1d5e0
11 changed files with 246 additions and 0 deletions

View File

@@ -154,6 +154,9 @@ type CompilationSpec interface {
GetSourceAssertion() solver.PackagesAssertions
SetSourceAssertion(as solver.PackagesAssertions)
GetRetrieve() []string
CopyRetrieves(dest string) error
}
type CompilationSpecs interface {