-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yaml
55 lines (51 loc) · 1.34 KB
/
Taskfile.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
version: "3"
vars:
PLATFORM: nitroso
SERVICE: helium
USER: kirinnee/
CHART_PATH: infra/root_chart
RELEASE_NAME: nitroso-helium
ZINC_API: http://api.zinc.nitroso.lapras.lvh.me:20010
includes:
docker: tasks/Taskfile.docker.yaml
tear: tasks/Taskfile.tear.yml
helm: Taskfile.helm.yml
util: tasks/Taskfile.util.yml
stop: tasks/Taskfile.stop.yml
tasks:
setup:
desc: Setups
cmds:
- ./scripts/local/secrets.sh
- bun i
dev:
desc: Run in development
cmds:
- ./scripts/local/dev.sh ./config/dev.yaml bun run --hot ./src/index.ts {{.CLI_ARGS}}
run:
desc: Start
env:
LANDSCAPE: lapras
cmds:
- bun run src/index.ts {{.CLI_ARGS}}
generate:config:schema:
desc: Generates configuration schema for better IDE completions
cmds:
- bun run typescript-json-schema ./src/config/root.config.ts RootConfig -o config/app/schema.json
latest:
desc: Get the latest versions of dependencies
cmds:
- task: util:latest-oci
vars:
NAME: bromine
OCI: ghcr.io/atomicloud/sulfoxide.bromine/sulfoxide-bromine
- task: util:latest-oci
vars:
NAME: zinc
OCI: ghcr.io/atomicloud/nitroso.zinc/root-chart
sdk:gen:
desc: Generate the SDK
env:
ZINC_API: "{{.ZINC_API}}"
cmds:
- ./scripts/local/gen-sdk.sh v1