Adds Gitea Actions CI/CD for test and production
The pipeline runs lint, format, tests, build, dependency audit and Lighthouse (mobile and desktop, Playwright Chromium on the arm64 runner) on every pull request, push to master and manual run. Pushes to master deploy to test automatically, and any branch can be deployed to test manually. Test is a Raspberry Pi with nginx next to the current WordPress site; the deploy refuses folders containing WordPress. Production deploys are manual and only from release/* branches, over FTP with TLS to the IIS webhost. The IIS web.config and both nginx configs are generated from the same security header list as the Vite servers, with a test that fails when the generated files drift. Adds .gitattributes for LF line endings and pins pnpm through packageManager. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
- **Feature Slug**: frontend-shell
|
||||
- **Project Type**: Brownfield
|
||||
- **Start Date**: 2026-10-14T09:46:02Z
|
||||
- **Current Stage**: CONSTRUCTION - Build and Test (complete, awaiting Operations decision)
|
||||
- **Current Stage**: OPERATIONS - Deployment Setup (awaiting approval)
|
||||
- **Branch**: feature/frontend-shell
|
||||
|
||||
## Workspace State
|
||||
@@ -33,8 +33,12 @@
|
||||
| Property-Based Testing | Yes (full enforcement) | Requirements Analysis |
|
||||
|
||||
## Operations Configuration
|
||||
- **Include Operations Phase**: Undecided
|
||||
- **Decided At**: Pending — asked at Requirements Analysis
|
||||
- **Include Operations Phase**: Yes
|
||||
- **Decided At**: Build and Test
|
||||
|
||||
### Deployment Setup
|
||||
- **Included**: Yes
|
||||
- **Method**: CI/CD (Gitea Actions) — test via SSH/scp to Raspberry Pi nginx, production via FTPS to IIS webhost (manual, release/* only)
|
||||
|
||||
## Scope Notes (from user)
|
||||
- Side area / "Info menu" from the static design is OUT of scope (deliberately left out)
|
||||
@@ -62,15 +66,17 @@
|
||||
- [x] NFR Design - SKIP
|
||||
- [x] Infrastructure Design - SKIP
|
||||
- [x] Code Generation - EXECUTE (approved)
|
||||
- [x] Build and Test - EXECUTE (complete; Operations decision pending)
|
||||
- [x] Build and Test - EXECUTE (complete)
|
||||
|
||||
### 🟡 OPERATIONS PHASE
|
||||
- [ ] Deployment Setup, Monitoring Setup, Production Readiness Validation - UNDECIDED
|
||||
- [~] Deployment Setup - EXECUTE (artifacts generated, awaiting approval)
|
||||
- [ ] Monitoring Setup - EXECUTE
|
||||
- [ ] Production Readiness Validation - EXECUTE
|
||||
|
||||
## Current Status
|
||||
- **Lifecycle Phase**: CONSTRUCTION
|
||||
- **Current Stage**: Build and Test
|
||||
- **Next Stage**: Operations (undecided)
|
||||
- **Lifecycle Phase**: OPERATIONS
|
||||
- **Current Stage**: Deployment Setup
|
||||
- **Next Stage**: Monitoring Setup
|
||||
|
||||
## Reverse Engineering Status
|
||||
- [x] Reverse Engineering - Artifacts generated on 2026-10-14T09:58:04Z (approved 2026-10-14T10:05:21Z)
|
||||
|
||||
Reference in New Issue
Block a user