-
Notifications
You must be signed in to change notification settings - Fork 13
/
cookiecutter.json
141 lines (141 loc) · 5.1 KB
/
cookiecutter.json
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"project_title": "Project Title",
"description": "A new project using Plone 6.",
"project_slug": "{{ cookiecutter.project_title|slugify }}",
"hostname": "{{ cookiecutter.project_slug }}.example.com",
"author": "Plone Foundation",
"email": "collective@plone.org",
"python_package_name": "{{ cookiecutter.project_slug|replace(' ', '')|replace('-', '_')|replace('.', '') }}",
"volto_addon_name": "volto-{{ cookiecutter.python_package_name|replace('_', '-') }}",
"python_test_framework": [
"pytest",
"unittest"
],
"plone_version": "{{ '6.0.7' | latest_plone }}",
"use_alpha_versions": "{{ 'No' | use_alpha_versions }}",
"volto_version": "{{ cookiecutter.use_alpha_versions | latest_volto }}",
"volto_generator_version": "{{ cookiecutter.volto_version | latest_volto_generator }}",
"language_code": [
"en",
"de",
"es",
"pt-br",
"nl",
"fi"
],
"github_organization": "collective",
"container_registry": [
"GitHub",
"Docker Hub",
"GitLab"
],
"devops_cache": [
"1",
"0"
],
"devops_ansible": [
"1",
"0"
],
"devops_gha_deploy": [
"1",
"0"
],
"__python_package_name_upper": "{{ cookiecutter.python_package_name | pascal_case }}",
"__node_version": "{{ cookiecutter.volto_version | node_version }}",
"__container_registry_prefix": "{{ cookiecutter.container_registry | docker_image_prefix }}",
"__container_image_prefix": "{{ cookiecutter.__container_registry_prefix }}{{ cookiecutter.github_organization }}/{{ cookiecutter.project_slug }}",
"__profile_version": "{% now 'utc', '%Y%m%d001' %}",
"__profile_language": "{{ cookiecutter.language_code|gs_language_code }}",
"__locales_language": "{{ cookiecutter.language_code|locales_language_code }}",
"__generator_date_short": "{% now 'utc', '%Y-%m-%d' %}",
"__generator_date_long": "{% now 'utc', '%Y-%m-%d %H:%M:%S' %}",
"__generator_signature": "This was generated by [cookiecutter-plone-starter](https://github.com/collective/cookiecutter-plone-starter) on {{ cookiecutter.__generator_date_long }}",
"__gha_checkout_version": "v4",
"__gha_docker_stack_version": "v1.2.0",
"__gha_docker_code_analysis_version": "v2",
"__gha_docker_docker_metadata_version": "v5",
"__gha_docker_docker_qemu_version": "v3",
"__gha_docker_docker_buildx_version": "v3",
"__gha_docker_docker_login_version": "v3",
"__gha_docker_docker_build_push_version": "v4",
"__devops_host": "{{ cookiecutter.hostname | extract_host }}",
"__devops_compose_name": "{{ cookiecutter.project_slug | replace('.','-') | replace('_','-') }}",
"__devops_stack_name": "{{ cookiecutter.hostname | replace('.','-') | replace('_','-') }}",
"__devops_swarm_public_network": "nw-internal",
"__devops_traefik_version": "v2.10",
"__devops_traefik_local_include_ui": "yes",
"__devops_traefik_stack_include_ui": "no",
"__devops_traefik_docker_network": "{{ cookiecutter.__devops_stack_name }}_{{ cookiecutter.__devops_swarm_public_network }}",
"__devops_varnish_version": "7.4",
"__devops_db_version": "14",
"__devops_db_password": "{{ random_ascii_string(12) }}",
"__prompts__": {
"project_title": "Project Title",
"project_slug": "Project Slug (Used for repository id)",
"hostname": "Project URL (without protocol)",
"description": "Project Description",
"author": "Author",
"email": "Author E-mail",
"python_package_name": "Python Package Name",
"volto_addon_name": "Volto Addon Name",
"python_test_framework": {
"__prompt__": "Choose a Python Test Framework",
"pytest": "pytest",
"unittest": "unittest"
},
"plone_version": "Plone Version",
"use_alpha_versions": "Should we use Volto Alpha Versions?",
"volto_version": "Volto Version",
"volto_generator_version": "Volto Generator Version",
"language_code": {
"__prompt__": "Language",
"en": "English",
"de": "Deutsch",
"es": "Español",
"pt-br": "Português (Brasil)",
"nl": "Nederlands",
"fi": "Suomi"
},
"github_organization": "GitHub or GitLab Username or Organization",
"container_registry": {
"__prompt__": "Container Registry",
"GitHub": "GitHub Container Registry",
"Docker Hub": "Docker Hub",
"GitLab": "GitLab"
},
"devops_cache": {
"__prompt__": "Should we setup a caching server?",
"1": "Yes",
"0": "No"
},
"devops_ansible": {
"__prompt__": "Add Ansible playbooks?",
"1": "Yes",
"0": "No"
},
"devops_gha_deploy": {
"__prompt__": "Add GitHub Action to Deploy this project?",
"1": "Yes",
"0": "No"
}
},
"_copy_without_render": [
"devops/etc",
"devops/playbooks",
"devops/requirements",
"devops/tasks"
],
"_extensions": [
"local_extensions.use_alpha_versions",
"local_extensions.node_version",
"local_extensions.extract_host",
"local_extensions.docker_image_prefix",
"local_extensions.pascal_case",
"local_extensions.locales_language_code",
"local_extensions.gs_language_code",
"local_extensions.latest_volto",
"local_extensions.latest_volto_generator",
"local_extensions.latest_plone"
]
}