-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.yaml
59 lines (47 loc) · 1.37 KB
/
config.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
ctl:
permissions:
- namespace: ctl
permission: crud
plugins:
# git repo for copying setup for python package
- name: git_python_template
type: git
config:
repo_url: [email protected]:20c/ctl-tmpl-python
branch: main
# template for copying template assets
- name: python_template
type: template
config:
# template root directory (path)
source: "{{ ctx.cachedir }}/github.com/20c/ctl-tmpl-python/base"
# template output directory (path)
output: "{{ ctx.home }}/.."
walk_dirs:
- .
vars:
- Ctl/tmplvars.yaml
ignore:
- \.git/
# ATTENTION: comment out if you dont want github workflows
- \.github/
# ATTENTION: uncomment after first generation as it does
# not do incremental merging / updates to the file and simply
# overrides it
#
# pyproject.toml
# chain plugin for entire template process
- name: sync_python
type: chain
config:
chain:
- stage: git_clone
plugin: git_python_template
action:
name: clone
- stage: git_pull
plugin: git_python_template
action:
name: pull
- stage: python_template
plugin: python_template