]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/Dockerfile: add env setuptools-scm version
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Wed, 28 May 2025 19:37:05 +0000 (21:37 +0200)
committerZack Cerza <zack@cerza.org>
Fri, 7 Nov 2025 20:02:44 +0000 (13:02 -0700)
commit6bb869f63679a2e4485ee1771a5f024860a82100
treeeaf6e2fe245ef53902af6abcf6cf8bb840557f6d
parentc9c71adf72ea0381245e262c69e350e7b8e6fa01
teuthology/Dockerfile: add env setuptools-scm version

Because the teuthology code is building in container after
copying source code from local directory, but no corresponding
git repo copied, the setuptools-scm cannot determine teuthology
version. So in order to produce the package we just provide dummy
version 0.0.0 using environment variable:

  SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TEUTHOLOGY

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
containers/teuthology-dev/Dockerfile
docs/docker-compose/teuthology/Dockerfile