Add initial implementations for forms and organization apps with serializers, factories, and admin configurations
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
This commit is contained in:
23
docker/scripts/check-deps.sh
Executable file
23
docker/scripts/check-deps.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
export DJANGO_SETTINGS_MODULE="${DJANGO_SETTINGS_MODULE:-settings.dev}"
|
||||
export STARTUP_COMPONENT="${STARTUP_COMPONENT:-container}"
|
||||
|
||||
case "${DJANGO_SETTINGS_MODULE}" in
|
||||
settings.dev|settings.production|settings.test)
|
||||
;;
|
||||
esac
|
||||
|
||||
python - <<'PY'
|
||||
import os
|
||||
|
||||
import django
|
||||
|
||||
django.setup()
|
||||
|
||||
from apps.core.startup_checks import run_startup_checks
|
||||
|
||||
run_startup_checks(component=os.environ["STARTUP_COMPONENT"])
|
||||
print(f"[startup:{os.environ['STARTUP_COMPONENT']}] dependency checks passed")
|
||||
PY
|
||||
Reference in New Issue
Block a user