-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcopier.yaml
105 lines (91 loc) · 2.36 KB
/
copier.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
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
# Questions
project_name:
type: str
help: What is the name of your project?
project_description:
type: str
help: Description of project.
default: ""
author:
type: str
help: Name of repository creator
author_email:
type: str
help: Email address of repository creator
storage_type:
type: str
choices:
- "Github"
# - "Google Cloud Storage"
help: Where do you want to store your code for deployments?
github_repo:
type: str
when: "{% if storage_type == 'Github' %}true{% endif %}"
help: What is the name of your github repo?
placeholder: "e.g. github-username/repo-name"
deployment_infrastructure:
type: str
choices:
- "Process"
- "Docker"
- "Google Cloud Run"
help: Where do you want to run your code for deployments?
ci_cd_pipelines:
type: str
choices:
- "Github Actions"
# - "Google Cloud Build"
- "None"
help: What CI/CD pipeline do you want to use?
docker_registry_type:
type: str
help: What type of docker registry do you want to use? Currently only DockerHub is supported.
choices:
- "DockerHub"
- "Google Artifact Registry"
google_ar_region:
type: str
help: Which region is your Google Artifact Registry located in?
choices:
- "northamerica-northeast1"
- "northamerica-northeast2"
- "us-central1"
- "us-east1"
- "us-east4"
- "us-east5"
- "us-south1"
- "us-west1"
- "us-west2"
- "us-west3"
- "us-west4"
- "other (if you choose this one you will need to go update config files manually)"
when: "{% if docker_registry_type == 'Google Artifact Registry' %}true{% endif %}"
docker_registry:
type: str
when: "{% if deployment_infrastructure != 'Process' %}true{% endif %}"
help: What is the name of your docker registry? Don't include any image names.
placeholder: "e.g. dockerhub-username or us-east1-docker.pkg.dev/project-name/registry-name"
package_name:
type: str
help: What is the name of your package?
default: "{{ project_name|replace('-', '_') }}"
validator: "{% if '-' in package_name %}Please replace hyphens with underscores{% endif %}"
when: false
include_precommit:
type: bool
help: Do you want to include pre-commit hooks?
default: true
_exclude:
- copier.yaml
- copier.yml
- ~*
- "*.py[co]"
- __pycache__
- .git
- .DS_Store
- .sv
- README.md
- .idea
_tasks:
- "touch README.md"
- "just setup-repo"