fix(harnesses): scoped account_ref for ambiguous gitea-* providers

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>
This commit is contained in:
Paul O'Reilly
2026-05-07 08:27:23 +12:00
parent 5f85d895c1
commit 3d8627f17c
4 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ ssh_hosts:
secrets_required: secrets_required:
# ESO-managed gitea-admin token (M22 Phase 9) # ESO-managed gitea-admin token (M22 Phase 9)
- name: gitea-admin - name: gitea-admin
account_ref: "gitea-admin" account_ref: "admin.space:platform"
mount_path: /run/agent/secrets/gitea-admin mount_path: /run/agent/secrets/gitea-admin
mode: "0400" mode: "0400"
# Legacy SSH key (file-based, already delivered as mount) # Legacy SSH key (file-based, already delivered as mount)

View File

@@ -20,6 +20,6 @@ scripts:
secrets_required: secrets_required:
- name: gitea-ssh-accelerators - name: gitea-ssh-accelerators
account_ref: "gitea-ssh-accelerators" account_ref: "accelerators.space:platform"
mount_path: /run/agent/secrets/gitea-ssh-accelerators mount_path: /run/agent/secrets/gitea-ssh-accelerators
mode: "0400" mode: "0400"

View File

@@ -20,6 +20,6 @@ scripts:
secrets_required: secrets_required:
- name: gitea-ssh-homelab - name: gitea-ssh-homelab
account_ref: "gitea-ssh-homelab" account_ref: "homelab.space:platform"
mount_path: /run/agent/secrets/gitea-ssh-homelab mount_path: /run/agent/secrets/gitea-ssh-homelab
mode: "0400" mode: "0400"

View File

@@ -20,6 +20,6 @@ scripts:
secrets_required: secrets_required:
- name: gitea-ssh - name: gitea-ssh
account_ref: "gitea-ssh" account_ref: "ai_enablement.space:platform"
mount_path: /run/agent/secrets/gitea-ssh mount_path: /run/agent/secrets/gitea-ssh
mode: "0400" mode: "0400"