@amsterdamdatalabs/adl-agent-control-darwin-arm64 0.1.71 → 0.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/adl
CHANGED
package/bin/validate-manifest
CHANGED
|
@@ -28,7 +28,7 @@ if ! jq -e '
|
|
|
28
28
|
(.sp_client_id | . == "UNSET" or guid) and (.sp_tenant_id | guid) and
|
|
29
29
|
((has("capabilities") | not) or (.capabilities | type == "object" and all(.[]; type == "string")));
|
|
30
30
|
def agent_pool: type == "object" and
|
|
31
|
-
((keys - ["aca"]) | sort) == ["agents_per_server", "backend", "capabilities", "hour_end_window_minutes", "identity", "location", "max_lifetime_minutes", "max_servers", "org", "parallel_jobs", "poll_seconds", "project", "queue_id", "queue_wait_minutes", "register_timeout_minutes", "server_type", "snapshot_label_selector"
|
|
31
|
+
((keys - ["aca"]) | sort) == ["agents_per_server", "backend", "capabilities", "hour_end_window_minutes", "identity", "location", "max_lifetime_minutes", "max_servers", "org", "parallel_jobs", "poll_seconds", "project", "queue_id", "queue_wait_minutes", "register_timeout_minutes", "server_type", "snapshot_label_selector"] and
|
|
32
32
|
(.backend | . == "hetzner" or . == "aca-sandbox") and
|
|
33
33
|
((.backend != "aca-sandbox") or (has("aca") and (.aca | has("capabilities")))) and
|
|
34
34
|
((has("aca") | not) or (.aca | aca_pool)) and
|
|
@@ -38,9 +38,7 @@ if ! jq -e '
|
|
|
38
38
|
(.agents_per_server | posint) and (.max_servers | posint) and (.max_lifetime_minutes | posint) and
|
|
39
39
|
(.register_timeout_minutes | posint) and (.poll_seconds | posint) and (.queue_wait_minutes | nonneg) and
|
|
40
40
|
(.parallel_jobs | posint) and (.hour_end_window_minutes | nonneg and . <= 59) and
|
|
41
|
-
(.capabilities | type == "object" and all(.[]; type == "string"))
|
|
42
|
-
(.sp_client_id | type == "string" and (. == "UNSET" or test("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"))) and
|
|
43
|
-
(.sp_tenant_id | type == "string" and test("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"));
|
|
41
|
+
(.capabilities | type == "object" and all(.[]; type == "string"));
|
|
44
42
|
def agent_pool_services: type == "object" and (keys - ["agent_pool"] | length) == 0 and
|
|
45
43
|
((has("agent_pool") | not) or (.agent_pool | agent_pool));
|
|
46
44
|
# services.pool_reaper (mac devices): the backup reaper of the linux pool host. pool_host must be a linux device
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amsterdamdatalabs/adl-agent-control-darwin-arm64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.72",
|
|
4
4
|
"description": "adl CLI binary for darwin/arm64 (agent identity + Azure DevOps front door — see docs/architecture/cli-design.md)",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"os": [
|
|
@@ -231,8 +231,6 @@
|
|
|
231
231
|
"parallel_jobs": 6,
|
|
232
232
|
"hour_end_window_minutes": 10,
|
|
233
233
|
"capabilities": {"Agent.OS": "Linux", "docker": "present"},
|
|
234
|
-
"sp_client_id": "f34d1cd9-4fa1-47bb-9e82-ad9f5cb78a11",
|
|
235
|
-
"sp_tenant_id": "49d4be4b-06f2-42b7-91bc-a17ccde6f0ce",
|
|
236
234
|
"aca": {
|
|
237
235
|
"subscription_id": "3ca1de39-2e87-4ba3-8a47-b3ecc4775697",
|
|
238
236
|
"resource_group": "enact-neu-d-rg",
|
|
@@ -298,10 +298,10 @@
|
|
|
298
298
|
"properties": {
|
|
299
299
|
"agent_pool": {
|
|
300
300
|
"type": "object",
|
|
301
|
-
"description": "Feature 758: `adl pool run --host NAME`, the elastic Azure Pipelines agent poller (Hetzner servers or Azure Container Apps Sandboxes, per `backend`). Maps 1:1 onto PoolConfig (packages/agent-pool/src/types.ts) in snake_case, plus `backend`, `aca`, `project` (the Azure DevOps project of the queue)
|
|
301
|
+
"description": "Feature 758: `adl pool run --host NAME`, the elastic Azure Pipelines agent poller (Hetzner servers or Azure Container Apps Sandboxes, per `backend`). Maps 1:1 onto PoolConfig (packages/agent-pool/src/types.ts) in snake_case, plus `backend`, `aca`, `project` (the Azure DevOps project of the queue).",
|
|
302
302
|
"additionalProperties": false,
|
|
303
303
|
"allOf": [{"if": {"properties": {"backend": {"const": "aca-sandbox"}}}, "then": {"required": ["aca"], "properties": {"aca": {"required": ["capabilities"]}}}}],
|
|
304
|
-
"required": ["org", "project", "queue_id", "identity", "backend", "server_type", "location", "snapshot_label_selector", "agents_per_server", "max_servers", "max_lifetime_minutes", "register_timeout_minutes", "poll_seconds", "queue_wait_minutes", "parallel_jobs", "hour_end_window_minutes", "capabilities"
|
|
304
|
+
"required": ["org", "project", "queue_id", "identity", "backend", "server_type", "location", "snapshot_label_selector", "agents_per_server", "max_servers", "max_lifetime_minutes", "register_timeout_minutes", "poll_seconds", "queue_wait_minutes", "parallel_jobs", "hour_end_window_minutes", "capabilities"],
|
|
305
305
|
"properties": {
|
|
306
306
|
"org": {"type": "string", "minLength": 1},
|
|
307
307
|
"project": {"type": "string", "minLength": 1},
|
|
@@ -320,8 +320,6 @@
|
|
|
320
320
|
"parallel_jobs": {"description": "Azure DevOps runs at most this many self-hosted jobs at once across all pools; the pool never creates past the free slots.", "type": "integer", "minimum": 1},
|
|
321
321
|
"hour_end_window_minutes": {"type": "integer", "minimum": 0, "maximum": 59},
|
|
322
322
|
"capabilities": {"type": "object", "additionalProperties": {"type": "string"}},
|
|
323
|
-
"sp_client_id": {"description": "Application (client) id of the identity's Entra service principal, used by `config.sh --auth SP`; the literal UNSET until Tarun fills it (`pool run` refuses while UNSET).", "type": "string", "pattern": "^(UNSET|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"},
|
|
324
|
-
"sp_tenant_id": {"description": "Entra tenant id of that service principal (AGENT_TENANTS in apps/cli/src/ado-token.ts).", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},
|
|
325
323
|
"aca": {
|
|
326
324
|
"type": "object",
|
|
327
325
|
"description": "Azure Container Apps Sandboxes backend settings; required when `backend` is `aca-sandbox` (checked by bin/validate-manifest and `adl pool`). `disk_image_id` and `sp_client_id` are the literal UNSET until Tarun fills them (`pool run` refuses while UNSET).",
|