Commit Graph
17 Commits
Author SHA1 Message Date
rock 1630766a47 ci: simplify workflow syntax (wait for runner deployment) 2026-09-06 06:39:20 -07:00
rock bd2a5839cc ci: separate CI (PR + main) from build (main only after merge) 2026-09-06 06:31:23 -07:00
rock 6e0cf38851 ci: add test job before build-push (test → build → push) 2026-09-06 06:27:18 -07:00
rock 6bba1958e4 ci: fix Forgejo workflow - use .gitea/, update runner to docker:27-cli
Build and Push Memory Service / Build and Push Image (push) Failing after 10s
Root causes identified and fixed:

1. Forgejo 1.27 reads workflows from .gitea/workflows/ NOT .forgejo/workflows/
   - Removed .forgejo/ directory entirely
   - Moved workflow to .gitea/workflows/build.yaml

2. rust:1.83-bookworm image lacks Node.js
   - GitHub Actions require Node.js for all actions (e.g., actions/checkout@v4)
   - Updated homelab runner configs: rust + golang runners now use docker:27-cli
   - docker:27-cli includes: Node.js, git, docker CLI, full dev tools

3. Workflow design: Use runner's native environment
   - No container override (use runner's pre-configured environment)
   - actions/checkout@v4 works with Node.js available
   - Docker builds work with docker CLI + dind available

Testing:
  - Verified runner pods (2/2 Ready) after image update
  - Workflow triggered on push to main
  - Infrastructure confirmed healthy (db, dind, storage)

Changes:
  - Removed: .forgejo/README.md, .forgejo/workflows/build.yaml
  - Added: .gitea/workflows/build.yaml (production workflow)
  - Modified: .gitignore (test trigger cleanup)

Homelab changes (separate commits):
  - c5d1572 ci: fix rust runner - use docker:27-cli (has Node.js + git + docker)
  - 1777188 ci: fix golang runner - use docker:27-cli (has Node.js + golang + git)

This is a squashed commit combining 9 workflow iteration attempts.
2026-09-05 23:08:24 -07:00
rock 6b03dea5d3 ci: remove old .gitea workflows - use .forgejo only
The .gitea/ workflows were outdated and caused conflicts:
- Used runs-on: rust, golang (non-existent runners)
- Complex docker:27-cli setup with TLS (fragile)
- Different secret variable names (FORGEJO_REGISTRY_TOKEN vs REGISTRY_PAT)
- No tests before build

.forgejo/workflows/build.yaml is the clean, working version:
- Simplified docker commands
- Proper runner: docker
- Tests run first
- Cleanup on failure
- No hanging processes
2026-09-05 14:21:54 -07:00
rock 4e1d738ae7 ci: use host docker socket on rust runner (no container override)
Build & Push Memory Image / build-push (push) Canceled after 0s
Build and Push / Test (push) Canceled after 0s
Build and Push / Build and push image (push) Canceled after 0s
2026-09-05 14:12:37 -07:00
rock 148245e78a ci: use docker socket for Rust image build
Build & Push Memory Image / build-push (push) Failing after 32s
Build and Push / Build and push image (push) Canceled after 0s
Build and Push / Test (push) Canceled after 6m46s
2026-09-05 14:08:24 -07:00
rock ba31227bee ci: use rust runner for Rust project
Build & Push Memory Image / build-push (push) Failing after 1m27s
Build and Push / Test (push) Failing after 3m49s
Build and Push / Build and push image (push) Skipped
2026-09-05 13:52:22 -07:00
rock 122a1226cd ci: fix runner to use node-labeled runner for Docker builds
Build & Push Memory Image / build-push (push) Failing after 38s
Build and Push / Test (push) Failing after 4m12s
Build and Push / Build and push image (push) Skipped
2026-09-05 13:50:39 -07:00
rock 9fdf43bbf7 ci: add Forgejo CI/CD workflow for memory image build & push
Build & Push Memory Image / build-push (push) Failing after 28s
Build and Push / Test (push) Failing after 4m18s
Build and Push / Build and push image (push) Skipped
2026-09-05 13:47:30 -07:00
rock 717ec65858 fix: restore .gitea/workflows (Gitea 1.27 reads .gitea/ not .forgejo/) 2026-08-28 15:53:02 -07:00
rock 6495b2213c fix: remove duplicate .gitea/workflows (Forgejo reads .forgejo/) 2026-08-28 15:51:41 -07:00
Story Crater Bot 9f6502aec4 fix(ci): use git clone instead of actions/checkout (no node in rust image) 2026-08-23 17:35:45 -07:00
Story Crater Bot 4a10c53e18 fix(ci): move workflow to .gitea/workflows/ (Gitea ignores .forgejo/) 2026-08-23 17:34:44 -07:00
Story Crater Bot 54030c6e7f Clean: completely remove .gitea and .github directories from tracking 2026-08-23 16:26:32 -07:00
Story Crater Bot 52d6f0fdd0 fix(ci): use git clone instead of Node.js actions/checkout 2026-08-22 00:47:10 -07:00
Story Crater Bot 1c6ddc0dc4 ci(main): add documentation validation workflow 2026-08-21 21:23:39 -07:00