]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
containers/teuthology-dev/Dockerfile: fix running bootstrap 2067/head
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Wed, 23 Jul 2025 14:03:35 +0000 (16:03 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Wed, 23 Jul 2025 15:29:12 +0000 (17:29 +0200)
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 <kyrylo.shatskyy@clyso.com>
containers/teuthology-dev/Dockerfile

index 9ae40929837ced64bd41075e29dd60173a195cdf..074ec3482325fa05b5b1b025e05f3eb47e9e66b2 100644 (file)
@@ -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