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>
FROM ubuntu:noble
ENV DEBIAN_FRONTEND=noninteractive
+ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TEUTHOLOGY=0.0.0
ENV LANG=C.UTF-8
RUN apt-get update && \
apt-get install -y \
FROM ubuntu:24.04
ARG SSH_PRIVKEY_FILE=id_ed25519
ENV DEBIAN_FRONTEND=noninteractive
+ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TEUTHOLOGY=0.0.0
ENV LANG=C.UTF-8
RUN apt-get update && \
apt-get install -y \