Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/commons-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
curl --fail --silent --show-error --proto '=https' --tlsv1.2 \
--connect-timeout 10 --max-time 30 --max-filesize 1048576 \
--header "Authorization: Bearer ${CLOUDFLARE_API_TOKEN}" \
"https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/pages/projects/marginal-commons/deployments?env=production&per_page=100&page=${deployment_page}" \
"https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/pages/projects/marginal-commons/deployments?env=production&per_page=25&page=${deployment_page}" \
--output current/deployments.json
total_pages="$(DEPLOYMENT_PAGE="${deployment_page}" python - <<'PY'
import json
Expand Down
2 changes: 2 additions & 0 deletions tests/commons/test_release_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,7 @@ def test_unsigned_bootstrap_checks_all_production_deployment_pages() -> None:
)
command = compare["run"]
assert "page=${deployment_page}" in command
assert "per_page=25" in command
assert "per_page=100" not in command
assert "total_pages" in command
assert "deployment_page=$((deployment_page + 1))" in command
Loading