qvest-task/Makefile
aviyadeveloper b8eb8e991c
All checks were successful
Update Automation Tests / Integration Tests (pull_request) Successful in 37s
feat: implement disaster recovery with automated restore
- Create restore.sh for automated S3 backup recovery
  - Fetches backups, stops services, restores database/data/config, restarts & validates
- Successfully tested on production system
- Document procedures in backup-strategy.md
- Add Test 6: Full backup/restore cycle with disaster simulation
- Rename test-update.sh → test-integration.sh
2026-06-11 19:27:49 +02:00

28 lines
798 B
Makefile

.PHONY: help full-deploy full-destroy provision configure test
help:
@echo "Qvest Task - Gitea Deployment"
@echo ""
@echo "Targets:"
@echo " full-deploy - Full deployment (terraform + ansible)"
@echo " full-destroy - Destroy all infrastructure"
@echo " provision - Provision AWS infrastructure only"
@echo " configure - Run ansible configuration only"
@echo " test - Run integration tests"
provision:
cd terraform && terraform apply -auto-approve
configure:
cd ansible && ansible-playbook -i inventory site.yml
test:
./scripts/test-integration.sh
full-deploy: provision configure
@echo "Deployment complete. Gitea available at https://git.poll-streams.com"
full-destroy:
@./scripts/empty-s3-bucket.sh
cd terraform && terraform destroy -auto-approve