ci(release): allow builder-local production upload key

This commit is contained in:
Xiaoxia AI
2026-06-22 16:42:56 +08:00
parent 598092f5f6
commit 3f2afbf770
3 changed files with 26 additions and 9 deletions
+4
View File
@@ -162,6 +162,9 @@ def test_gitea_production_deploy_requires_runtime_builder_job():
assert "runs-on: runtime-builder" in build_section
assert "scripts/build_release_images.sh \"${GITHUB_REF_NAME}\"" in build_section
assert "PRODUCTION_SSH_HOST" in build_section
assert "PRODUCTION_SSH_USER" in build_section
assert "PRODUCTION_SSH_KEY" in build_section
assert "/root/.ssh/xiaoxia_runtime_builder" in build_section
assert "runtime-images-${GITHUB_REF_NAME}.tar" in build_section
assert "needs: build-production-runtime-images" in production_section
@@ -183,6 +186,7 @@ def test_runtime_builder_runner_runbook_matches_workflow():
assert "PRODUCTION_SSH_HOST" in runbook
assert "PRODUCTION_SSH_USER" in runbook
assert "PRODUCTION_SSH_KEY" in runbook
assert "/root/.ssh/xiaoxia_runtime_builder" in runbook
assert "Do not install this runner on the current production host" in runbook
assert "production deploy waits for the image job" in runbook