]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
teuthology: don't use git to define version for released teuthology 1532/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Tue, 7 Jul 2020 16:45:11 +0000 (18:45 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Tue, 7 Jul 2020 16:45:11 +0000 (18:45 +0200)
commit8abe48b7d45d9cfe258887099d9dc06ecb107bcf
tree0d174a6c9789d9f80fa6d83555cc59b15f117b23
parent82c08ed796d426b72a5244f59f7aebee7e6a048a
teuthology: don't use git to define version for released teuthology

After installing teuthology using pip there can be found error messages
in the log when running any command, for example 'teuthology --version':

  fatal: not a git repository (or any parent up to mount point /)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  Can't get version from git rev-parse Command '['git', 'rev-parse', '--short', 'HEAD']' returned non-zero exit status 128.
  1.0.0

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/__init__.py