-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
124 lines (90 loc) · 2.47 KB
/
Copy pathjustfile
File metadata and controls
124 lines (90 loc) · 2.47 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
set shell := ["bash", "-euc"]
export UV_CACHE_DIR := env_var_or_default("UV_CACHE_DIR", ".uv-cache")
export UV_PYTHON_INSTALL_DIR := env_var_or_default("UV_PYTHON_INSTALL_DIR", ".uv-python")
default:
just --list
install:
pnpm install --frozen-lockfile
ci-install:
pnpm install --frozen-lockfile --store-dir .pnpm-store
update-lockfile:
pnpm install --lockfile-only
format:
pnpm format
just format-python
format-check:
pnpm format:check
just format-python-check
lint:
pnpm lint
just lint-python
typecheck:
pnpm typecheck
test:
pnpm test
just test-agy-runner
e2e:
pnpm e2e
install-e2e-browsers:
pnpm exec playwright install --with-deps chromium
test-agy-runner:
uv run --script apps/agy-runner/test/test_runner.py
format-python:
ruff format apps/agy-runner
format-python-check:
ruff format --check apps/agy-runner
lint-python:
ruff check apps/agy-runner
just lint-python-pep723
lint-python-pep723:
bash -uc 'uv run --script apps/agy-runner/run.py >/tmp/scanveil-agy-runner-pep723.log 2>&1; status="$?"; test "$status" = "1"; grep -q missing_payload /tmp/scanveil-agy-runner-pep723.log'
build:
pnpm build
terraform-fmt-check:
terraform -chdir=infra/terraform fmt -check -diff
terraform-validate:
terraform -chdir=infra/terraform init -backend=false -input=false
terraform -chdir=infra/terraform validate
terraform-check:
just terraform-fmt-check
just terraform-validate
gitleaks:
pnpm supply-chain:gitleaks
osv:
pnpm supply-chain:osv
pinact:
pnpm supply-chain:pinact
supply-chain:
just gitleaks
just osv
just pinact
ci:
just install
just format-check
just lint
just typecheck
just test
just build
just e2e
just terraform-check
just supply-chain
dev-api:
pnpm dev:api
dev-docs:
pnpm dev:docs
dev-console:
pnpm dev:console
dev-web:
pnpm dev:console
dev-firebase:
pnpm --filter @scanveil/docs build
pnpm --filter @scanveil/functions build
FIREBASE_CLI_DISABLE_UPDATE_CHECK=1 pnpm exec firebase emulators:start --only hosting,functions --project kexi-380010
build-docs:
pnpm --filter @scanveil/docs build
build-firebase:
pnpm --filter @scanveil/docs build
pnpm --filter @scanveil/functions build
deploy-firebase:
just build-firebase
FIREBASE_CLI_DISABLE_UPDATE_CHECK=1 pnpm exec firebase deploy --only hosting,functions:githubWebhook,functions:adminApi --project kexi-380010 --force