TAPPaaS-CICD Scripts¶
Utility scripts for TAPPaaS-CICD operations. These scripts are installed to /home/tappaas/bin/ during setup.
Module Lifecycle Scripts¶
- install-module.sh - Install a module with dependency validation
- update-module.sh - Update a module with snapshot, testing, and rollback
- test-module.sh - Test a module with dependency-recursive service testing
- delete-module.sh - Delete a module with dependency-aware teardown
Repository Management¶
- repository.sh - Manage module repositories (add/remove/modify/list)
VM Management¶
- update-os.sh - OS-specific update (NixOS/Debian)
- snapshot-vm.sh - VM snapshot management (create/list/cleanup/restore)
- migrate-vm.sh - Migrate VMs between nodes (live or offline)
- migrate-node.sh - Evacuate or return all VMs on a node
Cluster Inspection¶
- inspect-cluster.sh - Compare running VMs against module configurations
- inspect-vm.sh - 3-column config/git/actual VM comparison
Disk Management¶
- check-disk-threshold.sh - Auto-expand disks when usage exceeds threshold
- resize-disk.sh - Resize VM disk in Proxmox and filesystem
Configuration Scripts¶
- create-configuration.sh - Generate system configuration.json
- copy-update-json.sh - Copy and modify module JSON configs
- common-install-routines.sh - Shared library for install scripts
System Scripts¶
- update-cron.sh - Set up hourly update cron job
- setup-caddy.sh - Install Caddy reverse proxy on firewall
Installation¶
These scripts are automatically installed by install2.sh:
Or symlinked via NixOS configuration.