-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
44 lines (41 loc) · 1 KB
/
Taskfile.yml
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
version: '3'
vars:
CHART_PATH: infra/root_chart
RELEASE_NAME: sulfone-zinc
includes:
helm: Taskfile.helm.yml
tear: tasks/Taskfile.tear.yml
stop: tasks/Taskfile.stop.yml
tasks:
migration:create:
desc: Creates a migration
env:
LANDSCAPE: lapras
cmds:
- dotnet ef migrations --project ./App add {{.CLI_ARGS}}
setup:
desc: Setups dotnet
cmds:
- dotnet restore --use-lock-file
- dotnet tool restore
- ./scripts/local/secrets.sh
build:
desc: Builds application
cmds:
- dotnet build --no-restore
tear:
desc: Tears down the local development cluster
cmds:
- ./scripts/local/delete-k3d-cluster.sh
exec:
desc: Starts any application in the cluster
cmds:
- ./scripts/local/exec.sh ./config/dev.yaml {{.CLI_ARGS}}
dev:
desc: Starts developing application
cmds:
- ./scripts/local/dev.sh ./config/dev.yaml dotnet watch run --project App
stop:
desc: Stops development in tilt
cmds:
- tilt down