diff --git a/utils/upload_flakiness_dashboard.sh b/utils/upload_flakiness_dashboard.sh index 93059002cf..caf6d6fee7 100755 --- a/utils/upload_flakiness_dashboard.sh +++ b/utils/upload_flakiness_dashboard.sh @@ -50,6 +50,13 @@ if [[ $# == 0 ]]; then exit 1 fi +export BUILD_URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" +export COMMIT_SHA=$(git rev-parse HEAD) +export COMMIT_TITLE=$(git show -s --format=%s HEAD) +export COMMIT_AUTHOR_NAME=$(git show -s --format=%an HEAD) +export COMMIT_AUTHOR_EMAIL=$(git show -s --format=%ae HEAD) +export COMMIT_TIMESTAMP=$(git show -s --format=%ct HEAD) + export HOST_OS_NAME="$(uname)" export HOST_ARCH="$(uname -m)" export HOST_OS_VERSION="" @@ -60,12 +67,19 @@ elif [[ "$HOST_OS_NAME" == "Linux" ]]; then HOST_OS_VERSION="$(bash -c 'source /etc/os-release && echo $VERSION_ID')" fi + EMBED_METADATA_SCRIPT=$(cat <