Commit Graph

284 Commits

Author SHA1 Message Date
a6b55a0352 Upload 5 modified files from chat-switchboard-v0.5.1-2.zip 2026-02-18 21:40:06 +00:00
410492a7fa Upload 5 modified files from chat-switchboard-v0.5.1-1.zip 2026-02-18 21:07:57 +00:00
7075538702 Upload 4 new, 6 modified files from chat-switchboard-v0.5.1.zip 2026-02-18 20:58:13 +00:00
490fe5c6a3 Upload 9 modified files from chat-switchboard-v0.5.0.zip 2026-02-18 20:28:28 +00:00
d79a43145e Changeset 0.4.1 1 (#34) 2026-02-18 20:27:49 +00:00
e2f538d787 Changeset 0.4.1 (#33) 2026-02-18 18:58:47 +00:00
c98eb80950 Changeset 0.4.3 (#32) 2026-02-18 17:47:21 +00:00
2fc4f6980c Feature user and admin panels (#30) 2026-02-16 20:30:36 +00:00
c5866ae785 version bump 2026-02-16 17:11:47 +00:00
d9ab162dfb Completions api (#8) (#29) 2026-02-16 17:00:11 +00:00
d83217504c Ci fixes unified build (#28) 2026-02-16 14:15:46 +00:00
e69b5308f5 Ci cleanup (#27) 2026-02-16 12:16:00 +00:00
b7731bd83f Mode switching (#10) (#26) 2026-02-16 11:30:46 +00:00
4e5b873087 revert bb7370db11
revert Update Dockerfile.frontend
2026-02-16 01:36:32 +00:00
bb7370db11 Update Dockerfile.frontend 2026-02-16 01:33:08 +00:00
676710a005 Issue 9 chat api (#25) 2026-02-16 01:01:33 +00:00
8f10352e7d Issue 4 jwt (#24) 2026-02-15 23:41:48 +00:00
c75f976a2d [BACKEND] Initialize Go backend structure and dependencies (#23) 2026-02-15 22:50:06 +00:00
7157877f0b feat: Setup CI/CD infrastructure with Go, Frontend, and Docker workflows (#22)
## Summary

This PR sets up the complete CI/CD infrastructure for the Chat Switchboard project, implementing automated testing, linting, building, and Docker containerization.

## Changes

### CI/CD Workflows

1. **`.gitea/workflows/backend.yml`** - Backend CI pipeline
   - Automated Go module initialization
   - Test execution with coverage reporting
   - Code linting with golangci-lint
   - Binary compilation with version tags
   - Artifact upload for debugging

2. **`.gitea/workflows/frontend.yml`** - Frontend CI pipeline
   - JavaScript linting with ESLint
   - CSS validation with Prettier
   - Standalone HTML build via build.sh
   - HTML structure validation
   - Build artifact management

3. **`.gitea/workflows/docker.yml`** - Docker CI pipeline
   - Backend container building and testing
   - Frontend container building
   - Automatic image tagging on tags/branches
   - Registry push on main branch
   - Multi-arch manifest creation

### Docker Configuration

- `server/Dockerfile` - Multi-stage Go backend container with health checks
- `Dockerfile.frontend` - Nginx frontend container with gzip compression
- `nginx.conf` - Optimized nginx config with security headers

### Dependencies

- `server/go.mod` - Initialized Go module with Gin and godotenv

### Documentation

- `docs/CICD_SETUP.md` - Comprehensive CI/CD documentation

## Features

-  Auto-trigger on push/PR to main/develop
-  Test coverage reporting
-  Code quality checks (golangci-lint, ESLint)
-  Build artifact management (7-day retention)
-  Semantic versioning support (v* tags)
-  Multi-stage Docker builds
-  Container health checks
-  Security headers in nginx
-  Gzip compression
-  Non-root container execution

## Testing

The workflows will automatically run on this PR. Once merged, all future PRs and pushes to main/develop will trigger the appropriate CI checks.

## Acceptance Criteria

-  All PRs run CI checks
-  Docker images auto-build on tags
-  Standalone build generates on each commit

## Next Steps (Manual)

1. Merge this PR to `main`
2. Create `develop` branch: `git checkout main && git checkout -b develop && git push origin develop`
3. Configure branch protection in Gitea (Settings → Branches → Add protection rule for main/develop)
4. Test with a sample PR to verify CI runs

## Breaking Changes

None. This is purely infrastructure setup with no impact on existing functionality.

Reviewed-on: xcaliber/chat-switchboard#22
2026-02-04 18:17:07 +00:00
746e647fff Add quick start guide for developers 2026-02-03 23:27:04 +00:00
477c61f8ec Add issue management and development workflow documentation 2026-02-03 23:26:19 +00:00
51b0586160 Update README with comprehensive project overview 2026-02-03 23:12:51 +00:00
20a96111ea Add comprehensive roadmap and competitive analysis 2026-02-03 23:11:34 +00:00
6174bccb9b Add comprehensive getting started guide 2026-02-03 23:10:12 +00:00
00b069811f Add comprehensive plugin specification and development guide 2026-02-03 23:09:01 +00:00
867160c8c4 Add comprehensive workflow system documentation 2026-02-03 23:07:31 +00:00
1f42349bf1 Add comprehensive architecture documentation 2026-02-03 23:06:08 +00:00
8f5ed23dd7 Add comprehensive PostgreSQL schema for all features 2026-02-03 23:04:44 +00:00
ad13c08f92 Add backend features and extensions architecture doc 2026-02-03 22:40:16 +00:00
bf551cdc7a Add HTML/Frontend extensions architecture doc 2026-02-03 22:38:43 +00:00
f52652b0df Merge remote-tracking branch 'origin/main' 2026-02-03 17:21:24 -05:00
aa62ab9123 Delete README.md 2026-02-03 22:20:40 +00:00
701e387a5b Initial commit 2026-02-03 17:20:06 -05:00
17b9120c85 Initial commit 2026-02-03 21:28:18 +00:00