mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Improve CI benchmark script's error handling/messaging
This commit is contained in:
parent
5ab20dfcb9
commit
73d372f151
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@ if [ "${CIRRUS_USER_PERMISSION}" != "admin" -a "${CIRRUS_USER_PERMISSION}" != "w
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${CIRRUS_REPO_FULL_NAME}" != "zeek/zeek" ]; then
|
||||||
|
echo "Benchmarks skipped for non-zeek repo"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
BUILD_URL="https://api.cirrus-ci.com/v1/artifact/build/${CIRRUS_BUILD_ID}/${CIRRUS_TASK_NAME}/upload_binary/build.tgz"
|
BUILD_URL="https://api.cirrus-ci.com/v1/artifact/build/${CIRRUS_BUILD_ID}/${CIRRUS_TASK_NAME}/upload_binary/build.tgz"
|
||||||
|
|
||||||
# Generate an md5 hash of the build file. We can do this here because the path to the
|
# Generate an md5 hash of the build file. We can do this here because the path to the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue