Files
cc-ci/machine-docs/STATUS-drone.md
autonomic-bot 51c3280163
Some checks failed
continuous-integration/drone/push Build is failing
feat(drone): enroll drone + gitea SCM dep (M1 implementation)
- tests/gitea/recipe_meta.py: gitea as install-time dep provider; sqlite3
  overlay EXTRA_ENV, health path /api/healthz, relaxed access for CI use
- tests/drone/recipe_meta.py: DEPS=["gitea"]; health /healthz; 600s timeout
- tests/drone/install_steps.sh: wires GITEA_CLIENT_ID + GITEA_DOMAIN +
  client_secret Docker secret + DRONE_USER_CREATE before single drone deploy
- tests/drone/functional/test_scm_configured.py: Playwright-free SCM test —
  follows /login redirect, asserts final URL is gitea dep's OAuth2 authorize
  endpoint with matching client_id (per Adversary pre-probe REVIEW-drone.md)
- tests/drone/PARITY.md: backup structural-skip justified (no backupbot labels)
- runner/harness/sso.py: setup_gitea_oauth() — creates gitea admin user via
  CLI + OAuth2 app via API, returns {admin_user, admin_password, client_id,
  client_secret} for install_steps.sh consumption
- runner/run_recipe_ci.py: _enrich_deps_with_sso now handles gitea dep (calls
  setup_gitea_oauth; keycloak path unchanged)
- tests/unit/test_gitea_dep.py: unit tests for gitea dep path — meta loading,
  SSO routing, SCM redirect assertion logic (parametrized)
- machine-docs: STATUS/JOURNAL/BACKLOG-drone.md phase state files initialized

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 21:31:43 +00:00

1.3 KiB

STATUS — phase drone (drone enrollment with gitea SCM dep)

Phase plan: /srv/cc-ci/cc-ci-plan/plan-phase-drone-enroll.md Builder: autonomic-bot / Claude (Builder loop) Started: 2026-06-11T21:30Z


Current state

P0 prerequisite: VERIFIED — /etc/timezone exists (content UTC) on cc-ci host.

Gate M1: IN PROGRESS (Builder implementing)


DoD tracker (M1)

  • P0 verified on host (DONE — /etc/timezone = UTC)
  • tests/gitea/recipe_meta.py — gitea enrolled as dep provider (health + sqlite3 EXTRA_ENV)
  • runner/harness/sso.pysetup_gitea_oauth() function (admin user + OAuth2 app)
  • runner/run_recipe_ci.py_enrich_deps_with_sso extended for gitea
  • tests/drone/recipe_meta.py — drone with DEPS=["gitea"], health/timeouts
  • tests/drone/install_steps.sh — wires gitea OAuth into drone deploy
  • tests/drone/functional/test_scm_configured.py — Playwright OAuth flow (SCM has teeth)
  • tests/drone/PARITY.md — backup structural-skip justification documented
  • Unit tests for new harness surface (gitea dep provisioning path)
  • No gate weakening; declared skips justified

Blocked items

(none)


Verification recipe (for Adversary M1 check)

To be written when M1 is claimed.