targets: add dummy azure and aws targets
These are not currently implemented in the backend, but shows how the API will look like. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
283e89d0f4
commit
e98b189b82
6 changed files with 45 additions and 7 deletions
|
|
@ -444,7 +444,11 @@ func (s *Store) DeleteBlueprintFromWorkspace(name string) {
|
|||
|
||||
func (s *Store) PushCompose(composeID uuid.UUID, bp *blueprint.Blueprint, composeType string) error {
|
||||
targets := []*target.Target{
|
||||
target.NewLocalTarget(target.NewLocalTargetOptions("/var/lib/osbuild-composer/outputs/" + composeID.String())),
|
||||
target.NewLocalTarget(
|
||||
&target.LocalTargetOptions{
|
||||
Location: "/var/lib/osbuild-composer/outputs/" + composeID.String(),
|
||||
},
|
||||
),
|
||||
}
|
||||
d := distro.New("")
|
||||
pipeline, err := d.Pipeline(bp, composeType)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue