mirror of
https://github.com/MAGICGrants/truenas-apps.git
synced 2026-01-06 19:23:59 -05:00
* 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>
35 lines
1.2 KiB
JSON
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"
|
|
]
|
|
}
|
|
}
|
|
}
|