forked from truenas/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevbox.json
More file actions
44 lines (44 loc) · 1.73 KB
/
devbox.json
File metadata and controls
44 lines (44 loc) · 1.73 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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
"packages": [
"python@3.11",
"python311Packages.pytest",
"python311Packages.pytest-cov",
"python311Packages.bcrypt",
"python311Packages.pydantic",
"git@latest",
"python311Packages.pyyaml@latest",
"python311Packages.docker@latest"
],
"shell": {
"init_hook": [],
"scripts": {
"ports": ["./.github/scripts/port_validation.py"],
"metadata": [
"./.github/scripts/generate_metadata.py --train \"$1\" --app \"$2\""
],
"lib-test": [
"pytest library/ -vvv",
"rm -r library/**/__pycache__",
"rm -r library/**/tests/__pycache__"
],
"app-test": [
"./.github/scripts/ci.py --train \"$1\" --app \"$2\" --test-file \"${3:-basic-values.yaml}\" --wait=true",
"./.github/scripts/generate_metadata.py --train \"$1\" --app \"$2\""
],
"app-render": [
"./.github/scripts/ci.py --train \"$1\" --app \"$2\" --test-file \"${3:-basic-values.yaml}\" --render-only=true",
"./.github/scripts/generate_metadata.py --train \"$1\" --app \"$2\""
],
"app-render-debug": [
"./.github/scripts/ci.py --train \"$1\" --app \"$2\" --test-file \"${3:-basic-values.yaml}\" --render-only-debug=true"
],
"copy-lib": [
"docker run --platform linux/amd64 --quiet --rm -e FAKE_ENV=1 -v $PWD:/workspace ghcr.io/truenas/apps_validation:latest apps_catalog_hash_generate --path /workspace"
],
"validate": [
"docker run --platform linux/amd64 --quiet --rm -e FAKE_ENV=1 -v $PWD:/workspace ghcr.io/truenas/apps_validation:latest apps_dev_charts_validate validate --path /workspace"
]
}
}
}