-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfile.yaml
More file actions
40 lines (33 loc) · 1017 Bytes
/
taskfile.yaml
File metadata and controls
40 lines (33 loc) · 1017 Bytes
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
version: "3"
tasks:
setup:
desc: Setup
cmds:
- uv sync
run:
desc: "Run development server"
cmds:
- .venv/bin/uvicorn celine.mqtt_auth.main:create_app --reload --host 0.0.0.0 --port 8009
debug:
desc: "Run development server with debugger"
cmds:
- DEBUG_ATTACH=nowait DEBUG_PORT=48009 .venv/bin/uvicorn celine.mqtt_auth.main:create_app --reload --host 0.0.0.0 --port 8009
test:
desc: "Run test"
cmds:
- uv run pytest
release:
cmds:
- uv run semantic-release -v version --no-vcs-release
- git push
- git push --tags
keycloak:sync:
cmds:
- uv run celine-policies keycloak bootstrap --admin-user admin --admin-password admin
- uv run celine-policies keycloak sync
keycloak:sync-users:
desc: "Sync Keycloak users from REC registry YAML"
vars:
REC_YAML: '{{.CLI_ARGS | default "../rec-registry/recs/rec-example.yaml"}}'
cmds:
- uv run celine-policies keycloak sync-users {{.REC_YAML}}