Migriert die weiterhin benötigten Zeitaufgaben einschließlich SOAP-Importen, Betriebsstatus und Wiederanlaufkontrolle. Aktiviert 115 native Spring-Tasks im Docker-Image ohne Cron-Daemon oder PHP und dokumentiert die entfallenen HHA-Aufrufe. Ergänzt PHP-/UI-Testwerkzeuge und aktualisiert den Projektstand auf Version 0.2.0.
11 lines
561 B
Bash
Executable File
11 lines
561 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
test_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
|
test_image='mcr.microsoft.com/playwright:v1.63.0-noble'
|
|
terminal_flags=(-i)
|
|
if [[ -t 0 && -t 1 ]]; then terminal_flags+=(-t); fi
|
|
# Only this test directory is mounted. The browser accesses the PHP app via HTTPS.
|
|
exec docker run --rm --init --shm-size=512m "${terminal_flags[@]}" \
|
|
--mount "type=bind,source=$test_dir,target=/tests" --workdir /tests \
|
|
"$test_image" bash -c 'npm ci --ignore-scripts --no-audit --no-fund && exec python3 run.py "$@"' -- "$@"
|