From: Kyr Shatskyy Date: Wed, 23 Jul 2025 14:03:35 +0000 (+0200) Subject: containers/teuthology-dev/Dockerfile: fix running bootstrap X-Git-Tag: 1.2.2~11^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=00ab01d2b03684030a87e59d1bb8441bad8c7cbd;p=teuthology.git containers/teuthology-dev/Dockerfile: fix running bootstrap The `git config --unset` returns 5 if there is missing variable supposed to be unset. Just always return true for this command so the bootstrap can proceed. Fixes: 7cc6ba4838150acd17649381313093185075ecb0 Signed-off-by: Kyr Shatskyy --- diff --git a/containers/teuthology-dev/Dockerfile b/containers/teuthology-dev/Dockerfile index 9ae409298..074ec3482 100644 --- a/containers/teuthology-dev/Dockerfile +++ b/containers/teuthology-dev/Dockerfile @@ -31,7 +31,7 @@ RUN \ PIP_INSTALL_FLAGS="-r requirements.txt" ./bootstrap COPY . /teuthology RUN \ - git config -f ./.git/config --unset 'http.https://github.com/.extraheader' && \ + (git config -f ./.git/config --unset 'http.https://github.com/.extraheader' || true ) && \ ./bootstrap COPY containers/teuthology-dev/containerized_node.yaml /teuthology COPY containers/teuthology-dev/.teuthology.yaml /root