Protect task diagnostics and stream incremental run output
Build custom container images / build (map[base_image:php:8-fpm-alpine build_args:PHP_VERSION=8
context:php8-pgsql fingerprint_command:{ apk info -v | LC_ALL=C sort; find /usr/local/lib/php/extensions /usr/local/etc/php/conf.d -type f -exec sha256sum {} + | LC_ALL=C sort; }
name:ph… (push) Successful in 38s
Build custom container images / build (map[base_image:postgres:18 build_args:PG_VERSION=18
POSTGIS_VERSION=3
VCHORD_VERSION=0.5.3
context:postgres fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; find /usr/lib/postgresql -type f -exec sha256su… (push) Successful in 47s
Build custom container images / build (map[base_image:python:3 build_args:PYTHON_VERSION=3
context:python-tools fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; }
name:python-tools oci_labels:org.opencontainers.ima… (push) Successful in 1m24s
Build custom container images / build (map[base_image:python:3.12-slim build_args:PYTHON_VERSION=3.12-slim
context:linkki-tiedotus fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; }
name:linkki-tiedotus oci_labels:… (push) Successful in 38s
Build custom container images / build (map[base_image:python:3.12-slim build_args:PYTHON_VERSION=3.12-slim
context:timepoll fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; }
name:timepoll oci_labels:org.opencontai… (push) Successful in 43s
Build custom container images / build (map[base_image:php:8-fpm-alpine build_args:PHP_VERSION=8
context:php8-pgsql fingerprint_command:{ apk info -v | LC_ALL=C sort; find /usr/local/lib/php/extensions /usr/local/etc/php/conf.d -type f -exec sha256sum {} + | LC_ALL=C sort; }
name:ph… (push) Successful in 38s
Build custom container images / build (map[base_image:postgres:18 build_args:PG_VERSION=18
POSTGIS_VERSION=3
VCHORD_VERSION=0.5.3
context:postgres fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; find /usr/lib/postgresql -type f -exec sha256su… (push) Successful in 47s
Build custom container images / build (map[base_image:python:3 build_args:PYTHON_VERSION=3
context:python-tools fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; }
name:python-tools oci_labels:org.opencontainers.ima… (push) Successful in 1m24s
Build custom container images / build (map[base_image:python:3.12-slim build_args:PYTHON_VERSION=3.12-slim
context:linkki-tiedotus fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; }
name:linkki-tiedotus oci_labels:… (push) Successful in 38s
Build custom container images / build (map[base_image:python:3.12-slim build_args:PYTHON_VERSION=3.12-slim
context:timepoll fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; }
name:timepoll oci_labels:org.opencontai… (push) Successful in 43s
This commit is contained in:
1 parent
0aa67439fd
commit
55bbbe2fd7
8 files changed
+319
-51
No files matched your search
+12
-6
@@ -8,9 +8,9 @@ with `python -m app`.
|
||||
|
||||
The application discovers direct `*.py` files in each non-hidden directory
|
||||
under `/opt/tasks`. Each directory is a task group. Tasks in one group run
|
||||
sequentially; different groups may run concurrently. It records run history and
|
||||
combined output in SQLite under `/var/lib/server-maintenance`, and supports
|
||||
cancellation of active task process groups.
|
||||
sequentially; different groups may run concurrently. It records run history in
|
||||
SQLite and combined output in log files under `/var/lib/server-maintenance`,
|
||||
and supports cancellation of active task process groups.
|
||||
|
||||
The image contains application code only. Mount these paths at runtime:
|
||||
|
||||
@@ -77,6 +77,7 @@ readable. `description` is optional on a task and otherwise comes from the
|
||||
first non-empty line of its module docstring. The order of keys in `tasks`
|
||||
controls the listed tasks' display order. Include a task as `{}` when only
|
||||
ordering is needed. Unlisted direct Python files follow alphabetically.
|
||||
Use `\n` for a line break or `\n\n` for a paragraph gap in descriptions.
|
||||
|
||||
Each task declaration may contain `title`, `description`, `inputs`,
|
||||
`wait_for_result`, `download_artifacts`, and `execution`. Set
|
||||
@@ -143,9 +144,14 @@ Tasks can write files to the directory named by
|
||||
`SERVER_MAINTENANCE_ARTIFACTS`. Run-detail pages show them when the task
|
||||
finishes. JSON artifacts offer an **Open** link that renders the JSON in a new
|
||||
tab and leaves the artifact available; other artifacts offer a download link.
|
||||
The server deletes an artifact after its download transfer ends; any artifact
|
||||
not downloaded is removed after 24 hours. A browser cannot confirm that a
|
||||
downloaded file was retained on the client device.
|
||||
The server deletes an artifact after its download stream completes; interrupted
|
||||
downloads remain available for retry. Active runs' artifacts never expire.
|
||||
After a run finishes, artifacts expire after 24 hours. Failed or cancelled
|
||||
runs keep valid JSON diagnostic reports, but discard incomplete downloads.
|
||||
Ordinary input files are removed when execution ends; saved inputs remain in
|
||||
SQLite for history and review replay. Run pages fetch only appended log bytes.
|
||||
|
||||
A browser cannot confirm that a downloaded file was retained on the client device.
|
||||
|
||||
## Background tasks
|
||||
|
||||
|
||||
Reference in new issue
Block a user