baseline/_templates/argo_app.libsonnet

18 lines
331 B
Text
Raw Normal View History

2022-04-13 06:02:54 +00:00
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 },
}
}
}