diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-27 10:51:03 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-27 10:51:03 -0600 |
| commit | 53ea56ccb050b4a72f7919e8ee6b9146cc816251 (patch) | |
| tree | 30d179abdcf75f1d454fc86e4447ea0589c7b93a /scripts/testing | |
| parent | 534826f7f32352c8d9de841e9e07cd63e8acf711 (diff) | |
Add rustup toolchain manager to developer_workstation (before AUR
packages that need rust to compile). Add log-cleanup cron job with
test validation. Update ISO glob for archangel naming. Add dunst
icon theme, hyprlock animations, waybar log filtering.
Diffstat (limited to 'scripts/testing')
| -rwxr-xr-x | scripts/testing/create-base-vm.sh | 4 | ||||
| -rw-r--r-- | scripts/testing/lib/validation.sh | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/scripts/testing/create-base-vm.sh b/scripts/testing/create-base-vm.sh index 9aa785b..11c40a7 100755 --- a/scripts/testing/create-base-vm.sh +++ b/scripts/testing/create-base-vm.sh @@ -43,10 +43,10 @@ if [ ! -f "$CONFIG_FILE" ]; then fi # Find archangel ISO in vm-images/ -ISO_PATH=$(find "$VM_IMAGES_DIR" -maxdepth 1 -name "archzfs-*.iso" -type f 2>/dev/null | sort -V | tail -1) +ISO_PATH=$(find "$VM_IMAGES_DIR" -maxdepth 1 -name "archangel-*.iso" -type f 2>/dev/null | sort -V | tail -1) if [ -z "$ISO_PATH" ]; then fatal "No archangel ISO found in $VM_IMAGES_DIR/" - info "Copy an archzfs-*.iso file to: $VM_IMAGES_DIR/" + info "Copy an archangel-*.iso file to: $VM_IMAGES_DIR/" fi info "Using ISO: $(basename "$ISO_PATH")" diff --git a/scripts/testing/lib/validation.sh b/scripts/testing/lib/validation.sh index de23809..5fa747d 100644 --- a/scripts/testing/lib/validation.sh +++ b/scripts/testing/lib/validation.sh @@ -689,6 +689,16 @@ validate_all_services() { validate_service "cronie" "enabled" "" validate_service "atd" "enabled" "" + # Cron job: log cleanup + step "Checking log-cleanup cron job" + local crontab_entry=$(ssh_cmd "sudo -u cjennings crontab -l 2>/dev/null | grep log-cleanup") + if [ -n "$crontab_entry" ]; then + validation_pass "log-cleanup cron job installed" + else + validation_fail "log-cleanup cron job not in crontab" + attribute_issue "log-cleanup cron job missing from user crontab" "archsetup" + fi + # Timer services validate_service "reflector.timer" "enabled" "" validate_service "paccache.timer" "enabled" "" |
