-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.py
43 lines (40 loc) · 1.14 KB
/
tasks.py
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
import invoke
import saritasa_invocations
import invocations
ns = invoke.Collection( # type: ignore
invocations.project,
saritasa_invocations.docker,
saritasa_invocations.git,
saritasa_invocations.github_actions,
saritasa_invocations.pre_commit,
saritasa_invocations.python,
saritasa_invocations.system,
saritasa_invocations.poetry,
saritasa_invocations.mypy,
saritasa_invocations.pytest,
saritasa_invocations.django,
saritasa_invocations.open_api,
)
# Configurations for run command
ns.configure(
{
"run": {
"pty": True,
"echo": True,
},
"saritasa_invocations": saritasa_invocations.Config(
project_name="saritasa-s3-tools",
docker=saritasa_invocations.DockerSettings(
main_containers=(
"minio",
"minio-create-bucket",
"postgres",
),
),
django=saritasa_invocations.DjangoSettings(
settings_path="example.settings",
manage_file_path="example/manage.py",
),
),
},
)