Finish Schoolhouse programming submission flow
This commit is contained in:
@@ -66,3 +66,26 @@ Then verify:
|
||||
- assignment intake confirms into n8n/Paperless
|
||||
- recording conversion works inside container
|
||||
- recording downstream workflow returns success
|
||||
- browser uploads return to `/assignments/upload` with a success notice instead of rendering raw JSON
|
||||
- programming-class uploads create one `source_bundle` submission and immediately queue the Paperless receipt upload
|
||||
|
||||
## Serenity backup on NOMAD
|
||||
|
||||
If Schoolhouse submission bundles should survive a NOMAD disk problem, back up `/opt/doris-schoolhouse/data` to Serenity.
|
||||
|
||||
Current live helper:
|
||||
|
||||
```bash
|
||||
/opt/doris-schoolhouse/bin/backup-to-serenity.sh
|
||||
```
|
||||
|
||||
Behavior:
|
||||
- mounts Serenity NFS export `10.5.1.5:/mnt/user/data` at `/mnt/serenity-data` when needed
|
||||
- mirrors `/opt/doris-schoolhouse/data/` into `/mnt/serenity-data/backups/nomad/doris-schoolhouse/data/`
|
||||
- writes `last_success_utc.txt` and `source_host.txt` markers beside the mirrored data
|
||||
|
||||
Suggested cron on NOMAD:
|
||||
|
||||
```cron
|
||||
40 2 * * * /opt/doris-schoolhouse/bin/backup-to-serenity.sh >> /opt/doris-schoolhouse/logs/backup-to-serenity.log 2>&1
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user