BREAK: rename .template -> .libsonnet
This commit is contained in:
parent
568a6f9a7b
commit
d9d6dec62d
9 changed files with 9 additions and 12 deletions
17
_templates/argo_app.libsonnet
Normal file
17
_templates/argo_app.libsonnet
Normal file
|
@ -0,0 +1,17 @@
|
|||
local base = import "argo_base.libsonnet";
|
||||
|
||||
base + {
|
||||
repo:: error "repo must be defined",
|
||||
version:: error "version must be defined",
|
||||
path:: error "path must be defined",
|
||||
recursive:: true,
|
||||
|
||||
spec+: {
|
||||
source: {
|
||||
repoURL: $.repo,
|
||||
path: $.path,
|
||||
targetRevision: $.version,
|
||||
directory: { recurse: $.recursive },
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue