Repository navigation
Expand file tree
/
Copy pathdevbox.json
More file actions
43 lines (43 loc) · 1.82 KB
/
Copy pathdevbox.json
File metadata and controls
43 lines (43 loc) · 1.82 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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
"packages": [
"python311Packages.pytest",
"python311Packages.pytest-cov",
"python311Packages.flake8",
"python311Packages.bcrypt",
"python311Packages.pydantic",
"git@latest",
"python311Packages.pyyaml@latest",
"python311Packages.docker@latest"
],
"shell": {
"init_hook": [],
"scripts": {
"ports": ["./.github/scripts/port_validation.py"],
"all-metadata": ["./.github/scripts/generate_metadata.py \"$@\""],
"metadata": [
"./.github/scripts/generate_metadata.py --train \"$1\" --app \"$2\""
],
"lib-test": [
"failed=0; flake8 library || failed=1; for tests in library/*/tests; do pytest \"$tests\" -vvv || failed=1; done; find library -name __pycache__ -prune -exec rm -r {} +; exit $failed"
],
"app-test": [
"./.github/scripts/ci.py --train \"$1\" --app \"$2\" --test-file \"${3:-basic-values.yaml}\" --wait=true"
],
"app-render": [
"./.github/scripts/ci.py --train \"$1\" --app \"$2\" --test-file \"${3:-basic-values.yaml}\" --render-only=true"
],
"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:slim apps_catalog_hash_generate --path /workspace"
],
"prepare-libs": ["python .github/scripts/prepare_libs.py \"$@\""],
"validate": [
"docker run --platform linux/amd64 --quiet --rm -e FAKE_ENV=1 -v $PWD:/workspace ghcr.io/truenas/apps_validation:slim apps_dev_charts_validate validate --path /workspace"
]
}
}
}