mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
ci/benchmark: Send more Cirrus, GitHub and Zeek version information
I wonder if we hit a query string limitation and should instead switch
to post body here. It's the `curl -G -X POST` part making this a POST
with a long query string.
(cherry picked from commit 7b28152a92
)
This commit is contained in:
parent
1c84aa0d53
commit
876d16b4be
1 changed files with 12 additions and 4 deletions
|
@ -39,10 +39,18 @@ curl -sS -G --stderr - --fail --insecure -X POST \
|
||||||
-o "/zeek/benchmark-${TIMESTAMP}.log" \
|
-o "/zeek/benchmark-${TIMESTAMP}.log" \
|
||||||
-H "Zeek-HMAC: ${HMAC_DIGEST}" \
|
-H "Zeek-HMAC: ${HMAC_DIGEST}" \
|
||||||
-H "Zeek-HMAC-Timestamp: ${TIMESTAMP}" \
|
-H "Zeek-HMAC-Timestamp: ${TIMESTAMP}" \
|
||||||
--data-urlencode branch=${CIRRUS_BRANCH} \
|
--data-urlencode "branch=${CIRRUS_BRANCH}" \
|
||||||
--data-urlencode build=${BUILD_URL} \
|
--data-urlencode "build=${BUILD_URL}" \
|
||||||
--data-urlencode build_hash=${BUILD_HASH} \
|
--data-urlencode "build_hash=${BUILD_HASH}" \
|
||||||
--data-urlencode commit=${CIRRUS_CHANGE_IN_REPO} \
|
--data-urlencode "commit=${CIRRUS_CHANGE_IN_REPO}" \
|
||||||
|
--data-urlencode "cirrus_repo_owner=${CIRRUS_REPO_OWNER}" \
|
||||||
|
--data-urlencode "cirrus_repo_name=${CIRRUS_REPO_NAME}" \
|
||||||
|
--data-urlencode "cirrus_task_id=${CIRRUS_TASK_ID}" \
|
||||||
|
--data-urlencode "cirrus_build_id=${CIRRUS_BUILD_ID}" \
|
||||||
|
--data-urlencode "cirrus_pr=${CIRRUS_PR}" \
|
||||||
|
--data-urlencode "cirrus_pr_labels=${CIRRUS_PR_LABELS}" \
|
||||||
|
--data-urlencode "github_check_suite_id=${GITHUB_CHECK_SUITE_ID}" \
|
||||||
|
--data-urlencode "repo_version=$(cat ./VERSION)" \
|
||||||
"${TARGET}"
|
"${TARGET}"
|
||||||
|
|
||||||
STATUS=$?
|
STATUS=$?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue