mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 18:07:06 +01:00
Also bumps the 16 meta/requirements pins the freshness gate flagged (anthropic 1.5.0, numpy 2.5.3, pytest-randomly 5, flake8-bugbear 26.9.9, ruff 0.16.7, pyright 1.1.414, selenium 4.49.0, hypothesis 6.168.0, lxml 6.1.3, pipdeptree 4.2.5, the two types-* stubs) and Flutter 3.47.3 in meta/.fvmrc. One test still expected the pre-move ~/mcp-servers path. The pre-commit hook fed .zsh files to shfmt and shellcheck, neither of which parses zsh (SC2148/SC1071), so no zsh file could be committed since the hook was tightened on 2026-08-22; those now get `zsh -n` instead. The hook's own shfmt pass also staged its reformat of 8 shell files. CI_GREEN_SKIP because main is red on exactly the dependency-freshness finding this commit fixes, which is the documented use of that flag. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AwtowrowDXx6ccmWVPkCaF
25 lines
1.2 KiB
Desktop File
25 lines
1.2 KiB
Desktop File
[Unit]
|
|
Description=Import RunnerUp activities into Endurain
|
|
Documentation=file:///home/kuhy/src/testsAndMisc/endurain/README.md
|
|
# Endurain runs in Docker; without this the timer fires during boot before the
|
|
# stack is listening and logs a spurious "not reachable" failure.
|
|
After=network-online.target docker.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/home/kuhy/src/testsAndMisc
|
|
Environment=ENDURAIN_URL=http://127.0.0.1:8085
|
|
Environment=ENDURAIN_INBOX=/home/kuhy/data/cloud/RunnerUp
|
|
Environment=ENDURAIN_STATE=/home/kuhy/.local/state/endurain-import
|
|
Environment=ENDURAIN_BULK_DIR=/var/opt/endurain/backend/data/activity_files/bulk_import
|
|
# Two adb devices are usually attached (USB phone + a network target), and the
|
|
# importer refuses to guess between them. Pin the phone explicitly.
|
|
Environment=ENDURAIN_ADB_SERIAL=23181JEGR08034
|
|
# The API key is read from a mode-600 file rather than embedded here: systemd
|
|
# unit files are world-readable.
|
|
ExecStart=/usr/bin/bash -c 'ENDURAIN_API_KEY="$(cat /home/kuhy/src/testsAndMisc/endurain/.api_key)" /home/kuhy/src/testsAndMisc/.venv/bin/python -m python_pkg.endurain_import'
|
|
|
|
[Install]
|
|
WantedBy=default.target
|