Skip to content

Instantly share code, notes, and snippets.

@makslevental
Created November 11, 2025 18:11
Show Gist options
  • Select an option

  • Save makslevental/a2f9f169a71aa3e835a30bf28db87138 to your computer and use it in GitHub Desktop.

Select an option

Save makslevental/a2f9f169a71aa3e835a30bf28db87138 to your computer and use it in GitHub Desktop.
for i in {1..222} ; do
curl 'https://lab.llvm.org/buildbot/api/v2/forceschedulers/force-build-scheduler' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: en-US,en;q=0.9' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-b 'TWISTED_SESSION=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2luZm8iOnsiZnVsbF9uYW1lIjoiTWFrc2ltIExldmVudGFsIiwiZW1haWwiOiJtYWtzaW0ubGV2ZW50YWxAZ21haWwuY29tIiwidXNlcm5hbWUiOiJtYWtzbGV2ZW50YWwiLCJncm91cHMiOlsibGx2bSIsImxsdm0vTExWTSBDb21taXR0ZXJzIiwibGx2bS9ldWRzbCBBZG1pbnMiLCJsbHZtL2V1ZHNsIGNvbW1pdHRlcnMiLCJsbHZtL2V1ZHNsLWFkbWlucyIsImxsdm0vZXVkc2wtY29tbWl0dGVycyIsImxsdm0vaXNzdWUtc3Vic2NyaWJlcnMtbWxpci1weXRob24iLCJsbHZtL2lzc3VlLXN1YnNjcmliZXJzLW1saXI6cHl0aG9uIiwibGx2bS9saWdodGhvdXNlIGNvbW1pdHRlcnMiLCJsbHZtL2xpZ2h0aG91c2UtY29tbWl0dGVycyIsImxsdm0vbGx2bS1jb21taXR0ZXJzIl19LCJleHAiOjE3NjExMTA0MjN9.9kzWVd8PEVKx4lrKYmd4td4UDCenJzNV9wRFfvhj9gM; _ga=GA1.1.1617727655.1755182138; _ga_SBS5VNKHC1=GS2.1.s1755182138$o1$g1$t1755182143$j55$l0$h0' \
-H 'Origin: https://lab.llvm.org' \
-H 'Referer: https://lab.llvm.org/buildbot/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36' \
-H 'sec-ch-ua: "Google Chrome";v="141", "Not?A_Brand";v="8", "Chromium";v="141"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw "{\"id\":1,\"jsonrpc\":\"2.0\",\"method\":\"force\",\"params\":{\"builderid\":\"$i\",\"username\":\"\",\"reason\":\"Build a particular revision\",\"priority\":0,\"branch\":\"users/makslevental/bump-python-3.10\",\"project\":\"llvm\",\"repository\":\"https://github.com/llvm/llvm-project\",\"revision\":\"9b4faa7bd89a223c2e30f930b6d7519c08f5d314\",\"clean\":false,\"clean_obj\":false}}"
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment