Some checks failed
CI/CD Pipeline / Run Tests (pull_request) Has been cancelled
CI/CD Pipeline / Code Quality (pull_request) Has been cancelled
CI Pipeline / Lint Code (pull_request) Has been cancelled
CI Pipeline / Test API Package (pull_request) Has been cancelled
CI Pipeline / Test Web Package (pull_request) Has been cancelled
CI Pipeline / Test Shared Package (pull_request) Has been cancelled
Docker Build & Deploy / Build Docker Images (pull_request) Has been cancelled
E2E Tests / End-to-End Tests (pull_request) Has been cancelled
E2E Tests / E2E Tests (Mobile) (pull_request) Has been cancelled
Security Scanning / NPM Audit (pull_request) Has been cancelled
Security Scanning / Dependency License Check (pull_request) Has been cancelled
Security Scanning / Code Quality Scan (pull_request) Has been cancelled
Security Scanning / Docker Image Security (pull_request) Has been cancelled
CI/CD Pipeline / Build and Push Docker Images (pull_request) Has been cancelled
CI Pipeline / Build All Packages (pull_request) Has been cancelled
CI Pipeline / Generate Coverage Report (pull_request) Has been cancelled
Docker Build & Deploy / Push Docker Images (pull_request) Has been cancelled
Docker Build & Deploy / Deploy to Staging (pull_request) Has been cancelled
Docker Build & Deploy / Deploy to Production (pull_request) Has been cancelled
Security Scanning / Security Summary (pull_request) Has been cancelled
## Summary - Add complete CI/CD pipeline with Gitea Actions for automated testing, building, and deployment - Implement backup and restore system with full database and file backup to ZIP - Add deployment automation with webhook receiver and systemd service - Enhance recipe editing UI with improved ingredient parsing and cooking mode features - Add comprehensive documentation for CI/CD, deployment, and backup features ## CI/CD Pipeline - New workflow in .gitea/workflows/ci-cd.yml with test, build, and deploy stages - Automated Docker image building and pushing to registry - Webhook-triggered deployments to production servers ## Backup & Restore - New backup service with ZIP creation including database dump and uploads - REST API endpoints for create, list, download, restore, and delete operations - Configurable backup path via BACKUP_PATH environment variable ## Deployment - Automated deployment scripts (deploy.sh, manual-deploy.sh) - Webhook receiver with systemd service for deployment triggers - Environment configuration template (.env.deploy.example) ## Documentation - docs/CI-CD-SETUP.md - Complete CI/CD pipeline setup guide - docs/DEPLOYMENT-QUICK-START.md - Quick deployment reference - docs/BACKUP.md - Backup and restore documentation - docs/REMOTE_DATABASE.md - Remote database configuration guide - scripts/README.md - Deployment scripts documentation ## Web Improvements - Enhanced ingredient parser with better unit and quantity detection - Improved recipe editing interface with unified edit experience - Better cooking mode functionality - Updated dependencies in package.json 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
63 lines
2.3 KiB
JSON
63 lines
2.3 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(docker network:*)",
|
|
"Bash(docker-compose build:*)",
|
|
"Bash(docker compose build:*)",
|
|
"Bash(docker compose:*)",
|
|
"Bash(docker logs:*)",
|
|
"Bash(docker inspect:*)",
|
|
"Bash(curl:*)",
|
|
"Read(//tmp/**)",
|
|
"WebSearch",
|
|
"WebFetch(domain:www.npmjs.com)",
|
|
"Bash(python3:*)",
|
|
"Bash(docker exec:*)",
|
|
"Bash(docker cp:*)",
|
|
"Bash(docker restart:*)",
|
|
"Bash(./scripts/version.sh:*)",
|
|
"Bash(docker login:*)",
|
|
"Bash(git checkout:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git config:*)",
|
|
"Bash(git push:*)",
|
|
"Bash(npm run build:*)",
|
|
"WebFetch(domain:github.com)",
|
|
"WebFetch(domain:raw.githubusercontent.com)",
|
|
"Bash(pip3 index:*)",
|
|
"Bash(GIT_ASKPASS=/tmp/git-askpass.sh git push:*)",
|
|
"Bash(npm run prisma:migrate:*)",
|
|
"Bash(npx prisma migrate dev:*)",
|
|
"Bash(npx prisma migrate:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git remote set-url:*)",
|
|
"Bash(ssh-keygen:*)",
|
|
"Read(//root/.ssh/**)",
|
|
"Bash(GIT_SSH_COMMAND=\"ssh -o StrictHostKeyChecking=accept-new -p 2222\" git push:*)",
|
|
"Bash(wget:*)",
|
|
"Bash(sudo mv:*)",
|
|
"Bash(sudo chmod:*)",
|
|
"Bash(npm run dev)",
|
|
"Bash(npx tsx:*)",
|
|
"Bash(cat:*)",
|
|
"Bash(npm test)",
|
|
"Bash(docker-compose down:*)",
|
|
"Bash(gh pr create:*)",
|
|
"Bash(git pull:*)",
|
|
"Bash(docker-compose ps:*)",
|
|
"Bash(npm test:*)",
|
|
"Bash(npm run test:*)",
|
|
"Bash(npm install:*)",
|
|
"Bash(chmod:*)",
|
|
"Bash(docker-compose logs:*)",
|
|
"Bash(ACCESS_TOKEN=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWlkdWFtOW4wMDAwaXE1ZHZ4NDkwbGdkIiwiZW1haWwiOiJ0ZXN0QGV4YW1wbGUuY29tIiwicm9sZSI6IlVTRVIiLCJpYXQiOjE3NjQwMzEyNTMsImV4cCI6MTc2NDAzMjE1M30.-meSwJ-PfWX1OEpgnOgLCnz94hMtz_iUgemFDCFdl34\" curl -s http://localhost:3001/api/auth/me -H \"Authorization: Bearer $ACCESS_TOKEN\")",
|
|
"Bash(/tmp/login.json)",
|
|
"Bash(/tmp/token.txt)",
|
|
"Bash(TOKEN=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWlkdWFtOW4wMDAwaXE1ZHZ4NDkwbGdkIiwiZW1haWwiOiJ0ZXN0QGV4YW1wbGUuY29tIiwicm9sZSI6IlVTRVIiLCJpYXQiOjE3NjQwNDU2NjUsImV4cCI6MTc2NDA0NjU2NX0.oeV_sunfHAUNfwbm1V_b1rlTPeK_NtfxiBeVo6kIH6M\")",
|
|
"Bash(docker ps:*)"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
}
|