feat: Add PeerTube & PieFed auto-update, improve classifier
Add auto-update scripts and review examples for PeerTube and PieFed, bringing total auto-updating services to three. The classifier now includes the current and target version in the prompt so it can correctly evaluate conditional upgrade notes like "follow v8.1.0 instructions if upgrading from <= v8.0.2". Without this context the model would conservatively flag patch releases as manual. All auto-update wrappers now use `bash -euo pipefail` when calling remote scripts so failures in upstream deploy/upgrade scripts propagate correctly instead of silently succeeding. test_classifier.py now accepts a service name argument and derives realistic version numbers from the release notes for testing.
This commit is contained in:
parent
f55f3d8e91
commit
67a9509eaa
13 changed files with 376 additions and 10 deletions
4
services/peertube/auto-update.sh
Executable file
4
services/peertube/auto-update.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
ssh jeena@jeena.net 'cd /var/www/peertube && bash -euo pipefail upgrade.sh 2>&1 | tail -5'
|
||||
Loading…
Add table
Add a link
Reference in a new issue