diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-02-07 15:42:07 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-02-07 15:42:07 -1000 |
| commit | d793e16f336189d38a9d43310713dd13e3b7c438 (patch) | |
| tree | b1e53d42069619912e683ddd1a58ed67b1873190 /scripts/logs | |
| parent | 0620afc98fdc0f764e82807bb0090b78618ddb1d (diff) | |
Add build version footer, deploy ldflags, template test helper, and logs script
- Display build commit hash in unobtrusive footer overlay
- Inject buildCommit/buildTime via ldflags in deploy.sh
- Add assertTemplateContains test helper, refactor existing template tests
- Add scripts/logs for fetching production journalctl via SSH
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'scripts/logs')
| -rwxr-xr-x | scripts/logs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/logs b/scripts/logs new file mode 100755 index 0000000..7cec0c6 --- /dev/null +++ b/scripts/logs @@ -0,0 +1,11 @@ +#!/bin/bash +# Fetch logs from the production task-dashboard service +# +# Usage: +# scripts/logs # last 100 lines +# scripts/logs -f # follow (tail -f) +# scripts/logs -n 500 # last 500 lines +# scripts/logs --since "1 hour ago" +# scripts/logs --grep "error" + +ssh titanium journalctl -u task-dashboard@doot.terst.org --no-pager "$@" |
