chore(ci): Phase 5 — port .github/workflows to .gitea/workflows, remove stale GitHub CI #4

Open
nsatoshi wants to merge 3 commits from devin/phase5-ci-reconciliation-1776542837 into master
Owner

Summary

Part of the sequenced cleanup tracked in issue #1. Phase 5 — CI reconciliation. Gitea is canonical (AGENTS.md); no GitHub mirror of d-bis/proxmox exists (d-bis/proxmox, Order-of-Hospitallers/proxmox, defiQUG/proxmox all return 403/404). The 4 workflows under .github/workflows/ never ran.

Ported:

GitHub (removed) Gitea (new) Porting notes
.github/workflows/validate-config.yml .gitea/workflows/validate-config.yml Near-identical; path trigger updated to .gitea/
.github/workflows/validate-omnl-rail.yml .gitea/workflows/validate-omnl-rail.yml Near-identical; path trigger updated
.github/workflows/validate-pr.yml .gitea/workflows/validate-token-list.yml Dropped actions/github-script PR-comment step (covered by ai-review.yml); added explicit pnpm/action-setup@v4
.github/workflows/release.yml .gitea/workflows/release-token-list.yml Replaced softprops/action-gh-release with curl to Gitea releases API; ${{ github.* }}${{ gitea.* }}; $GITHUB_*$GITEA_*

Kept (already Gitea-native): ai-review.yml, deploy-to-phoenix.yml.

Added: .gitea/workflows/README.md — workflow index, runner-readiness prerequisites, migration notes.

Runner prerequisite: at least one act_runner with ubuntu-latest label must be registered. Bootstrap: bash scripts/dev-vm/bootstrap-gitea-act-runner-site-wide.sh. See docs/04-configuration/GITEA_ACT_RUNNER_SETUP.md.

Review & Testing Checklist for Human

Risk: yellow — deletes .github/workflows/ (no going back without git revert) and adds 4 new Gitea workflows that haven't been exercised on a runner yet.

  • Confirm no GitHub mirror of d-bis/proxmox exists that depends on .github/workflows/ (I checked 3 orgs — all 403/404 — but you may know of others).
  • On a feature branch, trigger a manual workflow_dispatch of validate-config.yml or push a change to config/ and verify the Gitea Actions run appears under the PR's Checks tab. If no runner is online, bootstrap one first.
  • Review release-token-list.yml release-creation logic — it uses curl + Gitea API instead of softprops/action-gh-release. Ensure GITEA_TOKEN secret has write:repository scope.
  • Spot-check that .gitea/CODEOWNERS and .gitea/CONTRIBUTING.md were NOT touched (they weren't — only workflows/ changed).

Notes

If a GitHub mirror is added in the future, the .github/workflows/ files can be restored from master~1 (the commit before this PR) or rewritten from scratch. The Gitea versions are the source of truth going forward.

Tracking: issue #1.

## Summary Part of the sequenced cleanup tracked in issue #1. Phase 5 — CI reconciliation. Gitea is canonical (AGENTS.md); no GitHub mirror of `d-bis/proxmox` exists (`d-bis/proxmox`, `Order-of-Hospitallers/proxmox`, `defiQUG/proxmox` all return 403/404). The 4 workflows under `.github/workflows/` never ran. **Ported:** | GitHub (removed) | Gitea (new) | Porting notes | |---|---|---| | `.github/workflows/validate-config.yml` | `.gitea/workflows/validate-config.yml` | Near-identical; path trigger updated to `.gitea/` | | `.github/workflows/validate-omnl-rail.yml` | `.gitea/workflows/validate-omnl-rail.yml` | Near-identical; path trigger updated | | `.github/workflows/validate-pr.yml` | `.gitea/workflows/validate-token-list.yml` | Dropped `actions/github-script` PR-comment step (covered by `ai-review.yml`); added explicit `pnpm/action-setup@v4` | | `.github/workflows/release.yml` | `.gitea/workflows/release-token-list.yml` | Replaced `softprops/action-gh-release` with `curl` to Gitea releases API; `${{ github.* }}` → `${{ gitea.* }}`; `$GITHUB_*` → `$GITEA_*` | **Kept (already Gitea-native):** `ai-review.yml`, `deploy-to-phoenix.yml`. **Added:** `.gitea/workflows/README.md` — workflow index, runner-readiness prerequisites, migration notes. **Runner prerequisite:** at least one `act_runner` with `ubuntu-latest` label must be registered. Bootstrap: `bash scripts/dev-vm/bootstrap-gitea-act-runner-site-wide.sh`. See `docs/04-configuration/GITEA_ACT_RUNNER_SETUP.md`. ## Review & Testing Checklist for Human Risk: **yellow** — deletes `.github/workflows/` (no going back without git revert) and adds 4 new Gitea workflows that haven't been exercised on a runner yet. - [ ] Confirm no GitHub mirror of `d-bis/proxmox` exists that depends on `.github/workflows/` (I checked 3 orgs — all 403/404 — but you may know of others). - [ ] On a feature branch, trigger a manual workflow_dispatch of `validate-config.yml` or push a change to `config/` and verify the Gitea Actions run appears under the PR's Checks tab. If no runner is online, bootstrap one first. - [ ] Review `release-token-list.yml` release-creation logic — it uses `curl` + Gitea API instead of `softprops/action-gh-release`. Ensure `GITEA_TOKEN` secret has `write:repository` scope. - [ ] Spot-check that `.gitea/CODEOWNERS` and `.gitea/CONTRIBUTING.md` were NOT touched (they weren't — only `workflows/` changed). ### Notes If a GitHub mirror is added in the future, the `.github/workflows/` files can be restored from `master~1` (the commit before this PR) or rewritten from scratch. The Gitea versions are the source of truth going forward. Tracking: issue #1.
nsatoshi added 1 commit 2026-04-18 20:14:18 +00:00
chore(ci): Phase 5 — port .github/workflows to .gitea/workflows, remove GitHub CI (Phase 5)
Some checks failed
Validate Token List / Validate Token List (push) Failing after 21s
AI Code Review / claude-review (pull_request) Failing after 49s
Validate Config / Config & validation (pull_request) Successful in 8s
Validate OMNL Rail / OMNL rail checks (pull_request) Failing after 12s
Validate Token List / Validate Token List (pull_request) Failing after 12s
9e7c0afaec
Gitea is the canonical host (AGENTS.md); no GitHub mirror exists for
d-bis/proxmox (403/404 on all tested orgs). The 4 workflows under
.github/workflows/ never ran from this repo.

Ported:
  .github/workflows/validate-config.yml   → .gitea/workflows/validate-config.yml
  .github/workflows/validate-omnl-rail.yml → .gitea/workflows/validate-omnl-rail.yml
  .github/workflows/validate-pr.yml       → .gitea/workflows/validate-token-list.yml
  .github/workflows/release.yml           → .gitea/workflows/release-token-list.yml

Key changes during port:
- ${{ github.* }} → ${{ gitea.* }} where values differ
- $GITHUB_REF / $GITHUB_OUTPUT → $GITEA_REF / $GITEA_OUTPUT
- softprops/action-gh-release replaced with curl to Gitea releases API
- actions/github-script PR-comment step dropped (ai-review.yml already posts)
- pnpm/action-setup@v4 added explicitly (no implicit corepack assumption)

Added:
- .gitea/workflows/README.md — workflow index, runner-readiness check,
  migration notes, and instructions for adding new workflows.

Runner prerequisite: at least one act_runner with ubuntu-latest label must
be registered. Bootstrap: bash scripts/dev-vm/bootstrap-gitea-act-runner-site-wide.sh
See docs/04-configuration/GITEA_ACT_RUNNER_SETUP.md.

Tracking: #1
Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
nsatoshi added 1 commit 2026-04-18 23:31:09 +00:00
ci: drop pnpm version:9 pin so action honors packageManager in package.json
Some checks failed
Validate Token List / Validate Token List (push) Failing after 40s
Validate Config / Config & validation (pull_request) Successful in 9s
Validate OMNL Rail / OMNL rail checks (pull_request) Failing after 11s
Validate Token List / Validate Token List (pull_request) Failing after 40s
AI Code Review / claude-review (pull_request) Failing after 12m50s
35eb6ca48b
Gitea Actions' pnpm/action-setup@v4 errors with ERR_PNPM_BAD_PM_VERSION when
both a 'with.version' input and package.json 'packageManager' are set.
Drop the input; package.json already pins pnpm@10.28.0.

Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
nsatoshi added 1 commit 2026-04-18 23:36:18 +00:00
ci(omnl): install zip/unzip in-job for act-runner
Some checks failed
AI Code Review / claude-review (pull_request) Failing after 37s
Validate Config / Config & validation (pull_request) Successful in 10s
Validate OMNL Rail / OMNL rail checks (pull_request) Successful in 38s
Validate Token List / Validate Token List (pull_request) Failing after 37s
87be4c4fb0
scripts/omnl/build-transaction-package-zip.sh and the smoke script
require 'zip' and 'unzip' binaries; act-runner's default image does
not ship either. Install them idempotently before the smoke step
(same pattern used in smom-dbis-138 CI hardening PR #2).

Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>

Claude encountered an error —— View job


I'll analyze this and get back to you.

**Claude encountered an error** —— [View job](http://127.0.0.1:3000/d-bis/proxmox/actions/runs/120) --- I'll analyze this and get back to you.
Some checks failed
AI Code Review / claude-review (pull_request) Failing after 37s
Validate Config / Config & validation (pull_request) Successful in 10s
Validate OMNL Rail / OMNL rail checks (pull_request) Successful in 38s
Validate Token List / Validate Token List (pull_request) Failing after 37s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin devin/phase5-ci-reconciliation-1776542837:devin/phase5-ci-reconciliation-1776542837
git checkout devin/phase5-ci-reconciliation-1776542837
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: d-bis/proxmox#4