Repository navigation
Expand file tree
/
Copy pathcopier.yml
More file actions
93 lines (79 loc) · 2.65 KB
/
Copy pathcopier.yml
File metadata and controls
93 lines (79 loc) · 2.65 KB
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
_jinja_extensions:
- jinja_markdown.MarkdownExtension
- jinja2_slug.SlugExtension
- jinja2_time.TimeExtension
_exclude:
- "copier.yml"
- "copier.yaml"
- "~*"
- "*.py[co]"
- "__pycache__"
- ".git"
- ".DS_Store"
- ".svn"
- "{% if not frontend %}{{ module_name }}-frontend{% endif %}"
- "{% if not frontend %}{{ module_name }}-frontend/**{% endif %}"
- "{% if not backend %}{{ module_name }}-backend{% endif %}"
- "{% if not backend %}{{ module_name }}-backend/**{% endif %}"
- "{% if not job %}{{ module_name }}-job{% endif %}"
- "{% if not job %}{{ module_name }}-job/**{% endif %}"
project_name:
type: str
help: What is your project or repository name? This can include hyphens.
module_name:
type: str
default: "{{ project_name | lower | replace(' ', '_') | replace('-', '_') }}"
help: What is your Python import name? Use a valid Python package name without hyphens.
repository_owner:
type: str
default: it-at-m
help: What GitHub owner or organization should be used for repository URLs?
short_description:
type: str
help: What is the short description for the generated project?
maintainers:
type: yaml
default: []
help: GitHub usernames of the maintainers as a YAML list.
oci_authors:
type: str
default: "Landeshauptstadt München <opensource@muenchen.de>"
help: What should the OCI authors label be?
oci_vendor:
type: str
default: Landeshauptstadt München
help: What should the OCI vendor label be?
oci_license:
type: str
default: MIT
help: What should the OCI license label be?
backend:
type: bool
default: true
help: Create a python backend?
job:
type: bool
default: false
help: Create a python job worker (e.g. for background tasks like indexing)?
frontend:
type: bool
default: true
help: Create a Vue frontend?
backend_ubi10_base_image:
type: str
default: registry.access.redhat.com/ubi10/ubi-minimal:10.1-1775622738
choices:
UBI 10 regular: registry.access.redhat.com/ubi10/ubi:10.1-1775622738
UBI 10 minimal: registry.access.redhat.com/ubi10/ubi-minimal:10.1-1775622738
UBI 10 micro: registry.access.redhat.com/ubi10/ubi-micro:10.1-1775622738
when: "{{ backend }}"
help: Which UBI 10 base image should be used for the backend container?
job_ubi10_base_image:
type: str
default: registry.access.redhat.com/ubi10/ubi-minimal:10.1-1775622738
choices:
UBI 10 regular: registry.access.redhat.com/ubi10/ubi:10.1-1775622738
UBI 10 minimal: registry.access.redhat.com/ubi10/ubi-minimal:10.1-1775622738
UBI 10 micro: registry.access.redhat.com/ubi10/ubi-micro:10.1-1775622738
when: "{{ job }}"
help: Which UBI 10 base image should be used for the job container?