Files
truenas-apps/devbox.json
truenasbot efd88182c0 chore(deps): update updates-patch-minor (#3740)
* chore(deps): update updates-patch-minor

* devbox (#3726)

* bump devbox

* order

* another

* more scripts

* opencloud: fix csp (#3741)

* opencloud: fix csp

* better

---------

Co-authored-by: bugclerk <bugclerk@ixsystems.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2025-11-30 21:10:19 +02:00

35 lines
1.2 KiB
JSON

{
"$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"
],
"shell": {
"init_hook": [],
"scripts": {
"ports": ["./.github/scripts/port_validation.py"],
"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\""
],
"copy-lib": [
"docker run --platform linux/amd64 --quiet --rm -v $PWD:/workspace ghcr.io/truenas/apps_validation:latest apps_catalog_hash_generate --path /workspace"
]
}
}
}