feat(connectors): declare the credential slots and settings the packages take
publish / publish (push) Successful in 2m12s

Host, Telegram and Semaphore read credentials and settings their manifests
never declared, so a packed artefact carried no grants and the catalogue could
not grant the slot an operator has to fill. It is why `host` and `telegram`
refused to install: archie-core #2151.

The catalogue still needs republishing for these to reach a deployment.
This commit is contained in:
sam committed 2026-11-27 19:47:00 +11:00
1 parent 6761b66bd0
commit cd0b54b878
3 files changed
+32

No files matched your search

+8
View File
@@ -2,6 +2,14 @@ apiVersion: dev.archie.package.v1
displayName: Host
description: Read-only lookups on configured hosts over SSH, plus typed actions (delete old files, enable or disable an allowed timer, set one config key), each judged on its declared effect. Pinned host keys and a machine credential in the ssh slot.
version: 0.1.0
grants:
credentials: [ssh]
settings:
- key: hosts
label: Hosts
description: The hosts it reaches, as JSON, each with its pinned host key and allowed paths.
required: true
type: text
contributes:
extensions:
- surface: connector
+15
View File
@@ -2,6 +2,21 @@ apiVersion: dev.archie.package.v1
displayName: Semaphore
description: Launches the Semaphore job templates an operator declares, each judged on the effect declared for it. Settings name the base URL, project and templates; the api credential slot holds a bearer token.
version: 0.1.0
grants:
credentials: [api]
settings:
- key: base_url
label: Base URL
required: true
- key: project_id
label: Project
required: true
type: number
- key: templates
label: Templates
description: The job templates it may launch, as JSON.
required: true
type: text
contributes:
extensions:
- surface: connector
+9
View File
@@ -2,6 +2,15 @@ apiVersion: dev.archie.package.v1
displayName: Telegram
description: Delivers messages and approval requests to the Telegram users an operator allows, turns their Approve and Deny taps into approval.answer events, and links their Telegram account to an Archie account through a /start code. The user_ids setting lists who may answer; the bot credential slot holds the bot token.
version: 0.1.0
grants:
egress: [api.telegram.org:443]
credentials: [bot]
settings:
- key: user_ids
label: User IDs
description: Telegram user IDs that may answer, separated by commas.
required: true
type: list
contributes:
extensions:
- surface: connector