Publish curated ITWorx_MCP_Hub source from b5607d7532f496660c4a3cbe8db3bc3414a7b36b

This commit is contained in:
Public Source Publisher committed 2026-10-14 14:36:26 +00:00
1 parent fdc6d4a0a5
commit f1166459aa
7 files changed
+101 -28

No files matched your search

+5 -7
View File
@@ -60,12 +60,10 @@ def test_release_credentials_only_reach_the_bounded_producer() -> None:
command = steps[1]["run"]
assert "set -euo pipefail" in command
assert "set -x" not in command and "docker login" not in command
assert (
"python3 scripts/build_mcp_hub_release_images.py --prepare-security-bases "
'--revision "$GITHUB_SHA"' in command
)
assert 'python3 scripts/build_mcp_hub_release_images.py --revision "$GITHUB_SHA"' in command
assert "--prepare-security-bases" not in command
assert '--run-id "$GITHUB_RUN_ID"' in command
assert '--output "${RUNNER_TEMP}/hub-release-security-bases-${GITHUB_SHA}"' in command
assert '--output "${RUNNER_TEMP}/hub-release-candidate-${GITHUB_SHA}"' in command
def test_release_artifact_is_pinned_uncompressed_and_cannot_overwrite() -> None:
@@ -73,8 +71,8 @@ def test_release_artifact_is_pinned_uncompressed_and_cannot_overwrite() -> None:
assert upload["uses"] == UPLOAD
assert "if" not in upload
assert upload["with"] == {
"name": "hub-release-security-bases-${{ github.sha }}",
"path": "${{ runner.temp }}/hub-release-security-bases-${{ github.sha }}/*",
"name": "hub-release-candidate-${{ github.sha }}",
"path": "${{ runner.temp }}/hub-release-candidate-${{ github.sha }}/*",
"if-no-files-found": "error",
"retention-days": 90,
"compression-level": 0,