refactor(api)!: remove the standalone API server (#6614)
This commit is contained in:
1 parent
5c72ced2fe
commit
220d5e6970
99 files changed
+240
-4133
No files matched your search
@@ -76,7 +76,7 @@ body:
|
||||
attributes:
|
||||
label: Channel / Platform
|
||||
description: Which messaging platform are you using?
|
||||
placeholder: e.g., WebSocket, Telegram, Feishu (Lark), API Server
|
||||
placeholder: e.g., WebSocket, Telegram, Feishu (Lark)
|
||||
validations:
|
||||
required: true
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ body:
|
||||
- Skills / Plugins
|
||||
- Configuration
|
||||
- CLI
|
||||
- API Server
|
||||
- Documentation
|
||||
- Other
|
||||
validations:
|
||||
|
||||
@@ -495,7 +495,7 @@ jobs:
|
||||
- name: Build image with default channel dependencies
|
||||
run: docker build -t nanobot:test .
|
||||
|
||||
- name: Verify first-boot WebUI and API
|
||||
- name: Verify first-boot gateway and WebUI
|
||||
run: python scripts/docker_compose_smoke.py --image nanobot:test
|
||||
|
||||
- name: Check out the real previous release for retained-volume acceptance
|
||||
@@ -553,7 +553,7 @@ jobs:
|
||||
from pathlib import Path
|
||||
|
||||
config = json.loads(Path(os.environ["RUNNER_TEMP"], "bwrap-compose.json").read_text())
|
||||
for service_name in ("nanobot-gateway", "nanobot-api", "nanobot-cli"):
|
||||
for service_name in ("nanobot-gateway", "nanobot-cli"):
|
||||
service = config["services"][service_name]
|
||||
assert {"CHOWN", "SETGID", "SETUID", "SYS_ADMIN"} <= set(service["cap_add"])
|
||||
assert "no-new-privileges:true" in service["security_opt"]
|
||||
|
||||
Reference in new issue
Block a user