forked from OCA/oca-addons-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
copier.yml
105 lines (88 loc) · 2.49 KB
/
copier.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Configure jinja2 defaults to make syntax highlighters happy
_templates_suffix: .jinja
_subdirectory: src
_envops:
block_end_string: "%}"
block_start_string: "{%"
comment_end_string: "#}"
comment_start_string: "{#"
keep_trailing_newline: true
variable_end_string: "}}"
variable_start_string: "{{"
_tasks:
- rm -f {% if ci != "Travis" %}.travis.yml{% endif %} .t2d.yml
_migrations:
- version: v1.3.6
after:
- rm -f CONTRIBUTING.md
odoo_version:
type: float
default: 15.0
choices:
- 13.0
- 14.0
- 15.0
help: Which Odoo version are we deploying in this branch?
repo_slug:
type: str
help:
What's the repo slug? If you are creating https://github.com/OCA/server-tools, then
write "server-tools" here.
repo_name:
type: str
help:
Tell me the project name. It's supposed to be human-readable. So, server-tools
project could be named like "Tools for server environment(s)"
repo_description:
type: str
help: Please write a short description about what this repo is about.
ci:
type: str
default: Travis
choices:
- Travis
- GitHub
help: Which CI system to use ?
travis_apt_sources:
type: yaml
default: []
help: >
If you need to activate extra apt sources in Travis, this is the place. It must be a
YAML list with aliases listed here:
https://github.com/travis-ci/apt-source-safelist/blob/master/ubuntu.json.
Example: [heroku, mono]
travis_apt_packages:
type: yaml
default: []
help: >
Do you need extra apt packages in Travis? Add them here as a YAML list.
Example: [docker, vim]
dependency_installation_mode:
default: OCA
type: str
choices:
- OCA
- PIP
help:
Choose how to install module dependencies. Right now, "PIP" mode is experimental.
generate_requirements_txt:
default: yes
type: bool
help:
Generate requirements.txt from addons manifests and optional overrides in setup.py
files.
rebel_module_groups:
type: yaml
default: []
help: >
Are there in this repo modules that don't get along with their friends? If so, list
them here (YAML format) and they will be tested in separate jobs.
Beware, if rebel modules should stay separated in groups, you should join them with
commas, which could be misinterpreted by YAML.
Example: ["rebel_module_1,rebel_module_2", even_more_rebel_module]
include_wkhtmltopdf:
type: bool
default: no
help:
Do you need to install wkhtmltopdf? Usually only needed if you're going to test PDF
report generation.