Skip to content

Commit

Permalink
devops: upload host arch as part of test report (#5167)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Jan 27, 2021
1 parent 9de0a5a commit a4f59dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/upload_flakiness_dashboard.sh
Expand Up @@ -48,6 +48,7 @@ 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=""
if [[ "$HOST_OS_NAME" == "Darwin" ]]; then
HOST_OS_VERSION=$(sw_vers -productVersion | grep -o '^\d\+.\d\+')
Expand All @@ -62,6 +63,7 @@ EMBED_METADATA_SCRIPT=$(cat <<EOF
json.metadata = {
runURL: process.env.BUILD_URL,
osName: process.env.HOST_OS_NAME,
arch: prcoess.env.HOST_ARCH,
osVersion: process.env.HOST_OS_VERSION,
commitSHA: process.env.COMMIT_SHA,
commitTimestamp: process.env.COMMIT_TIMESTAMP,
Expand Down

0 comments on commit a4f59dd

Please sign in to comment.