Skip to content

Commit 1f5a2fb

Browse files
chore: fix environment tests by changing uuid generation (#668)
1 parent 77e621c commit 1f5a2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.kokoro/environment_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if [[ "${ENVIRONMENT}" == "kubernetes" ]]; then
6565
fi
6666

6767
# create a unique id for this run
68-
UUID=$(python -c 'import uuid; print(uuid.uuid1())' | head -c 7)
68+
UUID=$(python -c 'import uuid; print(str(uuid.uuid1())[:7])')
6969
export ENVCTL_ID=ci-$UUID
7070
echo $ENVCTL_ID
7171

0 commit comments

Comments
 (0)