feat: can clone using git
This commit is contained in:
33
examples/project_git/forest.kdl
Normal file
33
examples/project_git/forest.kdl
Normal file
@@ -0,0 +1,33 @@
|
||||
project {
|
||||
name local
|
||||
description """
|
||||
A simple local project that depends on ../plan for its utility scripts
|
||||
"""
|
||||
|
||||
plan {
|
||||
git "ssh://git@git.front.kjuulh.io/kjuulh/forest" path="examples/plan"
|
||||
}
|
||||
|
||||
global {
|
||||
someName "name"
|
||||
someKey {
|
||||
someNestedKey "somevalue"
|
||||
some {
|
||||
key {
|
||||
val
|
||||
val
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
templates type=jinja2 {
|
||||
path "templates/*.jinja2"
|
||||
output "output/"
|
||||
}
|
||||
|
||||
scripts {
|
||||
hello type=shell {}
|
||||
}
|
||||
}
|
||||
|
5
examples/project_git/scripts/hello.sh
Executable file
5
examples/project_git/scripts/hello.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
set -e
|
||||
|
||||
echo "hello world"
|
3
examples/project_git/templates/something.yaml.jinja2
Normal file
3
examples/project_git/templates/something.yaml.jinja2
Normal file
@@ -0,0 +1,3 @@
|
||||
something
|
||||
|
||||
val is mapping: {{ global.someKey.some.key.val is mapping }}
|
Reference in New Issue
Block a user