Commit Graph

32 Commits

Author SHA1 Message Date
cae6fd9f93 Changeset 0.22.1 (#95) 2026-03-02 09:58:38 +00:00
06c4e2a5a1 Changeset 0.22.0.1 (#94) 2026-03-02 01:55:19 +00:00
12e03cec8b Changeset 0.22.0 (#93) 2026-03-01 23:57:33 +00:00
3423738286 Changeset 0.21.6 (#92) 2026-03-01 23:16:25 +00:00
aadba77887 Changeset 0.21.5 (#91) 2026-03-01 20:35:10 +00:00
d67cfd37c2 Changeset 0.21.4 (#90) 2026-03-01 19:42:22 +00:00
bbbbe65bfa Changeset 0.21.3 (#89) 2026-03-01 18:20:01 +00:00
c5159538ce Changeset 0.21.2 (#88) 2026-03-01 17:45:50 +00:00
70aa78e486 Changeset 0.21.1 (#86) 2026-03-01 14:44:55 +00:00
817062e5fc Changeset 0.20.0 (#85) 2026-03-01 12:40:15 +00:00
eb74180611 Changeset 0.19.2 (#84) 2026-03-01 01:05:54 +00:00
37a9b1a68e Changeset 0.19.1 (#83) 2026-03-01 00:28:58 +00:00
748f49bedd Changeset 0.19.0.1 (#82) 2026-02-28 23:46:23 +00:00
a591b810a9 Changeset 0.18.1 (#80) 2026-02-28 19:41:59 +00:00
e4a943b03e Changeset 0.18.0 (#79) 2026-02-28 18:24:19 +00:00
12e316c234 Changeset 0.17.3 (#78) 2026-02-28 15:20:23 +00:00
a008dac488 Changeset 0.17.2 (#77) 2026-02-28 11:58:27 +00:00
856dc9b0ac Changeset 0.17.1 (#76) 2026-02-28 01:40:31 +00:00
c9141a6896 Changeset 0.17.0 (#75) 2026-02-27 16:25:39 +00:00
8bb77710b9 Changeset 0.16.0 (#74) 2026-02-27 02:38:35 +00:00
1370d701af Changeset 0.15.1 (#73) 2026-02-27 00:12:46 +00:00
e663104575 Changeset 0.15.0 patches (#72) 2026-02-26 23:44:44 +00:00
2d79ff593b Changeset 0.15.0 (#71) 2026-02-26 21:19:55 +00:00
30d0c11219 Changeset 0.5.0 (#35) 2026-02-19 15:03:20 +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
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
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