-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathcookiecutter.json
80 lines (80 loc) · 2.62 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
{
"full_name": "Your name",
"email": "your.name@example.com",
"project_name": "Name of the project",
"project_description": "A short description of the project",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '-') }}",
"production_domain": "(automatic)",
"license": [
"Proprietary",
"Apache-2",
"BSD-3",
"GPL-3",
"MIT",
"MPL-2"
],
"vcs_platform": [
"GitLab.com",
"Bitbucket.org",
"github.com"
],
"vcs_account": "company-or-username",
"vcs_project": "{{ cookiecutter.project_slug }}",
"ci_service": [
".gitlab-ci.yml",
"bitbucket-pipelines.yml",
"(none)"
],
"cloud_platform": [
"(none)",
"APPUiO",
"Rancher"
],
"cloud_account": "platform-username",
"cloud_project": "{{ cookiecutter.project_slug }}",
"environment_strategy": [
"shared",
"dedicated"
],
"deployment_strategy": [
"pipeline",
"gitops"
],
"gitops_project": "{% if cookiecutter.deployment_strategy == 'gitops' %}{{ cookiecutter.project_slug }}-gitops{% else %}(none){% endif %}",
"docker_registry": "{% if cookiecutter.cloud_platform == 'APPUiO' %}registry.appuio.ch{% elif cookiecutter.vcs_platform == 'GitLab.com' %}registry.gitlab.com{% elif cookiecutter.vcs_platform == 'Bitbucket.org' %}hub.docker.com{% elif cookiecutter.vcs_platform == 'github.com' %}quay.io{% else %}nexus.example.com{% endif %}",
"docker_image": "{{ cookiecutter.project_slug }}",
"registry_user": "{{ cookiecutter.ci_service.replace('.yml', '').replace('.', '').replace('-steps', '') }}",
"automation_user": "{{ cookiecutter.ci_service.replace('.yml', '').replace('.', '').replace('-steps', '') }}",
"framework": [
"(none)",
"Django",
"Flask",
"SpringBoot"
],
"database": [
"(none)",
"Postgres",
"MySQL"
],
"cronjobs": [
"(none)",
"simple",
"complex"
],
"checks": "{% if cookiecutter.framework in ['Django','Flask'] %}flake8,pylint,isort,bandit,safety,kubernetes{% elif cookiecutter.framework in ['SpringBoot'] %}kubernetes{% endif %}",
"tests": "{% if cookiecutter.framework in ['Django','Flask'] %}py38,behave{% elif cookiecutter.framework in ['SpringBoot'] %}test,verify{% endif %}",
"monitoring": [
"(none)",
"Datadog",
"NewRelic",
"Sentry"
],
"push": [
"manual",
"automatic",
"force"
],
"_copy_without_render": [
"_/frameworks/Flask/application/templates"
]
}