feat(ci): CI/CD pipeline definitions #983

Merged
brent.edwards merged 1 commits from feature/m7-ci-cd-pipelines into master 2026-03-21 00:29:50 +00:00
Member

Summary

Complete CI/CD pipeline definitions: release workflow, caching, status-check consolidation, and documentation.

Changes

New: Release pipeline (.forgejo/workflows/release.yml):

  • Triggered on v* tags
  • 3 jobs: build-wheelbuild-dockercreate-release
  • Builds wheel via nox -s build, Docker image via multi-stage Dockerfile
  • Creates Forgejo release via API with wheel artifact attached
  • Configurable registry push via REGISTRY_* secrets

Updated: CI pipeline (.forgejo/workflows/ci.yml):

  • Added actions/cache@v3 for ~/.cache/uv on all 8 primary jobs (keyed on pyproject.toml hash)
  • Added status-check consolidation job depending on all required checks — single gate for branch protection

Updated: CONTRIBUTING.md:

  • New CI/CD section: pipeline overview, job table, required merge checks, release process, secrets documentation

Tests:

  • 13 new Behave scenarios validating workflow YAML structure, tag triggers, job definitions, dependencies
  • 9 new Robot tests validating file existence, content, nox session references

Quality Gates

Session Result
nox -s lint PASS
nox -s typecheck PASS (0 errors)
nox -s unit_tests PASS (10,819 scenarios)
nox -s coverage_report 97.9% (>= 97%)

Closes #858

## Summary Complete CI/CD pipeline definitions: release workflow, caching, status-check consolidation, and documentation. ### Changes **New: Release pipeline** (`.forgejo/workflows/release.yml`): - Triggered on `v*` tags - 3 jobs: `build-wheel` → `build-docker` → `create-release` - Builds wheel via `nox -s build`, Docker image via multi-stage Dockerfile - Creates Forgejo release via API with wheel artifact attached - Configurable registry push via `REGISTRY_*` secrets **Updated: CI pipeline** (`.forgejo/workflows/ci.yml`): - Added `actions/cache@v3` for `~/.cache/uv` on all 8 primary jobs (keyed on `pyproject.toml` hash) - Added `status-check` consolidation job depending on all required checks — single gate for branch protection **Updated: CONTRIBUTING.md**: - New CI/CD section: pipeline overview, job table, required merge checks, release process, secrets documentation **Tests**: - 13 new Behave scenarios validating workflow YAML structure, tag triggers, job definitions, dependencies - 9 new Robot tests validating file existence, content, nox session references ### Quality Gates | Session | Result | |---|---| | `nox -s lint` | PASS | | `nox -s typecheck` | PASS (0 errors) | | `nox -s unit_tests` | PASS (10,819 scenarios) | | `nox -s coverage_report` | 97.9% (>= 97%) | Closes #858
brent.edwards added this to the v3.6.0 milestone 2026-03-16 20:54:19 +00:00
brent.edwards force-pushed feature/m7-ci-cd-pipelines from 1c005f1d5f to 45475fbe30 2026-03-16 20:55:22 +00:00 Compare
brent.edwards self-assigned this 2026-03-16 20:55:36 +00:00
brent.edwards added the
Points
8
Type
Task
labels 2026-03-16 20:55:37 +00:00
Owner

PM Status — Day 37 — Rebase Required

This PR has merge conflicts and cannot be merged in its current state. 42% of all open PRs (21 of 50) have conflicts — this is a project-wide issue that must be resolved.

@brent.edwards — Please rebase this PR onto master by Day 39 EOD (2026-03-19). If you cannot rebase by then, please post a comment explaining the blocker.


PM rebase request — Day 37

## PM Status — Day 37 — Rebase Required This PR has **merge conflicts** and cannot be merged in its current state. 42% of all open PRs (21 of 50) have conflicts — this is a project-wide issue that must be resolved. @brent.edwards — Please rebase this PR onto `master` by **Day 39 EOD (2026-03-19)**. If you cannot rebase by then, please post a comment explaining the blocker. --- *PM rebase request — Day 37*
brent.edwards force-pushed feature/m7-ci-cd-pipelines from 45475fbe30 to 763939bd55 2026-03-18 03:27:51 +00:00 Compare
freemo approved these changes 2026-03-19 04:57:48 +00:00
Dismissed
freemo left a comment
Owner

Code Review — PR #983

CI/CD pipeline definitions. Proper labels, milestone, and issue linkage (#858). Approved.

## Code Review — PR #983 CI/CD pipeline definitions. Proper labels, milestone, and issue linkage (#858). **Approved.**
freemo requested review from freemo 2026-03-19 05:20:32 +00:00
freemo requested review from hamza.khyari 2026-03-19 05:20:32 +00:00
brent.edwards dismissed freemo's review 2026-03-19 23:49:29 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

brent.edwards scheduled this pull request to auto merge when all checks succeed 2026-03-19 23:51:41 +00:00
brent.edwards force-pushed feature/m7-ci-cd-pipelines from 119a56ce88 to 5b0d6c1bc6 2026-03-21 00:15:52 +00:00 Compare
brent.edwards merged commit 00897be24a into master 2026-03-21 00:29:50 +00:00
brent.edwards deleted branch feature/m7-ci-cd-pipelines 2026-03-21 00:29:51 +00:00
Sign in to join this conversation.
No Reviewers
No Label
Points
8
Type
Task
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#983