Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

perf(agents): parallelize R2 release uploads

t8y2f883d0013968
diff --git a/.github/workflows/agents-release.yml b/.github/workflows/agents-release.yml
index 85548da058..6bb09ddb14 100644
--- a/.github/workflows/agents-release.yml
+++ b/.github/workflows/agents-release.yml
@@ -766,22 +766,21 @@ jobs:
--endpoint-url "$R2_ENDPOINT"
echo "Uploaded agent-registry.json"
- # Upload all single-driver packages.
- for f in release/dbx-agent-*.tar.zst; do
- [ -f "$f" ] || continue
- aws s3 cp "$f" \
- "$R2_BUCKET/agents/drivers/$(basename $f)" \
- --endpoint-url "$R2_ENDPOINT"
- echo "Uploaded $(basename $f)"
- done
+ # Upload all single-driver packages concurrently.
+ aws s3 cp release/ "$R2_BUCKET/agents/drivers/" \
+ --recursive \
+ --exclude "*" \
+ --include "dbx-agent-*.tar.zst" \
+ --endpoint-url "$R2_ENDPOINT"
+ echo "Uploaded single-driver packages"
- # Upload JRE — always overwrite to ensure latest modules
- for f in release/dbx-jre-*.tar.zst; do
- [ ! -f "$f" ] && continue
- key="agents/jre/$(basename $f)"
- aws s3 cp "$f" "$R2_BUCKET/$key" --endpoint-url "$R2_ENDPOINT"
- echo "Uploaded $(basename $f)"
- done
+ # Upload JRE packages concurrently, always overwriting the stable names.
+ aws s3 cp release/ "$R2_BUCKET/agents/jre/" \
+ --recursive \
+ --exclude "*" \
+ --include "dbx-jre-*.tar.zst" \
+ --endpoint-url "$R2_ENDPOINT"
+ echo "Uploaded JRE packages"
sync-release-to-cnb:
name: Sync agents releases to CNB