Commit Graph

20 Commits

Author SHA1 Message Date
Gitea Actions ec3297befe chore: bump version to v0.1.3 2026-04-01 06:31:42 +00:00
david 501e1b7e23 fix: version bumping and Docker registry authentication (#17)
Release / release (push) Failing after 1m9s
Test / unit-tests (push) Successful in 2m5s
## Summary

This PR fixes the release workflow to properly handle version bumping on PR merge and uses the new Docker registry authentication secrets.

## Changes

### Release Workflow (release.yml)
- **Version Bumping**: Now automatically bumps version on PR merge
  - Determines bump type from commit messages (major/minor/patch)
  - Commits version bump to `package.json` and `CHANGELOG.md`
  - Creates git tag for the release
- **Docker Registry Auth**: Uses `DOCKER_LOGIN` and `DOCKER_PASSWORD` secrets
  - Falls back gracefully if secrets are not configured
- **Tag Handling**: Checks if tag exists before creating (prevents failures)

### PR Workflow (pr.yml) - NEW
- Runs unit tests on every PR
- Analyzes commits to suggest bump type
- Comments the suggested bump type on the PR

### Documentation
- Added `WORKFLOW_ARCHITECTURE.md` explaining the workflow design

## Workflow Architecture

**Two-step process:**
1. **PR Workflow** (on PR): Analyzes commits and suggests bump type
2. **Release Workflow** (on merge): Bumps version, creates tag, builds Docker image

## Benefits

1. **No CI Loops**: Version bump commits are detected and skipped
2. **Clear Communication**: PR comments inform developers of version impact
3. **Semantic Versioning**: Automated adherence to semver rules
4. **Traceability**: Git tags and changelog reflect all changes

## Testing

The new workflows will be tested when this PR is merged.

Closes #13 (Add database test safety configuration)

Reviewed-on: #17
Co-authored-by: David Gwilliam <dhgwilliam@gmail.com>
Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
2026-04-01 05:03:14 +00:00
david 381bf630c7 chore: bump version to v0.1.1 2026-03-31 18:44:33 -07:00
david 4e112c92ae fix: remove hardcoded database URLs and use environment variables 2026-03-31 18:28:17 -07:00
david a9fc5c312a fix: set DATABASE_URL for acceptance tests 2026-03-31 18:24:53 -07:00
david abc1963aea feat: add database test safety configuration 2026-03-31 18:23:47 -07:00
david a82ec3c9fc chore: add production database cleanup scripts 2026-03-31 16:57:36 -07:00
david b5af4b2e34 docs: add development database and testing documentation 2026-03-31 16:53:42 -07:00
david 26c5158724 feat: set up development database and test cleanup utilities 2026-03-31 16:52:56 -07:00
david 33beed97c3 chore: prepare v0.1.0 release with correct image tags 2026-03-31 16:35:18 -07:00
david 779f9f4e7c chore: implement semantic versioning with docker image tagging 2026-03-31 16:34:30 -07:00
david 8e98ffa73d fix: update dev and build scripts to set NEXT_PUBLIC_GIT_COMMIT environment variable 2026-03-31 15:11:35 -07:00
david 0ae4a171fd feat: add git commit hash to footer for version tracking 2026-03-31 11:44:13 -07:00
david 81c8bdf821 chore: add openskill and glicko2 dependencies 2026-03-31 03:39:48 -07:00
david 3465082816 fix(prisma): use PostgreSQL adapter for Prisma v7 client connection 2026-03-31 00:10:47 -07:00
david 15b579b919 chore(deps): upgrade React 18→19, Next.js 14→16, Prisma 6→7 2026-03-31 00:00:07 -07:00
david bcb967017f feat: add Docker support with PostgreSQL and health check endpoint 2026-03-29 20:38:56 -07:00
david 803f936e2f feat: add PostgreSQL database adapter support 2026-03-29 20:08:53 -07:00
david 123df671f5 nextjs-rewrite (#5)
Reviewed-on: #5
Co-authored-by: David Gwilliam <dhgwilliam@gmail.com>
Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
2026-03-30 02:30:13 +00:00
david d0010a5c9b initial commit hanami 2024-09-06 12:59:40 -07:00