forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve getting user name for Yugabyte DB builds
Summary: Added logic to get user name from whoami if there is no USER environment (try for docker). Same was made for get_version_info.py by copy-pasting get_username from run_tests_on_spark.py as there is no simple way to re-use. Test Plan: - unset USER - build Yugabyte locally with yb_build.sh - it passes with this patch and fails without it Reviewers: mikhail, bogdan, jharveysmith, steve.varnau Reviewed By: steve.varnau Subscribers: jharveysmith, steve.varnau, #devops Differential Revision: https://phabricator.dev.yugabyte.com/D9788
- Loading branch information
1 parent
3b23991
commit c1174bb
Showing
3 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters