Add naive_sync driver which will copy resource from solar location
This commit is contained in:
parent
5e473a0549
commit
3d6e4270ad
7
resources/sources/meta.yaml
Normal file
7
resources/sources/meta.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
id: sources
|
||||
handler: naive_sync
|
||||
version: 1.0.0
|
||||
input:
|
||||
sources:
|
||||
schema: [{'src': 'str!', 'dst': 'str!'}]
|
||||
value: []
|
8
templates/sources.yaml
Normal file
8
templates/sources.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
id: sources
|
||||
resources:
|
||||
- id: sources{{index}}
|
||||
from: resources/sources
|
||||
location: {{node}}
|
||||
values:
|
||||
sources:
|
||||
- {src: /tmp/sources_test, dst: /tmp/sources_test}
|
Loading…
x
Reference in New Issue
Block a user