Migrate production cron jobs with Python 3.14 rollout

This commit is contained in:
anor
2026-11-29 03:24:05 +10:00
parent 83088c09b7
commit 7678b36df5
6 changed files with 127 additions and 4 deletions
+1
View File
@@ -60,6 +60,7 @@ test "$(sha256sum "$prod/$index" | cut -d' ' -f1)" = "$index_before"
test "$(sha256sum "$prod/.env" | cut -d' ' -f1)" = "$env_before"
systemctl is-active --quiet smeta-web
curl -fsS --noproxy '*' http://127.0.0.1:8101/health | grep -q '"status":"ok"'
(cd "$prod" && "$python_bin" scripts/migrate_python314_cron.py)
(cd "$prod" && set -a && . ./.env && set +a &&
"$python_bin" -c 'import health_checks; assert health_checks.check_unpriced_runs().ok')
canary=$(cd "$prod" && CANARY_DRY_RUN=1 \