gitea-ssh has 3 accounts (ai_enablement, accelerators, homelab) and gitea-https has 2 (primary, admin) — bare provider_type refs hit MultipleAccountsError per SR-DISP-8. Switch to scoped name.space:platform form. Mirrors the agent-runtimes commit; the dispatcher-side parser also gains underscore support for account names like 'ai_enablement'. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
34 lines
809 B
YAML
34 lines
809 B
YAML
kind: context
|
|
name: gitea-admin
|
|
version: 1
|
|
description: "Gitea admin: SSH, git identity, API token for skynet org"
|
|
requires:
|
|
- anthropic-cloud/v1
|
|
provides: [gitea-admin]
|
|
|
|
git_identity:
|
|
name: "agent-runtimes"
|
|
email: "agent@oreillyit.nz"
|
|
|
|
ssh_hosts:
|
|
- alias: gitea.oreillyit.nz-ai-enablement
|
|
hostname: gitea.oreillyit.nz
|
|
user: git
|
|
identity_secret: SSH_KEY_AI_ENABLEMENT
|
|
|
|
secrets_required:
|
|
# ESO-managed gitea-admin token (M22 Phase 9)
|
|
- name: gitea-admin
|
|
account_ref: "admin.space:platform"
|
|
mount_path: /run/agent/secrets/gitea-admin
|
|
mode: "0400"
|
|
# Legacy SSH key (file-based, already delivered as mount)
|
|
- name: SSH_KEY_AI_ENABLEMENT
|
|
mount: /home/agent/.ssh/id_ed25519
|
|
mode: "0600"
|
|
|
|
env:
|
|
GITEA_BASE_URL: "https://gitea.oreillyit.nz"
|
|
|
|
scripts:
|
|
init: ./init.sh |